Topics / #examples

Examples projects on GitHub

Example code collections and reference implementations.

As of , the most-starred Examples projects on GitHub are java-design-patterns (94.9K stars), openai-cookbook (77.6K stars) and Java (67.3K stars). GitHub.Locker tracks 54 Examples repositories with 1.3M stars combined. The fastest-growing on November 30 was claude-cookbooks, with +48 stars in a day.

54Projects
1.3MStars in total
+189Stars in a day

Hot right now

Most stars gained in a day · Nov 30

The all-time top

54 projects · by stars

  1. #1 · 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.9K
  2. #2 · openai/openai-cookbook

    openai-cookbook

    A collection of example code and guides for accomplishing common tasks with the OpenAI API, covering things like prompting, embeddings, function calling, and retrieval.

    77.6K
  3. #3 · TheAlgorithms/Java

    Java

    A GitHub collection of classic algorithms and data structures, each implemented in Java for educational purposes as part of The Algorithms project.

    67.3K
  1. 4

    tldr

    64.3Ktldr-pages/tldr · Markdown

    tldr-pages is a community-maintained collection of simplified help pages for command-line tools, meant as a more approachable complement to traditional man pages.

  2. 5

    claude-cookbooks

    54.9Kanthropics/claude-cookbooks · Jupyter Notebook

    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.

  3. 6

    design-patterns-for-humans

    49Knilbuild/design-patterns-for-humans

    It is a plain-English, real-world-analogy explanation of classic software design patterns (Creational, Structural, Behavioral), each paired with a short PHP code example.

  4. 7

    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.

  5. 8

    awesome-compose

    46.8Kdocker/awesome-compose · HTML

    Awesome Compose is a curated list of Docker Compose samples: ready-made project setups showing how to integrate different services via a Compose file and manage their deployment with Docker Compose.

  6. 9

    architecture-samples

    45.9Kandroid/architecture-samples · Kotlin

    It's a collection of sample implementations of the same to-do app, each built on a different branch with a different Android architecture approach, meant to showcase and compare architectural patterns like MVVM with Compose, Hilt and Room.

  7. 10

    TensorFlow-Examples

    43.7Kaymericdamien/TensorFlow-Examples · Jupyter Notebook

    A hands-on tutorial collection that teaches TensorFlow through runnable examples, from a hello world notebook up to deep neural networks and GANs.

  8. 11

    diagrams

    42.8Kmingrammer/diagrams · Python

    Diagrams is a Python library that draws cloud system architecture as code: you describe your AWS, Azure, GCP or Kubernetes setup in Python and get a rendered diagram. It was built for prototyping architecture designs without design tools.

  9. 12

    cheat.sh

    41.9Kchubin/cheat.sh · Python

    cheat.sh is a unified cheat-sheet service: ask about a UNIX command or a programming language and get a concise answer right in your terminal, browser or editor. It aggregates the best community-driven cheat sheet repositories, on par with StackOverflow.

  10. 13

    tutorials

    37.3Keugenp/tutorials · Java

    A huge collection of small, focused tutorials for the Java ecosystem - one code module per topic - with a strong focus on Spring, Spring Boot and Spring Security.

  11. 14

    wtfpython

    37.2Ksatwikkansal/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.

  12. 15

    awesome-github-profile-readme

    31.7Kabhisheknaiidu/awesome-github-profile-readme

    A curated catalog of impressive GitHub profile READMEs - the personal landing pages developers add to their profiles - with new entries added continuously.

  13. 16

    todomvc

    29Ktastejs/todomvc · JavaScript

    TodoMVC implements the same Todo application in dozens of JavaScript frameworks and libraries so you can compare them side by side before picking one for a real project.

  14. 17

    Awesome-Nano-Banana-images

    24.1KPicoTrex/Awesome-Nano-Banana-images

    A curated gallery of fun, creative images generated with Nano Banana and Nano Banana Pro — Google's Gemini-2.5-flash-image based models — each paired with the prompt that produced it.

  15. 18

    compose-samples

    23.6Kandroid/compose-samples · Kotlin

    Google's official collection of sample apps for learning Jetpack Compose, the modern Android UI toolkit. Each sample is a separate Android Studio project showing different use cases, complexity levels and APIs.

  16. 19

    Best-Flutter-UI-Templates

    22.9Kmitesh77/Best-Flutter-UI-Templates · Dart

    A collection of ready-made UI templates for Flutter that the author shares completely free for everyone — every template is built with Flutter and Dart.

  17. 20

    es6tutorial

    21.4Kruanyf/es6tutorial · JavaScript

    An open-source JavaScript tutorial book ('《ECMAScript 6 入门教程》') that fully covers the new syntax features introduced in ES6.

  18. 21

    python-mini-projects

    19.5KPython-World/python-mini-projects · Python

    A collection of simple Python mini projects — small scripts and tiny apps meant to help you improve your Python skills by reading and writing real code.

  19. 22

    samples

    19.3Kflutter/samples · Dart

    An open source collection of samples illustrating best practices for Flutter — runnable quickstarts and demo apps covering widgets, navigation, shaders, testing, and embedding Flutter into native apps.

  20. 23

    learn-python

    18.6Ktrekhleb/learn-python · Python

    A collection of Python scripts split by topics, each with code examples and explanations. It doubles as a playground, where you change code and test with assertions, and as a cheatsheet for recapping Python syntax.

  21. 24

    llama-cookbook

    18.6Kmeta-llama/llama-cookbook · Jupyter Notebook

    The Llama Cookbook — Meta's official collection of recipes for building with the Llama model family: inference, fine-tuning, RAG and end-to-end use cases, mostly written as Jupyter notebooks.

  22. 25

    Go

    18.3KTheAlgorithms/Go · Go

    An open-source collection of classic algorithms and data structures implemented in Go for education, with over 18k stars and an MIT license.

  23. 26

    cookbook

    18.1Kgoogle-gemini/cookbook · Jupyter Notebook

    Google's official cookbook for the Gemini API: a structured learning path of hands-on tutorials, practical examples, and links to end-to-end demo apps, published as an open-source notebook collection.

  24. 27

    chrome-extensions-samples

    17.9KGoogleChrome/chrome-extensions-samples · JavaScript

    This is Google's official collection of sample Chrome Extensions (and legacy Chrome Apps) demonstrating how to use the various extension APIs.

  25. 28

    architecture-decision-record

    17.5Karchitecture-decision-record/architecture-decision-record · CSS

    A guide and example collection for architecture decision records (ADRs) — short documents that capture an important architecture decision together with its context and consequences.

  26. 29

    deepmind-research

    15.3Kgoogle-deepmind/deepmind-research · Jupyter Notebook

    It is Google DeepMind's research repository: implementations and illustrative code that accompany its published papers, released alongside open-source environments and datasets the community can build on.

  27. 30

    optuna

    15.1Koptuna/optuna · Python

    Optuna is an open-source framework for automatic hyperparameter optimization, built primarily for machine learning: you wrap your training code in an objective function and it searches for the best settings automatically.

  28. 31

    rust-by-practice

    14.8Korigin-brain/rust-by-practice · Rust

    A free online book of Rust exercises, examples, and practices designed to make you comfortable with Rust by writing and running real code instead of just reading theory.

  29. 32

    grokking_algorithms

    13.8KegonSchiele/grokking_algorithms · JavaScript

    This repository holds the source code examples from the book Grokking Algorithms by Aditya Bhargava, meant to be read alongside the book's chapters.

  30. 33

    bloc

    12.5Kfelangel/bloc · Dart

    A predictable state management library for Dart that implements the BLoC design pattern — it separates presentation from business logic in Flutter and AngularDart apps.

  31. 34

    functions-samples

    12.2Kfirebase/functions-samples · JavaScript

    A collection of sample apps showing common use cases for Cloud Functions for Firebase, covering triggers like Firestore, Realtime Database, Storage, Auth, HTTPS, and PubSub.

  32. 35

    examples

    11.5Kserverless/examples · JavaScript

    A large collection of ready-to-deploy boilerplate services and examples for the Serverless Framework, covering AWS Lambda, Azure Functions, Google Cloud Functions and more, with patterns for REST/HTTP APIs, DynamoDB, S3, SQS, GraphQL, IoT, and MCP servers written in Node.js, Go, Java, and .NET.

  33. 36

    sql-server-samples

    11.3Kmicrosoft/sql-server-samples · PowerShell

    This is Microsoft's official repository of code samples demonstrating how to use SQL Server, Azure SQL Database, Azure Synapse, and Azure SQL Edge, including sample databases, demos, and feature walkthroughs.

  34. 37

    amazon-sagemaker-examples

    11Kaws/amazon-sagemaker-examples · Jupyter Notebook

    A collection of official Jupyter notebooks from AWS that demonstrate how to build, train, and deploy machine learning models using Amazon SageMaker.

  35. 38

    adk-recipes

    10.6Kgoogle/adk-recipes · Python

    A public collection of recipes for Google's Agent Development Kit (ADK): small, runnable agents that show how to solve real problems. Fork one as a starting point for your own project, or browse the collection to learn the patterns.

  36. 39

    ndk-samples

    10.5Kandroid/ndk-samples · C++

    A collection of official Android NDK sample apps, each demonstrating how to use a specific native (C++/JNI) API from an Android Studio project.

  37. 40

    aws-doc-sdk-examples

    10.5Kawsdocs/aws-doc-sdk-examples · Java

    The official AWS repository of code examples showing how to use the AWS SDKs to work with AWS services. Many of these examples are injected straight into the AWS documentation and SDK Developer Guides.

  38. 41

    practical-aspnetcore

    10.4Kdodyg/practical-aspnetcore · C#

    A very large collection of small, runnable ASP.NET Core sample projects covering versions 2.1 through 11, organized by feature (MVC, Minimal API, Blazor, gRPC, SignalR, etc.) with README explanations for each.

  39. 42

    React-Native-Apps

    10.4KReactNativeNews/React-Native-Apps

    A curated, hand-picked list of open-source apps that are built with React Native, meant to show real production-quality examples of the framework in use.

  40. 43

    vscode-extension-samples

    10.2Kmicrosoft/vscode-extension-samples · TypeScript

    A collection of sample VS Code extensions from Microsoft, each a self-contained extension demonstrating one topic of the VS Code extension API or a specific Contribution Point.

  41. 44

    claude-code-infrastructure-showcase

    10.1Kdiet103/claude-code-infrastructure-showcase · TypeScript

    A curated reference library of production-tested Claude Code infrastructure — hooks, skills and agents extracted from 6 months of daily use on a real TypeScript microservices project. It fixes the problem that skills do not activate automatically and shows patterns that scale Claude Code for enterprise development.

  42. 45

    sphere-sdk-connect-example

    9.5Kunicity-sphere/sphere-sdk-connect-example · TypeScript

    Four runnable example apps showing the ways a program can work with a Sphere wallet: a browser dApp, a Node dApp, a bot that runs its own wallet, and a backend that only authenticates a user.

  43. 46

    fast-ruby

    5.7Kfastruby/fast-ruby · HTML

    A collection of common Ruby idioms, each paired with a benchmark, showing which way of writing the same code runs faster.

  44. 47

    cookbook

    4.2Kcursor/cookbook · TypeScript

    A collection of small, standalone examples for building on top of Cursor's agent platform, covering Cursor Hooks, self-hosted Cloud Agents, the Cursor SDK, a coding-agent CLI, and even third-party integrations with xAI's Grok.

  45. 48

    workflow_templates

    1.5KComfy-Org/workflow_templates · TypeScript

    The official collection of ComfyUI workflow templates: ready-made image, video and audio generation workflows that appear in ComfyUI's template picker and on comfy.org/workflows, plus reusable subgraph blueprints.

  46. 49

    innovation-lab-examples

    1.5Kfetchai/innovation-lab-examples · Python

    A collection of 80+ runnable Python AI agent examples built with uAgents, covering everything from basic starter agents to multi-agent systems, MCP, A2A and payments.

  47. 50

    vintage-latex

    453Foadsf/vintage-latex · PowerShell

    A collection of twenty standalone LuaLaTeX and MetaPost (fiziko) example files that recreate the look of old scientific papers: engraved plates, star charts, computed log tables, knots, and telescopes.

  48. 51

    jev-experiments

    413dabit3/jev-experiments · TypeScript

    A monorepo of latency-focused demo apps built around TypeSafe / Jev, each of them written by the Devin AI coding agent.

  49. 52

    dev-palmos

    224ardiri/dev-palmos · HTML

    A historical archive preserving Palm OS development resources, including SDKs, documentation, developer conference presentations, source code, and utilities collected over more than 25 years of Palm OS development.

  50. 53

    solari-cookbook

    169solari-sdk/solari-cookbook · Python

    A cookbook of small, runnable example programs for Solari, a service that gives you cloud browsers, sandboxes, and desktop VMs behind a single API key.

  51. 54

    examples

    120geastack/examples · TypeScript

    This is the example-app gallery for GeaStack — a collection of sample Gea apps used by the simulator, embedded boards, GeaOS, Apple targets, and the VS Code/Cursor extension to test and demo the platform.

Often tagged together