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.
Hot right now
Most stars gained in a day · Oct 16
+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.
+24openai-cookbook
openai/openai-cookbook · ★ 76.7KA collection of example code and guides for accomplishing common tasks with the OpenAI API, covering things like prompting, embeddings, function calling, and retrieval.
+15learn-python
trekhleb/learn-python · ★ 18.4KA 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.
awesome-github-profile-readme
abhisheknaiidu/awesome-github-profile-readme · ★ 31.4KA curated catalog of impressive GitHub profile READMEs - the personal landing pages developers add to their profiles - with new entries added continuously.
The all-time top
77 projects · by stars
- 94.8K
#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.
- 76.7K
#2 · openai/openai-cookbookopenai-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.
- 66.4K
#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.
- 4

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

claude-cookbooks
53.5Kanthropics/claude-cookbooks · Jupyter NotebookAnthropic'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.
- 6
design-patterns-for-humans
48.9Knilbuild/design-patterns-for-humansIt is a plain-English, real-world-analogy explanation of classic software design patterns (Creational, Structural, Behavioral), each paired with a short PHP code example.
- 7

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

awesome-compose
46.5Kdocker/awesome-compose · HTMLAwesome 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.
- 9

architecture-samples
45.9Kandroid/architecture-samples · KotlinIt'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.
- 10

TensorFlow-Examples
43.7Kaymericdamien/TensorFlow-Examples · Jupyter NotebookA hands-on tutorial collection that teaches TensorFlow through runnable examples, from a hello world notebook up to deep neural networks and GANs.
- 11

diagrams
42.7Kmingrammer/diagrams · PythonDiagrams 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.
- 12

cheat.sh
41.8Kchubin/cheat.sh · Pythoncheat.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.
- 13

tutorials
37.3Keugenp/tutorials · JavaA 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.
- 14
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.
- 15
awesome-github-profile-readme
31.4Kabhisheknaiidu/awesome-github-profile-readmeA curated catalog of impressive GitHub profile READMEs - the personal landing pages developers add to their profiles - with new entries added continuously.
- 16

spring-boot-examples
30.5Kityouknow/spring-boot-examples · JavaA 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.
- 17

todomvc
29Ktastejs/todomvc · JavaScriptTodoMVC 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.
- 18

examples
24.1Kpytorch/examples · PythonA curated set of short, standalone PyTorch example projects covering computer vision, text, and reinforcement learning, each meant to be emulated in your own work.
- 19

FizzBuzzEnterpriseEdition
23.9KEnterpriseQualityCoding/FizzBuzzEnterpriseEdition · JavaFizzBuzz Enterprise Edition is a satirical Java project: the trivial FizzBuzz exercise deliberately rebuilt as if it were serious, architecture-heavy enterprise software.
- 20

Awesome-Nano-Banana-images
23.9KPicoTrex/Awesome-Nano-Banana-imagesA 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.
- 21

flutter-go
23.6Kalibaba/flutter-go · DartFlutterGo 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.
- 22

compose-samples
23.5Kandroid/compose-samples · KotlinGoogle'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.
- 23

Best-Flutter-UI-Templates
22.8Kmitesh77/Best-Flutter-UI-Templates · DartA collection of ready-made UI templates for Flutter that the author shares completely free for everyone — every template is built with Flutter and Dart.
- 24

DesignPatternsPHP
22.2KDesignPatternsPHP/DesignPatternsPHP · PHPA 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.
- 25

es6tutorial
21.4Kruanyf/es6tutorial · JavaScriptAn open-source JavaScript tutorial book ('《ECMAScript 6 入门教程》') that fully covers the new syntax features introduced in ES6.
- 26

python-mini-projects
19.4KPython-World/python-mini-projects · PythonA 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.
- 27

samples
19.3Kflutter/samples · DartAn 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.
- 28

llama-cookbook
18.6Kmeta-llama/llama-cookbook · Jupyter NotebookThe 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.
- 29

learn-python
18.4Ktrekhleb/learn-python · PythonA 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.
- 30

Go
18.2KTheAlgorithms/Go · GoAn open-source collection of classic algorithms and data structures implemented in Go for education, with over 18k stars and an MIT license.
- 31

neural-networks-and-deep-learning
18Kmnielsen/neural-networks-and-deep-learning · PythonCode 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.
- 32

SpringCloudLearning
17.9Kforezp/SpringCloudLearning · JavaThis 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.
- 33

cookbook
17.8Kgoogle-gemini/cookbook · Jupyter NotebookGoogle'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.
- 34

chrome-extensions-samples
17.8KGoogleChrome/chrome-extensions-samples · JavaScriptThis is Google's official collection of sample Chrome Extensions (and legacy Chrome Apps) demonstrating how to use the various extension APIs.
- 35

architecture-decision-record
17.2Karchitecture-decision-record/architecture-decision-record · CSSA guide and example collection for architecture decision records (ADRs) — short documents that capture an important architecture decision together with its context and consequences.
- 36

vanillawebprojects
16.1Kbradtraversy/vanillawebprojects · JavaScriptA 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.
- 37

Android-CleanArchitecture
15.5Kandroid10/Android-CleanArchitecture · JavaA 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.
- 38

deepmind-research
15.2Kgoogle-deepmind/deepmind-research · Jupyter NotebookIt 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.
- 39

