Curator is a lightweight and fast pastebin application deployed on Fly.io. It allows users to quickly share and store text snippets with ease. This project is built on a simple and efficient stack, utilizing LiteFS as its database and written in Go.
- Fast and Lightweight: Built for speed and efficiency, ensuring a seamless experience for users.
- Easy Deployment: Deploy your own instance on Fly.io effortlessly.
- Syntax Highlighting: Supports syntax highlighting for various programming languages.
- Expiration: Set expiration time for pastes, keeping your pastebin clean and clutter-free.
- LiteFS Database: Utilizes Sqlite LiteFS for efficient and lightweight storage.
- Fly.io Account - Sign up for a Fly.io account if you don't have one.
- Flyctl CLI - Install the Flyctl command-line tool.
- Go - Install Go to build and run the Go application.
Clone this repository:
git clone https://github.com/112RG/Curator.git
cd Curator
Build and run Curator for fly.io:
Open a new terminal and navigate to the project directory. Initialize and deploy using Flyctl:
flyctl init
flyctl deploy
Follow the prompts to deploy your Curator instance on Fly.io. Once deployed, open the pastebin in your browser:
flyctl open
Clone this repository:
git clone https://github.com/112RG/Curator.git
cd Curator
Build and run Curator for development:
go run .\main.go -dsn curator.db --addr :8111
Curator uses Sqlite using LiteFS as its database.
Feel free to contribute to the project by opening issues or submitting pull requests. We welcome any improvements, bug fixes, or new features!
This project is licensed under the MIT License - see the LICENSE file for details.
Happy pasting with Curator! 🚀