Skip to content
/ Curator Public

Curator is a lightweight and fast pastebin application written in Go and deployed on Fly.io, utilizing LiteFS as its database. Quickly share and store text snippets with syntax highlighting and customizable expiration times.

License

Notifications You must be signed in to change notification settings

112RG/Curator

Repository files navigation

Curator

license GitHub repo size Lines of Code

Curator - FlyPastebin

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.

Features

  • 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.

Getting Started

Prerequisites

  1. Fly.io Account - Sign up for a Fly.io account if you don't have one.
  2. Flyctl CLI - Install the Flyctl command-line tool.
  3. Go - Install Go to build and run the Go application.

Deployment

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

Development

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

Database (Sqlite)(LiteFS)

Curator uses Sqlite using LiteFS as its database.

Contributing

Feel free to contribute to the project by opening issues or submitting pull requests. We welcome any improvements, bug fixes, or new features!

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Inspired by the simplicity of pastebin services.
  • Built with Go, LiteFS, and Fly.io.

Happy pasting with Curator! 🚀

About

Curator is a lightweight and fast pastebin application written in Go and deployed on Fly.io, utilizing LiteFS as its database. Quickly share and store text snippets with syntax highlighting and customizable expiration times.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published