As part of the Horizon 2020, the work package WP13 (NA4) of OPTICON aims to develop and provide a suite of publicly available long-slit spectral data reduction software to facilitate rapid scientific outcomes from time-domain observations. It is designed for common use on different instruments on a range of telescopes. It can offer a near real-time data reduction to facilitate automated or interactive decision making to modify observing strategies, or to speed up the commissioning of new instruments by providing an independent comparison solution. The project consists of two parts: the backend for data processing (ASPIRED) and the graphical user interface (g-ASPIRED). The ASPIRED is written in Python 3, intentionally developed as a self-consistent reduction pipeline with its own diagnostics and error handlings, delivering a set of functions that can be easily configured by users to build their own pipeline by applying minimal changes that may be necessary for specific instrument and telescope. The pipeline would be able to reduce 2D spectral data from raw image to wavelength and flux calibrated 1D spectrum automatically without any user input, provided that the FITS header conforms with IVOA standard. The g-ASPIRED is a cross-platform software, developed on a single code base. It brings interactivity to the software with a well-maintained and user-friendly environment. With the web-like development, a large part of the codes can be reused for web-based deployment. The test data are those from the SPRAT (Liverpool Telescope), SPRAT2 (SAAO Lesedi Telescope) and the low-resolution ISIS data (William Herschel Telescope).