{"repo":"beleon/buckets","free":true,"listed":false,"github":"https://github.com/beleon/buckets","clone":"git clone https://github.com/beleon/buckets.git","description":"A tiny and fast in-memory pastebin with curl support","language":"Go","stars":21,"topics":["pastebin","go","curl","cli","in-memory","selfhosted"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"🪣 Buckets v2 A tiny in-memory pastebin with curl support, and a from-scratch rewrite of the v1 line (preserved in this repository at the v1-final tag). One Go file, stdlib only, one embedded HTML page, zero configuration. Hosted on both github.com/beleon/buckets and codefloe.com/beleon/buckets. Share text or files from any machine: Or use the web UI: API Action Request Notes ---------- ---------------------------------------- ---------------------------------------------- Upload POST / with body Returns the bucket URL ( / / ) Download GET / / Correct Content-Type , ranges, HEAD Replace POST / / with body Full path must match exactly; resets the TTL Delete DELETE / / GET / redirects to the bucket's full path. GET / serves the web UI. Filenames must be POSIX portable: 1–255 chars of A-Z a-z 0-9 . - , not . or .. , no leading - . Opinions (all hardcoded) - Port 8080 , plain HTTP. Put a reverse proxy in front for TLS. - 24h TTL. Replacing a bucket resets its clock. - 500 MB max upload , rejected while streaming with 413. - 500 MB total storage. When full, the oldest buckets are evicted. - Rate limits: 6 POSTs/min, 60 requests/min for everything else (global, returns 429). - Slugs: 48 bits from crypto/rand , 8 base64url chars. Guessing a bucket needs its filename too, and at the maximum rate the rate limit allows, the chance of hitting one bucket within its lifetime is about 1 in 1.5 billion. - All in memory. No disk, no database, nothing survives a restart. - Zero config. URLs a","default_branch":null,"files":null,"tree":[],"storefront":"/r/beleon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/beleon/buckets/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."}