An open API service indexing awesome lists of open source software.

https://github.com/myferr/anonbin

An anonymous pastebin :3
https://github.com/myferr/anonbin

pastebin pastebin-service

Last synced: 12 months ago
JSON representation

An anonymous pastebin :3

Awesome Lists containing this project

README

          

anonbin

A simple, anonymous pastebin with no accounts, no guarantees.


Deployed on Vercel
License
GitHub Stars

---

## 📋 What is this?

**anonbin** is a no-signup, minimal pastebin. Paste your text, get a link. That's it.

- ✅ No login required
- 🌐 Public or unlisted pastes
- ⚡️ Fast and anonymous
- 🚫 No database

## 🧰 Stack

- **Frontend**: Next.js 15 , Tailwind CSS, `shadcn/ui`, TypeScript
- **Backend**: Lua with LuaSocket (no framework, no DB)
- **Infra**: Cloudflare Tunnel + Vercel

## 🔧 Running Locally

### Lua API

```bash
lua api.lua
```

* Serves on `localhost:1141`
* Stores pastes as flat files in `data/content/`
* Routes:

* `GET /public`
* `POST /submit`
* `GET /view/:id`

### Tunnel (Cloudflare)

```bash
cloudflared tunnel --url http://localhost:1141
```

Then in your `.env` file:

```env
CF_TUNNEL_URL=https://your-tunnel.trycloudflare.com
```

---

## 💻 Frontend Dev

```bash
cd frontend
npm install
npm dev
```

* Proxies backend via `/api/*`
* All requests go through your Cloudflare tunnel (`CF_TUNNEL_URL` value in .env)


Just a pastebin. Nothing more.