quicksnip-dev/quicksnip
À propos
Find code snippets in seconds, across multiple languages.
IA et apprentissage automatiqueProgression mesurée des étoiles
- in 24h
- +1
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalQuickSnip
Verified code snippets for humans and AI. QuickSnip is an open-source, community-made collection of small, reusable utilities (slugify, debounce, retry, deepMerge…) in many languages. Copy them, install them with one command, or let your AI coding agent use them instead of writing code from scratch.
Why
AI can write a debounce in a second, but it writes a slightly different one every time, sometimes with an edge-case bug. QuickSnip gives you and your AI one trusted version:
- ✅ Verified: typed TypeScript with unit tests that run in CI
- 📦 One-command install through the shadcn registry: the code is copied into your project, no dependency added
- 🤖 AI-readable through
llms.txtand a static JSON API - 🌍 Many languages for the same snippet: TypeScript, Python, Java, C++, Rust, Ruby, CSS and more
Use it
# Install a snippet into your project's lib folder
npx shadcn@latest add https://www.quicksnip.app/r/debounce.json
import { debounce } from "@/lib/debounce";
Or browse and copy on quicksnip.app/snippets. For AI agents, see the For AI agents guide.
Repository layout
snippets/<category>/<name>/ one folder per snippet (meta.json + one file per language + tests)
scripts/build-snippets.ts validates snippets and builds the JSON API, shadcn registry and llms.txt
src/ the website (Next.js, Tailwind, Fumadocs)
content/docs/ the guide
npm install
npm run dev # build snippet data and start the site
npm test # run tests of verified snippets
npm run snippets:check # validate every snippet folder
Contributing
Verifying an existing snippet (adding TypeScript and tests) is the most valuable contribution right now and a great first PR. See CONTRIBUTING.md.
Third-party
Building something on QuickSnip? Please link back to this repository and tell us about it.
History
QuickSnip started in October 2024. After the first YouTube video the community grew it from 7 to over 350 snippets in 15 languages within weeks. In v3, every one of those snippets was carried over with its authors credited, and the most useful ones were rewritten as verified TypeScript. See VISION.md for where it's going.
License
MIT © 2024–present Technophile and QuickSnip contributors.
Explorer des projets similaires
Chargement…