This content originally appeared on DEV Community and was authored by Jiordi Viera
Introducing Codepit: A Minimal Platform to Share Code Snippets
Every developer has a collection of small code snippets saved somewhere — in notes, gists, or random files.
But when it comes to organizing, reusing, and sharing them, things can quickly get messy.
Codepit is a minimal and fast platform to create, share, and organize code snippets in a structured way.
You can try it here: https://codepit.jiordiviera.me
Features
- Create and edit snippets with language selection and syntax highlighting
- Organize snippets into collections (public or private)
- Explore and discover snippets by tags, language, or author
- Comments, likes, and view counts
- OAuth authentication (guests can browse, sign-in required for interactions)
Tech Stack
- Next.js (App Router) + React + TypeScript
- TailwindCSS v4 with design tokens
- Prisma + PostgreSQL
- Monaco Editor for editing, Shiki/Prism for highlighting
- Better Auth for authentication
- Bun as runtime
Screenshots
Roadmap
Planned improvements include:
- Public collections gallery with filters
- Rich open graph images per snippet
- Like support for comments
- Rate-limiting for comment and view tracking
Feedback
Codepit is focused on staying minimal and practical.
I’d love to hear your thoughts:
- Which features matter most to you when managing snippets?
- Would you use it for public sharing or private storage?
Comments and suggestions are very welcome.
This content originally appeared on DEV Community and was authored by Jiordi Viera
Jiordi Viera | Sciencx (2025-09-05T15:09:13+00:00) Introducing Codepit: A Minimal Platform to Share Code Snippets. Retrieved from https://www.scien.cx/2025/09/05/introducing-codepit-a-minimal-platform-to-share-code-snippets/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.