optuna
14.9Koptuna/optuna · PythonOptuna 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.
- 40

rust-by-practice
14.8Korigin-brain/rust-by-practice · RustA 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.
- 41

reinforcement-learning-an-introduction
14.8KShangtongZhang/reinforcement-learning-an-introduction · PythonThis is a Python reimplementation of all the code, figures and examples from Sutton & Barto's textbook 'Reinforcement Learning: An Introduction' (2nd Edition).
- 42

f8app
13.9Kfbsamples/f8app · JavaScriptThis 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.
- 43

grokking_algorithms
13.7KegonSchiele/grokking_algorithms · JavaScriptThis repository holds the source code examples from the book Grokking Algorithms by Aditya Bhargava, meant to be read alongside the book's chapters.
- 44

Material-Animations
13.5Klgvalle/Material-Animations · JavaA sample Android project that explains the Transition Framework through runnable examples: animating activity transitions, shared-element moves and view changes inside one activity.
- 45

Deep-Learning-with-TensorFlow-book
13.2Kdragen1860/Deep-Learning-with-TensorFlow-book · Jupyter NotebookA 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.
- 46

bloc
12.5Kfelangel/bloc · DartA predictable state management library for Dart that implements the BLoC design pattern — it separates presentation from business logic in Flutter and AngularDart apps.
- 47

functions-samples
12.2Kfirebase/functions-samples · JavaScriptA collection of sample apps showing common use cases for Cloud Functions for Firebase, covering triggers like Firestore, Realtime Database, Storage, Auth, HTTPS, and PubSub.
- 48

ansible-examples
12.1Kansible/ansible-examples · ShellA 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.
- 49

WebRTC-Experiment
12.1Kmuaz-khan/WebRTC-Experiment · JavaScriptA one-stop hub of WebRTC demos, experiments and JavaScript libraries: screen sharing, video conferencing, file sharing, recording, collaborative drawing and voice translation.
- 50
examples
11.5Kserverless/examples · JavaScriptA 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.
- 51

sql-server-samples
11.3Kmicrosoft/sql-server-samples · PowerShellThis 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.
- 52

jira_clone
11.1Koldboyxx/jira_clone · JavaScriptA 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.
- 53

amazon-sagemaker-examples
11Kaws/amazon-sagemaker-examples · Jupyter NotebookA collection of official Jupyter notebooks from AWS that demonstrate how to build, train, and deploy machine learning models using Amazon SageMaker.
- 54

CSS-Inspiration
10.8Kchokcoco/CSS-Inspiration · CSSA 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.
- 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.
- 56

code_snippets
10.6KCoreyMSchafer/code_snippets · Jupyter NotebookA 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.
- 57

GolangTraining
10.5KGoesToEleven/GolangTraining · GoA collection of training materials and code examples for learning the Go (Golang) programming language, covering topics from the basics up through more advanced concepts.
- 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.
- 59

aws-doc-sdk-examples
10.5Kawsdocs/aws-doc-sdk-examples · JavaThe 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.
- 60

adk-recipes
10.5Kgoogle/adk-recipes · PythonA 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.
- 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.
- 62

Machine-Learning
10.4KJack-Cherish/Machine-Learning · PythonA 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.
- 63

React-Native-Apps
10.4KReactNativeNews/React-Native-AppsA 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.
- 64

electron-api-demos
10.2Kelectron/electron-api-demos · HTMLA 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.
- 65

xLua
10.2KTencent/xLua · CxLua 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.
- 66

vscode-extension-samples
10.2Kmicrosoft/vscode-extension-samples · TypeScriptA 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.
- 67

go-clean-arch
10.2Kbxcodec/go-clean-arch · GoA 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.
- 68

claude-code-infrastructure-showcase
10Kdiet103/claude-code-infrastructure-showcase · TypeScriptA 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.
- 69

sphere-sdk-connect-example
9.5Kunicity-sphere/sphere-sdk-connect-example · TypeScriptFour 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.
- 70

cookbook
4.1Kcursor/cookbook · TypeScriptA 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.
- 71

workflow_templates
1.3KComfy-Org/workflow_templates · TypeScriptThe 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.
- 72

vintage-latex
438Foadsf/vintage-latex · PowerShellA 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.
- 73
jev-experiments
406dabit3/jev-experiments · TypeScriptA monorepo of latency-focused demo apps built around TypeSafe / Jev, each of them written by the Devin AI coding agent.
- 74

seedance-2.0-api
329apiframe-ai/seedance-2.0-apiThis 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.
- 75

solari-cookbook
192solari-sdk/solari-cookbook · PythonA cookbook of small, runnable example programs for Solari, a service that gives you cloud browsers, sandboxes, and desktop VMs behind a single API key.
- 76

telnyx-code-examples
162team-telnyx/telnyx-code-examples · TypeScriptA 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.
- 77

examples
120geastack/examples · TypeScriptThis 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.
Related topics
Often tagged together
- tutorial626
- open-source5,666
- education933
- learning511
- mit3,312
- python2,383
- learning-resources410
- web2,447
- cross-platform2,623
- reference304
- beginner-friendly310
- developer-tools2,924
- linux4,184
- javascript1,842
- documentation426
- macos3,544
- resources706
- windows3,403
- ai1,955
- android743
- nodejs1,506
- typescript1,821
- api1,094
- java450