A simple, open-source code sharing web application made as a more complex alternative to Pastebin and Hastebin.
- Syntax highlighting
- Upload API
- Compatible with Hastebin API
- Themes
- Customizable
- Language indicators
Note:
- The
main
branch is the latest stable release. - The
dev
branch is the latest development version. - You need Node.js 12 or higher to run Deftbin.
- Clone the repository
- Install the dependencies in both the
backend
andfrontend
directories usingnpm install
. - Run the backend using
npm start
in thebackend
directory. (this can be done using your preferred process manager) - Build the frontend using
npm run build
in thefrontend
directory. - Run the frontend using
node build/index.js
in thefrontend
directory. (this can be done using your preferred process manager) - You're done!
- Clone the repository
- Adapt the example
docker-compose.yml
file to your needs. - Run
docker-compose up -d
to start the containers. - You're done!
Deftbin is licensed under the LGPL 3.0 license.