No description https://bin.tablaster.dev
Find a file
2024-02-21 23:55:10 +05:30
client chore: added readme 2024-02-21 23:55:10 +05:30
server refactor: Rewrite server in go 2024-02-21 23:52:45 +05:30
LICENSE
README.md chore: added readme 2024-02-21 23:55:10 +05:30

Minibin

This is a simple code sharing service and a URL shortener inspired by katbin.

Features

  • Simplified Sharing: Enable users to easily share code snippets by pasting them into a text box, generating a shortened URL, and sharing it with others.
  • URL Shortening: Implement a URL shortening feature to condense lengthy URLs generated for shared code snippets, making them more manageable and easier to share across various platforms.
  • Syntax Highlighting: Enhance code readability by incorporating syntax highlighting for different programming languages, ensuring that shared code snippets are presented clearly and accurately to viewers.

Tech Stack

Setup

Client

Install dependencies

bun install

Run a development server

bun dev

Server

Run a development server

go run .
Optional flags
  • --port - The port to run the server on. Default is 8080.
  • --db - The path to the database file. Default is ./minibin.db.

Run a production server

Build a binary.

go build

Run the server.

./minibin

License

This project is licensed under the GNU General Public License v3. See the LICENSE file for details.