sfss
sfss copied to clipboard
Frontend for the site
It would be nice to dedicate the current basic no-css frontend as just a lightweight option and also get rid of all JS on it. The frontend should already be really well decoupled from the main server.
To get started with a local development copy of the server
clone https://github.com/nyxiative/sfss and https://github.com/nyxiative/hljs-server, build the hljs-server Docker image with the name hljs-server
, and build the sfss Docker image with the name sfss
adjust parameters in Environment accordingly
as for the endpoints to use, /upload/api?json
gives back the response as json and /languages
gives back the supported highlighting languages in json
I will gladly take multiple submission and implement most as different options.
So please, keep your code selfcontained in a frontend/<yourname>/<identifier>/
directory
Code probably won't run on Windows, but should work fine under WSL. If you do want to work in a Windows environment, let me know and I'll make sure it runs.