|
| 1 | +# 100 Lines of Code |
| 2 | + |
| 3 | +<div align="center"> |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | +**Build something productive in less than 100 lines of code!** |
| 15 | + |
| 16 | +A curated collection of small, powerful, and educational code projects perfect for beginners and experienced developers alike. |
| 17 | + |
| 18 | +[Explore Projects](#-projects) • [Contributing](#-contributing) • [Getting Started](#-getting-started) • [Community](#-community) |
| 19 | + |
| 20 | +</div> |
| 21 | + |
| 22 | +--- |
| 23 | + |
| 24 | +## What is 100 Lines of Code? |
| 25 | + |
| 26 | +**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: |
| 27 | + |
| 28 | +- **Simplicity**: Clear, concise code under 100 lines |
| 29 | +- **Functionality**: Real, working applications and utilities |
| 30 | +- **Learning**: Perfect for understanding core concepts |
| 31 | +- **Diversity**: Multiple languages, frameworks, and use cases |
| 32 | + |
| 33 | +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. |
| 34 | + |
| 35 | +--- |
| 36 | + |
| 37 | +## Why Contribute? |
| 38 | + |
| 39 | +- **Perfect First Contribution**: Beginner-friendly issues labeled `good-first-issue` and `first-timers-only` |
| 40 | +- **Learn by Doing**: Contribute small, manageable projects in any language |
| 41 | +- **Build Your Portfolio**: Showcase your work in a popular open-source repository |
| 42 | +- **Join the Community**: Connect with developers worldwide |
| 43 | +- **Hacktoberfest Ready**: Participate in annual open-source celebrations |
| 44 | + |
| 45 | +--- |
| 46 | + |
| 47 | +## Featured Projects |
| 48 | + |
| 49 | +Here are some of our most popular contributions: |
| 50 | + |
| 51 | +| Project | Language | Description | Stars | |
| 52 | +|---------|----------|-------------|-------| |
| 53 | +| [Invisibility Cloak](./Invisibility-Cloak) | Python | OpenCV-based Harry Potter invisibility effect | ⭐⭐⭐ | |
| 54 | +| [GitHub Follower Bot](./Github-Follower-Bot) | Python | Automate GitHub following | ⭐⭐⭐ | |
| 55 | +| [Password Generator](./Password-Generator) | Multiple | Secure random password generation | ⭐⭐⭐ | |
| 56 | +| [Tic Tac Toe](./Tic%20Tac%20Toe) | JavaScript | Classic game implementation | ⭐⭐ | |
| 57 | +| [Weather Forecast](./WeatherForecast) | Python | Get weather data from APIs | ⭐⭐ | |
| 58 | + |
| 59 | +--- |
| 60 | + |
| 61 | +## Projects |
| 62 | + |
| 63 | +Browse our collection of 100+ mini-projects organized by category: |
| 64 | + |
| 65 | +### Games & Entertainment |
| 66 | +- [Hangman Game](./hangman-game) - Classic word guessing game |
| 67 | +- [Rock Paper Scissors](./Rock-Paper-Scissors) - Interactive RPS game |
| 68 | +- [Wordle](./Wordle) - Word puzzle game clone |
| 69 | +- [Connect 4](./Connect%204) - Two-player connection game |
| 70 | +- [The Dinosaur Game](./The%20Dinosaur%20Game) - Chrome's offline game |
| 71 | +- [Black Jack](./Black_Jack_Game) - Card game simulation |
| 72 | +- [Russian Roulette](./Russian%20Roulette) - Probability game |
| 73 | +- [Slot Machine](./slot-machine) - Casino-style slot game |
| 74 | + |
| 75 | +### Web Development |
| 76 | +- [Beautiful JS Clock](./Beautiful%20JS%20Clock) - Animated clock interface |
| 77 | +- [To-Do List](./To-do%20list) - Task management app |
| 78 | +- [Cat App](./Cat-App) - Random cat image generator |
| 79 | +- [Currency Converter](./currencyconverter) - Real-time exchange rates |
| 80 | +- [Color Matcher](./color-matcher) - RGB/HEX color tools |
| 81 | + |
| 82 | +### Utilities & Tools |
| 83 | +- [File Organizer](./file_organizer) - Automatically sort files |
| 84 | +- [Password Generator](./password_generator) - Secure password creation |
| 85 | +- [QR Code Generator](./100lines%20Generator) - Create QR codes |
| 86 | +- [URL Shortener](./url_shortener) - Shorten long URLs |
| 87 | +- [Encryption Tool](./Encryption) - Basic encryption/decryption |
| 88 | +- [Port Scanner](./portscanner) - Network security tool |
| 89 | +- [MAC Address Changer](./MAC_Address_changer) - Network utility |
| 90 | + |
| 91 | +### Data & Scraping |
| 92 | +- [Amazon Review Scraper](./Amazon_Review_Scrapper) - Extract product reviews |
| 93 | +- [Reddit Politics Scraper](./Reddit%20Politics%20Scraper) - Scrape Reddit data |
| 94 | +- [Codeforces Scraper](./Codeforces-Scraper) - Competitive programming stats |
| 95 | +- [One Piece Scraper](./OnePieceScraper) - Anime data scraper |
| 96 | +- [NodeJS Scraper](./NodeJS%20Scraper) - Web scraping template |
| 97 | + |
| 98 | +### Machine Learning & AI |
| 99 | +- [Face Detection](./Face_Detection) - Detect faces in images |
| 100 | +- [Drowsiness Detection](./Drowsiness%20detection) - Driver safety system |
| 101 | +- [Sentiment Analyzer](./Sentiment_analyzer_for_prototypes) - Text sentiment analysis |
| 102 | +- [OCR Tool](./OCR_To_Google_Question_Papers) - Extract text from images |
| 103 | + |
| 104 | +### Productivity |
| 105 | +- [Google Drive Organizer](./google-drive-organizer) - Auto-organize Drive files |
| 106 | +- [Notes GUI](./Notes%20GUI) - Simple note-taking app |
| 107 | +- [My Personal Diary](./my_personal_diary) - Digital diary |
| 108 | +- [Documentation Generator](./documentation-generator) - Auto-generate docs |
| 109 | + |
| 110 | +### Fun & Creative |
| 111 | +- [Shakespeare Insult Generator](./Shakespeare-Insult-Generator) - Generate Shakespearean insults |
| 112 | +- [Fake Data Generator](./Fake_Data_Generator) - Generate test data |
| 113 | +- [Turtle Art](./Turtle-Art) - Creative Python graphics |
| 114 | +- [Spinning Cube](./Spinning%20Cube) - 3D graphics demo |
| 115 | +- [Unique Avatar Generator](./Unique-Avatar-Generator) - Create user avatars |
| 116 | + |
| 117 | +### Algorithms & Math |
| 118 | +- [Huffman Compressor](./Huffman%20compressor) - Data compression |
| 119 | +- [Caesar Cipher](./caesar_cipher) - Classic encryption |
| 120 | +- [Morse Code Translator](./morse_translator) - Encode/decode Morse |
| 121 | +- [Base Converter](./Base%20Converter) - Number base conversion |
| 122 | +- [Factorial Calculator](./Factorial_Calculator) - Calculate factorials |
| 123 | +- [Mandelbrot Generator](./Mandelbrot%20Gen) - Fractal visualization |
| 124 | + |
| 125 | +--- |
| 126 | + |
| 127 | +## Getting Started |
| 128 | + |
| 129 | +### For Contributors |
| 130 | + |
| 131 | +1. **Fork the Repository** |
| 132 | + ```bash |
| 133 | + # Click the 'Fork' button at the top right of this page |
| 134 | + ``` |
| 135 | + |
| 136 | +2. **Clone Your Fork** |
| 137 | + ```bash |
| 138 | + git clone https://github.com/YOUR_USERNAME/100LinesOfCode.git |
| 139 | + cd 100LinesOfCode |
| 140 | + ``` |
| 141 | + |
| 142 | +3. **Create a New Project** |
| 143 | + ```bash |
| 144 | + mkdir "My Awesome Project" |
| 145 | + cd "My Awesome Project" |
| 146 | + # Create your project files |
| 147 | + ``` |
| 148 | + |
| 149 | +4. **Add a README** |
| 150 | + ```markdown |
| 151 | + # My Awesome Project |
| 152 | + |
| 153 | + ## Description |
| 154 | + Brief description of what your project does |
| 155 | + |
| 156 | + ## Installation |
| 157 | + Steps to install dependencies |
| 158 | + |
| 159 | + ## Usage |
| 160 | + How to run the project |
| 161 | + |
| 162 | + ## Technologies |
| 163 | + - Language/Framework used |
| 164 | + ``` |
| 165 | + |
| 166 | +5. **Commit and Push** |
| 167 | + ```bash |
| 168 | + git add . |
| 169 | + git commit -m "Add: My Awesome Project" |
| 170 | + git push origin master |
| 171 | + ``` |
| 172 | + |
| 173 | +6. **Create a Pull Request** |
| 174 | + - Go to your fork on GitHub |
| 175 | + - Click "New Pull Request" |
| 176 | + - Fill in the details and submit! |
| 177 | + |
| 178 | +### Project Guidelines |
| 179 | + |
| 180 | +Your project should: |
| 181 | +- ✅ Be **under 100 lines** of code (excluding comments and blank lines) |
| 182 | +- ✅ Be **functional** and runnable |
| 183 | +- ✅ Include a **README.md** explaining what it does |
| 184 | +- ✅ Use **clear, readable code** |
| 185 | +- ✅ Be **original** or properly attributed |
| 186 | +- ✅ Not contain malicious code |
| 187 | + |
| 188 | +--- |
| 189 | + |
| 190 | +## Contributing |
| 191 | + |
| 192 | +We love contributions! Whether you're fixing bugs, adding projects, or improving documentation, every contribution matters. |
| 193 | + |
| 194 | +### Quick Start for First-Timers |
| 195 | + |
| 196 | +Never contributed to open source before? No problem! Check out: |
| 197 | +- [First Timers Only](http://www.firsttimersonly.com/) |
| 198 | +- [Make a Pull Request](http://makeapullrequest.com/) |
| 199 | +- [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/) |
| 200 | + |
| 201 | +### Find Issues to Work On |
| 202 | + |
| 203 | +We label issues to help you get started: |
| 204 | +- `good-first-issue` - Perfect for newcomers |
| 205 | +- `first-timers-only` - Reserved for first-time contributors |
| 206 | +- `help-wanted` - We need community help |
| 207 | +- `hacktoberfest` - Hacktoberfest-ready issues |
| 208 | + |
| 209 | +[View All Issues](https://github.com/josharsh/100LinesOfCode/issues) |
| 210 | + |
| 211 | +### Contribution Ideas |
| 212 | + |
| 213 | +- Add a new mini-project in any language |
| 214 | +- Improve existing project documentation |
| 215 | +- Fix bugs or enhance existing projects |
| 216 | +- Add tests to projects |
| 217 | +- Create project category pages |
| 218 | +- Improve the main README |
| 219 | +- Add project screenshots/demos |
| 220 | + |
| 221 | +Read our [CONTRIBUTING.md](./CONTRIBUTING.md) for detailed guidelines. |
| 222 | + |
| 223 | +--- |
| 224 | + |
| 225 | +## Community |
| 226 | + |
| 227 | +### Discussions |
| 228 | + |
| 229 | +Have questions or ideas? Join our [GitHub Discussions](https://github.com/josharsh/100LinesOfCode/discussions)! |
| 230 | + |
| 231 | +- **Q&A**: Ask questions about projects or contributing |
| 232 | +- **Ideas**: Suggest new project ideas |
| 233 | +- **Show and Tell**: Share what you've built |
| 234 | +- **General**: General community chat |
| 235 | + |
| 236 | +### Code of Conduct |
| 237 | + |
| 238 | +We are committed to providing a welcoming and inclusive experience for everyone. Please read and follow our Code of Conduct. |
| 239 | + |
| 240 | +### Stay Connected |
| 241 | + |
| 242 | +- ⭐ Star this repository to stay updated |
| 243 | +- 👀 Watch for new projects and updates |
| 244 | +- 🍴 Fork to create your own collection |
| 245 | +- 💬 Join discussions to connect with contributors |
| 246 | + |
| 247 | +--- |
| 248 | + |
| 249 | +## Recognition |
| 250 | + |
| 251 | +### Top Contributors |
| 252 | + |
| 253 | +Thanks to all our amazing contributors! 🎉 |
| 254 | + |
| 255 | +<a href="https://github.com/josharsh/100LinesOfCode/graphs/contributors"> |
| 256 | + <img src="https://contrib.rocks/image?repo=josharsh/100LinesOfCode" /> |
| 257 | +</a> |
| 258 | + |
| 259 | +### Hacktoberfest |
| 260 | + |
| 261 | +This repository actively participates in Hacktoberfest! Look for issues labeled `hacktoberfest` during October. |
| 262 | + |
| 263 | +--- |
| 264 | + |
| 265 | +## Languages |
| 266 | + |
| 267 | +Our projects span multiple programming languages: |
| 268 | + |
| 269 | + |
| 270 | + |
| 271 | + |
| 272 | + |
| 273 | + |
| 274 | + |
| 275 | + |
| 276 | + |
| 277 | + |
| 278 | +And many more! |
| 279 | + |
| 280 | +--- |
| 281 | + |
| 282 | +## Statistics |
| 283 | + |
| 284 | + |
| 285 | + |
| 286 | +--- |
| 287 | + |
| 288 | +## License |
| 289 | + |
| 290 | +This project is licensed under the [GNU General Public License v3.0](./LICENSE). |
| 291 | + |
| 292 | +--- |
| 293 | + |
| 294 | +## Support |
| 295 | + |
| 296 | +If you find this repository helpful: |
| 297 | +- ⭐ Star the repository |
| 298 | +- 🐛 Report bugs via [Issues](https://github.com/josharsh/100LinesOfCode/issues) |
| 299 | +- 💡 Suggest features via [Discussions](https://github.com/josharsh/100LinesOfCode/discussions) |
| 300 | +- 📢 Share with friends and on social media |
| 301 | + |
| 302 | +--- |
| 303 | + |
| 304 | +<div align="center"> |
| 305 | + |
| 306 | +**Built with ❤️ by the open-source community** |
| 307 | + |
| 308 | +[⬆ Back to Top](#100-lines-of-code) |
| 309 | + |
| 310 | +</div> |
0 commit comments