Topics / #snippets
Snippets projects on GitHub
Collections of short reusable code snippets and recipes
As of , the most-starred Snippets projects on GitHub are 30-seconds-of-code (129.6K stars), java-design-patterns (94.9K stars) and claude-cookbooks (54.9K stars). GitHub.Locker tracks 15 Snippets repositories with 550K stars combined. The fastest-growing on November 30 was magicui, with +53 stars in a day.
Hot right now
Most stars gained in a day · Nov 30
+53magicui
magicuidesign/magicui · ★ 23.4KMagic UI is a free, open-source UI library for design engineers: animated components and effects you copy and paste straight into your apps.
tinycast
abue-ammar/tinycast · ★ 9.5KTinycast is a tiny, fully native macOS launcher: one global hotkey summons a palette for launching apps, clipboard history, snippets, window tiling and more — all under 100 MB of RAM.
+48claude-cookbooks
anthropics/claude-cookbooks · ★ 54.9KAnthropic's collection of notebooks and recipes showing fun and effective ways of using Claude, with copy-able code snippets you can drop straight into your own projects.
+730-seconds-of-code
Chalarangelo/30-seconds-of-code · ★ 129.6K30 seconds of code is a collection of short coding articles, each with code snippets, an explanation and examples, published on the project's own website.
The all-time top
15 projects · by stars
- 129.6K
#1 · Chalarangelo/30-seconds-of-code30-seconds-of-code
30 seconds of code is a collection of short coding articles, each with code snippets, an explanation and examples, published on the project's own website.
- 94.9K
#2 · iluwatar/java-design-patterns
java-design-patterns
A collection of Java implementations for classic software design patterns (Creational, Structural, Behavioral and more), each shown as a well-commented, runnable code example.
- 54.9K
#3 · anthropics/claude-cookbooksclaude-cookbooks
Anthropic's collection of notebooks and recipes showing fun and effective ways of using Claude, with copy-able code snippets you can drop straight into your own projects.
- 4

react
47.1Ktypescript-cheatsheets/react · TypeScriptA maintained cheatsheet for experienced React developers adopting TypeScript, packed with opinionated best practices and copy-pastable examples you can drop straight into your code.
- 5
wtfpython
37.2Ksatwikkansal/wtfpython · PythonA free, hugely popular collection of surprising, counter-intuitive Python snippets, each with its real output and an explanation of what happens under the hood.
- 6
carbon
36.2Kcarbon-app/carbon · JavaScriptCarbon is a web app for turning your source code into a beautiful, shareable image — great for posting code snippets on Twitter, Slack, or a blog.
- 7

awesome-vscode
29.3Kviatsko/awesome-vscode · JavaScriptA curated list of delightful VS Code packages and resources — hand-picked extensions, themes and learning material for Visual Studio Code, organized by category.
- 8

magicui
23.4Kmagicuidesign/magicui · MDXMagic UI is a free, open-source UI library for design engineers: animated components and effects you copy and paste straight into your apps.
- 9

CodeEdit
23.1KCodeEditApp/CodeEdit · SwiftCodeEdit is a free, open-source code editor for macOS, built by the community and written natively in Swift for the Mac.
- 10

navi
17.9Kdenisidoro/navi · Rustnavi is an interactive cheatsheet tool for the command-line: you browse cheatsheets — written by you or downloaded from maintainers — and execute commands straight from them.
- 11

htaccess
13.2Kphanan/htaccessA curated collection of useful .htaccess snippets for Apache, covering rewrites/redirects, security, performance, and miscellaneous tricks.
- 12

LaTeX-Workshop
12.4KJames-Yu/LaTeX-Workshop · TypeScriptLaTeX Workshop is a Visual Studio Code extension that provides core LaTeX typesetting features: build-on-save, PDF preview, SyncTeX navigation, autocomplete, linting, and snippets.
- 13

reference
11KFechin/reference · EJSReference is a collection of quick-reference cheat sheets for developers, covering programming languages, Linux commands, databases, and keyboard shortcuts, all laid out in one clean, scannable site.
- 14

Lepton
10.3Khackjutsu/Lepton · JavaScriptLepton is a free, lean code snippet manager built on GitHub Gist — it manages your code snippets across macOS, Windows and Linux, syncing everything through your GitHub account.
- 15

tinycast
9.5Kabue-ammar/tinycast · SwiftTinycast is a tiny, fully native macOS launcher: one global hotkey summons a palette for launching apps, clipboard history, snippets, window tiling and more — all under 100 MB of RAM.
Related topics
Often tagged together
- open-source5,461
- developer-tools2,879
- education666
- javascript1,557
- mit3,173
- frontend826
- macos3,658
- productivity731
- reference213
- awesome-list395
- css266
- examples54
- git253
- learning327
- markdown509
- react783
- syntax-highlighting54
- typescript1,887
- web2,265
- cheatsheet52
- cross-platform2,653
- curated-list488
- desktop-app1,240
- editor149