Skip to content
프로젝트

소개

Find code snippets in seconds, across multiple languages.

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+1
in 7 days
+1
in 15 days
+2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

QuickSnip

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.

Watch on YouTube

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.txt and 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.

관련 프로젝트 살펴보기

불러오는 중…