{"repo":"watzon/0x45","free":true,"listed":false,"github":"https://github.com/watzon/0x45","clone":"git clone https://github.com/watzon/0x45.git","description":"🚀 Modern, high-performance file sharing and URL shortening service with S3 support, rate limiting, and API keys. Built with Go and inspired by 0x0.st 📤","language":"Go","stars":87,"topics":["0x0","file-sharing","file-upload","go","gofiber","golang","paste","pastebin","pastebin-service","s3-compatible"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Paste69 A modern, Go-based pastebin service inspired by 0x0.st. Features - File uploads and URL shortening - Multiple storage providers (local and S3) - Simple and clean API - Docker support - Configurable through environment variables - Rate limiting - Analytics - OG image support for text pastes Installation Prerequisites - Go 1.21+ - The desire to live dangerously Local Setup Alternatively for speedier local development, you can install the air package and run: Docker Build and run locally: Or use the pre-built image: Configuration Configuration is done through the config.yaml file. See the example config for more information on the available options. When running in a docker container it might be more convenient to set the environment variables instead, here is a list of available options: Debugging Set the 0X LOG LEVEL environment variable to debug to get more verbose logging. Environment Variable Description Default -------------------- ----------- ------- 0X LOG LEVEL Log level info Database Configuration Controls the database connection settings. Environment Variable Description Default -------------------- ---------------------------------------- ---------- 0X DATABASE DRIVER Database driver to use (sqlite/postgres) sqlite 0X DATABASE HOST Database host localhost 0X DATABASE PORT Database port 5432 0X DATABASE USER Database username \"\" 0X DATABASE PASSWORD Database password \"\" 0X DATABASE NAME Database name paste69.db 0X DATABASE SSLMODE SSL mode for postgres disable","default_branch":null,"files":null,"tree":[],"storefront":"/r/watzon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/watzon/0x45/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}