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.8K stars), openai-cookbook (76.7K stars) and Java (66.4K stars). GitHub.Locker tracks 77 Examples repositories with 1.6M stars combined. The fastest-growing on October 16 was claude-cookbooks, with +32 stars in a day.

77Projects
1.6MStars in total
+238Stars in a day

Hot right now

Most stars gained in a day · Oct 16

The all-time top

77 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.8K
  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.

    76.7K
  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.

    66.4K
  1. 4

    tldr

    64Ktldr-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

    53.5Kanthropics/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

    48.9Knilbuild/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.5Kdocker/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.7Kmingrammer/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.8Kchubin/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.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.

  12. 15

    awesome-github-profile-readme

    31.4Kabhisheknaiidu/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

    spring-boot-examples

    30.5Kityouknow/spring-boot-examples · Java

    A collection of small, standalone Spring Boot 3.0 example projects covering common integrations like web, WebFlux, JPA, MyBatis, RabbitMQ, MongoDB, Redis, mail, file upload, and Docker.

  14. 17

    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.

  15. 18

    examples

    24.1Kpytorch/examples · Python

    A curated set of short, standalone PyTorch example projects covering computer vision, text, and reinforcement learning, each meant to be emulated in your own work.

  16. 19

    FizzBuzzEnterpriseEdition

    23.9KEnterpriseQualityCoding/FizzBuzzEnterpriseEdition · Java

    FizzBuzz Enterprise Edition is a satirical Java project: the trivial FizzBuzz exercise deliberately rebuilt as if it were serious, architecture-heavy enterprise software.

  17. 20

    Awesome-Nano-Banana-images

    23.9KPicoTrex/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.

  18. 21

    flutter-go

    23.6Kalibaba/flutter-go · Dart

    FlutterGo is a reference/demo app built by Alibaba that showcases over 140 commonly used Flutter widgets, each with a live example screen and Chinese-language documentation.

  19. 22

    compose-samples

    23.5Kandroid/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.

  20. 23

    Best-Flutter-UI-Templates

    22.8Kmitesh77/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.

  21. 24

    DesignPatternsPHP

    22.2KDesignPatternsPHP/DesignPatternsPHP · PHP

    A collection of well-known design patterns with small sample implementations in PHP 8.x, aimed at teaching not just how each pattern works but when to reach for it.

  22. 25

    es6tutorial

    21.4Kruanyf/es6tutorial · JavaScript

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

  23. 26

    python-mini-projects

    19.4KPython-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.

  24. 27

    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.

  25. 28

    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.

  26. 29

    learn-python

    18.4Ktrekhleb/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.

  27. 30

    Go

    18.2KTheAlgorithms/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.

  28. 31

    neural-networks-and-deep-learning

    18Kmnielsen/neural-networks-and-deep-learning · Python

    Code samples for Michael Nielsen's book 'Neural Networks and Deep Learning' — a set of Python programs meant to be read and run while working through the book.

  29. 32

    SpringCloudLearning

    17.9Kforezp/SpringCloudLearning · Java

    This is the source code accompanying 'The Simplest Spring Cloud Tutorial Ever' (史上最简单的SpringCloud教程), a long-running Chinese blog series by author forezp that teaches Spring Cloud microservices step by step, covering service registration, service calls, circuit breaking, gateways, config, tracing and more.

  30. 33

    cookbook

    17.8Kgoogle-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.

  31. 34

    chrome-extensions-samples

    17.8KGoogleChrome/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.

  32. 35

    architecture-decision-record

    17.2Karchitecture-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.

  33. 36

    vanillawebprojects

    16.1Kbradtraversy/vanillawebprojects · JavaScript

    A collection of 20+ mini web projects (form validator, movie seat booking, music player, breakout game, etc.) built with plain HTML5, CSS and JavaScript as part of a Udemy course.

  34. 37

    Android-CleanArchitecture

    15.5Kandroid10/Android-CleanArchitecture · Java

    A sample Android app that shows how to architect an application using Uncle Bob's clean architecture approach — it accompanies Fernando Cejas's series of blog posts on the topic.

  35. 38

    deepmind-research

    15.2Kgoogle-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.

  36. 39

    optuna

    14.9Koptuna/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.

  37. 40

    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.

  38. 41

    reinforcement-learning-an-introduction

    14.8KShangtongZhang/reinforcement-learning-an-introduction · Python

    This is a Python reimplementation of all the code, figures and examples from Sutton & Barto's textbook 'Reinforcement Learning: An Introduction' (2nd Edition).

  39. 42

    f8app

    13.9Kfbsamples/f8app · JavaScript

    This is the complete source code of the official F8 app from Facebook's 2017 developer conference, which was published on both Google Play and the App Store.

  40. 43

    grokking_algorithms

    13.7KegonSchiele/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.

  41. 44

    Material-Animations

    13.5Klgvalle/Material-Animations · Java

    A sample Android project that explains the Transition Framework through runnable examples: animating activity transitions, shared-element moves and view changes inside one activity.

  42. 45

    Deep-Learning-with-TensorFlow-book

    13.2Kdragen1860/Deep-Learning-with-TensorFlow-book · Jupyter Notebook

    A free, open-source Chinese textbook on deep learning built on the official TensorFlow 2 release, pairing theory with hands-on case studies. This repo ships the PDF e-book, the accompanying source code, and the lecture slides.

  43. 46

    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.

  44. 47

    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.

  45. 48

    ansible-examples

    12.1Kansible/ansible-examples · Shell

    A collection of starter Ansible playbooks that demonstrate common features and show how they work together, meant as a learning reference rather than a finished app.

  46. 49

    WebRTC-Experiment

    12.1Kmuaz-khan/WebRTC-Experiment · JavaScript

    A one-stop hub of WebRTC demos, experiments and JavaScript libraries: screen sharing, video conferencing, file sharing, recording, collaborative drawing and voice translation.

  47. 50

    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.

  48. 51

    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.

  49. 52

    jira_clone

    11.1Koldboyxx/jira_clone · JavaScript

    A simplified Jira clone: a web app with a React/Babel client and a Node/TypeScript API. A React consultant built it as a showcase of a modern, real-world React codebase to read and learn from, not as a production product.

  50. 53

    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.

  51. 54

    CSS-Inspiration

    10.8Kchokcoco/CSS-Inspiration · CSS

    A curated collection of pure-CSS demos and visual effects, organized by category (layout, shadows, gradients, filters, blend modes, 3D, animation, clip-path, SVG) so you can browse them for inspiration or to learn a specific CSS technique.

  52. 55

    eShopOnWeb

    10.7Kdotnet-architecture/eShopOnWeb · C#

    Microsoft's sample ASP.NET Core 8.0 reference application: an online-store web app demonstrating a single-process (monolithic) architecture and deployment model, built to accompany a free architecture ebook.

  53. 56

    code_snippets

    10.6KCoreyMSchafer/code_snippets · Jupyter Notebook

    A GitHub repository containing a collection of code snippets and example files, mostly written as Jupyter Notebooks, in the Python-dominant language stack shown on GitHub.

  54. 57

    GolangTraining

    10.5KGoesToEleven/GolangTraining · Go

    A collection of training materials and code examples for learning the Go (Golang) programming language, covering topics from the basics up through more advanced concepts.

  55. 58

    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.

  56. 59

    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.

  57. 60

    adk-recipes

    10.5Kgoogle/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.

  58. 61

    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.

  59. 62

    Machine-Learning

    10.4KJack-Cherish/Machine-Learning · Python

    A Chinese-language tutorial project that implements classic machine learning algorithms in Python3 - kNN, Decision Tree, Naive Bayes, Logistic Regression, SVM, Regression, Regression Tree and AdaBoost - following the exercises in the book 'Machine Learning in Action', with companion blog articles explaining each chapter.

  60. 63

    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.

  61. 64

    electron-api-demos

    10.2Kelectron/electron-api-demos · HTML

    A desktop app that interactively demonstrates core Electron APIs with live sample code, so you can see what each API does and read the source to learn how to build an Electron app.

  62. 65

    xLua

    10.2KTencent/xLua · C

    xLua adds Lua scripting to C# environments — Unity, .Net and Mono — so Lua code and C# can call each other easily, typically to script Unity games.

  63. 66

    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.

  64. 67

    go-clean-arch

    10.2Kbxcodec/go-clean-arch · Go

    A reference implementation of Uncle Bob's Clean Architecture in Go — a sample project showing how to structure a real backend into layered, framework-independent code.

  65. 68

    claude-code-infrastructure-showcase

    10Kdiet103/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.

  66. 69

    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.

  67. 70

    cookbook

    4.1Kcursor/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.

  68. 71

    workflow_templates

    1.3KComfy-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.

  69. 72

    vintage-latex

    438Foadsf/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.

  70. 73

    jev-experiments

    406dabit3/jev-experiments · TypeScript

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

  71. 74

    seedance-2.0-api

    329apiframe-ai/seedance-2.0-api

    This repo contains example scripts for calling ByteDance's Seedance 2.0 video generation model through the Apiframe API, covering text-to-video, image-to-video, and reference-to-video generation.

  72. 75

    solari-cookbook

    192solari-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.

  73. 76

    telnyx-code-examples

    162team-telnyx/telnyx-code-examples · TypeScript

    A collection of production-ready code examples for the Telnyx platform, covering Voice AI, SMS, SIP, and IoT APIs. It includes 160+ Voice AI examples alone, each a self-contained project with working code, documentation, and environment configuration.

  74. 77

    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