Build something productive in less than 100 lines of code!
A curated collection of small, powerful, and educational code projects perfect for beginners and experienced developers alike.
Explore Projects β’ Contributing β’ Getting Started β’ Community
100 Lines of Code is a community-driven repository showcasing that you don't need thousands of lines to build something meaningful. Each project demonstrates:
- Simplicity: Clear, concise code under 100 lines
- Functionality: Real, working applications and utilities
- Learning: Perfect for understanding core concepts
- Diversity: Multiple languages, frameworks, and use cases
Whether you're a beginner looking to learn or an experienced developer seeking inspiration, you'll find projects that demonstrate the power of concise, elegant code.
- Perfect First Contribution: Beginner-friendly issues labeled
good-first-issueandfirst-timers-only - Learn by Doing: Contribute small, manageable projects in any language
- Build Your Portfolio: Showcase your work in a popular open-source repository
- Join the Community: Connect with developers worldwide
- Hacktoberfest Ready: Participate in annual open-source celebrations
Here are some of our most popular contributions:
| Project | Language | Description | Stars |
|---|---|---|---|
| Invisibility Cloak | Python | OpenCV-based Harry Potter invisibility effect | βββ |
| GitHub Follower Bot | Python | Automate GitHub following | βββ |
| Password Generator | Multiple | Secure random password generation | βββ |
| Tic Tac Toe | JavaScript | Classic game implementation | ββ |
| Weather Forecast | Python | Get weather data from APIs | ββ |
Browse our collection of 100+ mini-projects organized by category:
- Hangman Game - Classic word guessing game
- Rock Paper Scissors - Interactive RPS game
- Wordle - Word puzzle game clone
- Connect 4 - Two-player connection game
- The Dinosaur Game - Chrome's offline game
- Black Jack - Card game simulation
- Russian Roulette - Probability game
- Slot Machine - Casino-style slot game
- Beautiful JS Clock - Animated clock interface
- To-Do List - Task management app
- Cat App - Random cat image generator
- Currency Converter - Real-time exchange rates
- Color Matcher - RGB/HEX color tools
- File Organizer - Automatically sort files
- Password Generator - Secure password creation
- QR Code Generator - Create QR codes
- URL Shortener - Shorten long URLs
- Encryption Tool - Basic encryption/decryption
- Port Scanner - Network security tool
- MAC Address Changer - Network utility
- Amazon Review Scraper - Extract product reviews
- Reddit Politics Scraper - Scrape Reddit data
- Codeforces Scraper - Competitive programming stats
- One Piece Scraper - Anime data scraper
- NodeJS Scraper - Web scraping template
- Face Detection - Detect faces in images
- Drowsiness Detection - Driver safety system
- Sentiment Analyzer - Text sentiment analysis
- OCR Tool - Extract text from images
- Google Drive Organizer - Auto-organize Drive files
- Notes GUI - Simple note-taking app
- My Personal Diary - Digital diary
- Documentation Generator - Auto-generate docs
- Shakespeare Insult Generator - Generate Shakespearean insults
- Fake Data Generator - Generate test data
- Turtle Art - Creative Python graphics
- Spinning Cube - 3D graphics demo
- Unique Avatar Generator - Create user avatars
- Huffman Compressor - Data compression
- Caesar Cipher - Classic encryption
- Morse Code Translator - Encode/decode Morse
- Base Converter - Number base conversion
- Factorial Calculator - Calculate factorials
- Mandelbrot Generator - Fractal visualization
-
Fork the Repository
# Click the 'Fork' button at the top right of this page -
Clone Your Fork
git clone https://github.com/YOUR_USERNAME/100LinesOfCode.git cd 100LinesOfCode -
Create a New Project
mkdir "My Awesome Project" cd "My Awesome Project" # Create your project files
-
Add a README
# My Awesome Project ## Description Brief description of what your project does ## Installation Steps to install dependencies ## Usage How to run the project ## Technologies - Language/Framework used
-
Commit and Push
git add . git commit -m "Add: My Awesome Project" git push origin master
-
Create a Pull Request
- Go to your fork on GitHub
- Click "New Pull Request"
- Fill in the details and submit!
Your project should:
- β Be under 100 lines of code (excluding comments and blank lines)
- β Be functional and runnable
- β Include a README.md explaining what it does
- β Use clear, readable code
- β Be original or properly attributed
- β Not contain malicious code
We love contributions! Whether you're fixing bugs, adding projects, or improving documentation, every contribution matters.
Never contributed to open source before? No problem! Check out:
We label issues to help you get started:
good-first-issue- Perfect for newcomersfirst-timers-only- Reserved for first-time contributorshelp-wanted- We need community helphacktoberfest- Hacktoberfest-ready issues
- Add a new mini-project in any language
- Improve existing project documentation
- Fix bugs or enhance existing projects
- Add tests to projects
- Create project category pages
- Improve the main README
- Add project screenshots/demos
Read our CONTRIBUTING.md for detailed guidelines.
Have questions or ideas? Join our GitHub Discussions!
- Q&A: Ask questions about projects or contributing
- Ideas: Suggest new project ideas
- Show and Tell: Share what you've built
- General: General community chat
We are committed to providing a welcoming and inclusive experience for everyone. Please read and follow our Code of Conduct.
- β Star this repository to stay updated
- π Watch for new projects and updates
- π΄ Fork to create your own collection
- π¬ Join discussions to connect with contributors
Thanks to all our amazing contributors! π
This repository actively participates in Hacktoberfest! Look for issues labeled hacktoberfest during October.
Our projects span multiple programming languages:
And many more!
This project is licensed under the GNU General Public License v3.0.
If you find this repository helpful:
- β Star the repository
- π Report bugs via Issues
- π‘ Suggest features via Discussions
- π’ Share with friends and on social media
Built with β€οΈ by the open-source community