Build your Pastebin with AI in under 5 minutes

Build a code-snippet sharing site with optional auto-expire, public-or-unlisted visibility, a raw-text endpoint for curl, and owner-token delete — generated from a single prompt.

Como funciona

Passo 1

Descreva a sua ideia

Escreva um prompt em texto simples descrevendo o que pretende.

Passo 2

A IA cria

O FloopFloop gera código pronto para produção instantaneamente.

Passo 3

Implementar e lançar

O seu projeto é alojado no seu próprio subdomínio em minutos.

Por que criar com IA em vez de contratar um programador?

FloopFloopProgramador tradicional
Tempo até ao lançamentoMenos de 5 minutos2 a 8 semanas
CustoA partir de 0 $5.000 $ - 50.000 $+
ManutençãoIncluídaRetainer contínuo

What is a pastebin?

A pastebin is the simplest possible content-sharing primitive: paste text, get a URL, share it. Developers use them constantly — sharing logs in a Slack thread, sending an error trace to a colleague, pasting a config snippet into a forum reply. Pastebin.com and GitHub Gist dominate the category, but both impose either ads, account requirements, or arbitrary privacy semantics. A self-hosted pastebin solves none of those for free, but it solves something else: control. Your own pastebin can enforce auto-expire by default so stale secrets don't linger; it can refuse to host content over a size threshold so it doesn't become a CDN for malware; it can live on your company's domain so a paste in a Slack thread doesn't redirect to an ad-supported page that someone's IT team will block.

Common features

  • Paste form — title, content, language, expiry
  • Syntax highlighting based on detected or selected language
  • Public / unlisted / private visibility
  • Auto-expire on configurable timeline (1h / 24h / 7d / never)
  • Raw text endpoint for curl / wget consumption
  • Owner token returned at create-time for later edit/delete
  • Line numbers and line-level deep-linking
  • Optional password protection per paste
  • Size cap to prevent abuse
  • Search and tag system for non-anonymous use

Real-world examples

Team-internal pastebin

Behind company SSO. Logs, configs, error traces shared via short URLs that auto-expire in 7 days. Solves the 'pasting a 50-line trace into Slack' problem.

Public pastebin

Open paste-and-share with syntax highlighting and curl-friendly raw endpoint. Auto-expire defaults to 24h to keep the database from growing forever.

Tutorial code companion

Pastebin powered by your blog — when you publish a tutorial, the code samples are deep-linkable pastes hosted on your domain.

Why FloopFloop fits pastebin projects

Pastebins are simple to describe and full of small editorial decisions: what's the default expiry, what's the size cap, do you allow anonymous, what's the abuse policy? Building your own takes those decisions away from a third party. FloopFloop ships a pastebin that respects your team's policy — log-friendly defaults, internal-only visibility, expiry tuned to compliance needs. The infrastructure cost is essentially zero. The trust cost — knowing that a paste shared from your team's pastebin won't end up as a CDN bandwidth bill or an ad-injected page — is high.

Experimente estes prompts

Copie qualquer prompt abaixo e cole-o no FloopFloop para começar.

Create a pastebin where anyone can drop a snippet, pick a language, choose an expiry window (10m / 1h / 1d / 1w / never), and get a shareable URL. Show line-numbered code on the paste page with a one-click copy button. Public pastes appear on the home feed; unlisted pastes stay link-only.

Build a code-review-friendly paste site. Show a side-by-side diff view for two pastes, support inline comments on specific line numbers, add a 'share for review' flow that emails the author when a reviewer comments, and a raw endpoint at /raw/<id> so reviewers can grep the content locally.

Design a developer-only paste site gated by signup. Show the user's paste history on a /me page, support private-by-default with a 'share via signed link' flow, expire pastes 90 days after the last view, and a one-click delete with confirmation.

Create a hastebin-style anonymous text sharer with no signup, 1 MB cap per paste, 24-hour expiry by default, an /api/paste/<id> JSON endpoint for programmatic readers, and a robots.txt that excludes /p/* so unlisted pastes don't surface in search results.

Perguntas frequentes

Can I share a paste via the command line?
Yes. /raw/<id> returns the paste body as text/plain with the right Content-Type — pipe it through curl: `curl https://your-paste.example.com/raw/abc123 | jq` works directly. Cached 60 seconds at the CDN so repeated polls don't hammer the origin.
Do pastes really delete themselves on expiry?
The paste page filters out expired rows at read time, so an expired paste is functionally gone immediately. A daily sweep cron can run separately to delete the rows from disk — until then the row stays but is invisible everywhere on the site.
Can I delete a paste I created?
The paste creator gets a one-time owner token in the redirect URL after creating the paste. Bookmarking that URL is the only way to delete the paste later — we store sha256(token) so a leaked DB dump can't be used to delete other people's pastes.
Is the difference between 'public' and 'unlisted' enforced?
Yes. Public pastes appear on the home page recent-list; unlisted pastes are reachable only by direct URL. Both live in the same table; the visibility flag is checked at every public-list query.
Can I add syntax highlighting?
The template ships with line numbers in a monospace pre block, no highlighter bundled (keeps the artifact small). Add Prism or Shiki in a refinement turn — the language field is already stored on every paste row.
How big can a paste be?
The default cap is 1 MB per paste body, enforced by a CHECK constraint on the column. Adjust the constraint in init-db.ts if you need more — the cap is there to protect the DB from a single 100 MB paste.

Construtores relacionados

Explorar mais categorias

Pronto para criar?

Comece a criar o seu projeto agora — sem necessidade de programação.

Gerar isto para mim