Coder Social home page Coder Social logo

deftu / deftbin Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 1.0 155 KB

A simple, open-source code sharing web application made as a more complex alternative to Pastebin and Hastebin.

License: GNU Lesser General Public License v3.0

Dockerfile 0.49% TypeScript 29.74% CSS 17.39% HTML 0.40% Svelte 50.38% JavaScript 1.61%

deftbin's Introduction

Deftbin

A simple, open-source code sharing web application made as a more complex alternative to Pastebin and Hastebin.

IT IS NOT RECOMMENDED TO HOST YOUR OWN INSTANCE JUST YET! DEFTBIN IS STILL IN AN INCOMPLETE STAGE.

Table of Contents

Features

  • Syntax highlighting
  • Upload API
  • Compatible with Hastebin API
  • Themes

Installation

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.

Basic

  1. Clone the repository
  2. Install the dependencies in both the backend and frontend directories using npm install.
  3. Run the backend using npm start in the backend directory. (this can be done using your preferred process manager)
  4. Build the frontend using npm run build in the frontend directory.
  5. Run the frontend using node build/index.js in the frontend directory. (this can be done using your preferred process manager)
  6. You're done!

Docker

  1. Clone the repository
  2. Adapt the example docker-compose.yml file to your needs.
  3. Run docker-compose up -d to start the containers.
  4. You're done!

License

Deftbin is licensed under the LGPL-3.0-or-later license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.