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.2K stars), java-design-patterns (94.8K stars) and claude-cookbooks (53.5K stars). GitHub.Locker tracks 20 Snippets repositories with 620.2K stars combined. The fastest-growing on October 16 was tinycast, with +45 stars in a day.
Hot right now
Most stars gained in a day · Oct 16
+45tinycast
abue-ammar/tinycast · ★ 8.6KTinycast 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.
+32claude-cookbooks
anthropics/claude-cookbooks · ★ 53.5KAnthropic'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.
+1430-seconds-of-code
Chalarangelo/30-seconds-of-code · ★ 129.2K30 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.
+14magicui
magicuidesign/magicui · ★ 22.7KMagic UI is a free, open-source UI library for design engineers: animated components and effects you copy and paste straight into your apps.
The all-time top
20 projects · by stars
- 129.2K
#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.8K
#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.
- 53.5K
#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.1Ksatwikkansal/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.1Kcarbon-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.1Kviatsko/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

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.
- 9

magicui
22.7Kmagicuidesign/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.
- 10

LunarVim
19.3KLunarVim/LunarVim · LuaLunarVim is an IDE layer for Neovim: a free, community-driven setup that turns a plain Neovim install into a full IDE with sane defaults.
- 11

navi
17.8Kdenisidoro/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.
- 12

30-seconds-of-css
16KChalarangelo/30-seconds-of-css · CSSA collection of short CSS code snippets for all your development needs, maintained by the 30 seconds of code organization on GitHub.
- 13

nginx-admins-handbook
14.3Ktrimstray/nginx-admins-handbook · ShellA free, community-maintained handbook of personal notes, tips, and gotchas for administering, securing, and tuning NGINX (and OpenResty/Tengine) in production.
- 14

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

bootstrap-datepicker
12.6Kuxsolutions/bootstrap-datepicker · JavaScriptA datepicker widget for Twitter Bootstrap, letting you add a date-picking calendar UI to Bootstrap-based forms and inputs.
- 16

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.
- 17

30-seconds-of-interviews
12.1KChalarangelo/30-seconds-of-interviews · JavaScriptA curated collection of common front-end interview questions covering JavaScript, React, HTML, and CSS, each paired with a model answer, tips on what a strong response should include, and links for further reading.
- 18

reference
10.9KFechin/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.
- 19

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.
- 20

tinycast
8.6Kabue-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