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.

20Projects
620.2KStars in total
+147Stars in a day

Hot right now

Most stars gained in a day · Oct 16

The all-time top

20 projects · by stars

  1. #1 · Chalarangelo/30-seconds-of-code

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

    129.2K
  2. #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.

    94.8K
  3. #3 · anthropics/claude-cookbooks

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

    53.5K
  1. 4

    react

    47.1Ktypescript-cheatsheets/react · TypeScript

    A maintained cheatsheet for experienced React developers adopting TypeScript, packed with opinionated best practices and copy-pastable examples you can drop straight into your code.

  2. 5

    wtfpython

    37.1Ksatwikkansal/wtfpython · Python

    A free, hugely popular collection of surprising, counter-intuitive Python snippets, each with its real output and an explanation of what happens under the hood.

  3. 6

    carbon

    36.1Kcarbon-app/carbon · JavaScript

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

  4. 7

    awesome-vscode

    29.1Kviatsko/awesome-vscode · JavaScript

    A curated list of delightful VS Code packages and resources — hand-picked extensions, themes and learning material for Visual Studio Code, organized by category.

  5. 8

    CodeEdit

    23.1KCodeEditApp/CodeEdit · Swift

    CodeEdit is a free, open-source code editor for macOS, built by the community and written natively in Swift for the Mac.

  6. 9

    magicui

    22.7Kmagicuidesign/magicui · MDX

    Magic UI is a free, open-source UI library for design engineers: animated components and effects you copy and paste straight into your apps.

  7. 10

    LunarVim

    19.3KLunarVim/LunarVim · Lua

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

  8. 11

    navi

    17.8Kdenisidoro/navi · Rust

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

  9. 12

    30-seconds-of-css

    16KChalarangelo/30-seconds-of-css · CSS

    A collection of short CSS code snippets for all your development needs, maintained by the 30 seconds of code organization on GitHub.

  10. 13

    nginx-admins-handbook

    14.3Ktrimstray/nginx-admins-handbook · Shell

    A free, community-maintained handbook of personal notes, tips, and gotchas for administering, securing, and tuning NGINX (and OpenResty/Tengine) in production.

  11. 14

    htaccess

    13.2Kphanan/htaccess

    A curated collection of useful .htaccess snippets for Apache, covering rewrites/redirects, security, performance, and miscellaneous tricks.

  12. 15

    bootstrap-datepicker

    12.6Kuxsolutions/bootstrap-datepicker · JavaScript

    A datepicker widget for Twitter Bootstrap, letting you add a date-picking calendar UI to Bootstrap-based forms and inputs.

  13. 16

    LaTeX-Workshop

    12.4KJames-Yu/LaTeX-Workshop · TypeScript

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

  14. 17

    30-seconds-of-interviews

    12.1KChalarangelo/30-seconds-of-interviews · JavaScript

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

  15. 18

    reference

    10.9KFechin/reference · EJS

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

  16. 19

    Lepton

    10.3Khackjutsu/Lepton · JavaScript

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

  17. 20

    tinycast

    8.6Kabue-ammar/tinycast · Swift

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

Often tagged together