{"id":28272655,"url":"https://github.com/subhadeeproy3902/cndocs","last_synced_at":"2026-04-13T22:31:38.886Z","repository":{"id":294068285,"uuid":"975513917","full_name":"subhadeeproy3902/cndocs","owner":"subhadeeproy3902","description":"CN Docs is a comprehensive, well-structured documentation site for computer networking and socket programming","archived":false,"fork":false,"pushed_at":"2026-01-27T20:39:37.000Z","size":12902,"stargazers_count":20,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-28T07:39:58.465Z","etag":null,"topics":["fumadocs","geeksforgeeks","learning-resources","networking","nextjs","shadcn","socket-programming-using-c","typescript"],"latest_commit_sha":null,"homepage":"https://cn.mvp-subha.me/","language":"MDX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/subhadeeproy3902.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-30T12:45:28.000Z","updated_at":"2026-01-27T20:39:43.000Z","dependencies_parsed_at":"2025-08-30T16:13:07.986Z","dependency_job_id":"2155951c-e0e8-4e70-bd40-d6eff1df68e3","html_url":"https://github.com/subhadeeproy3902/cndocs","commit_stats":null,"previous_names":["subhadeeproy3902/cndocs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/subhadeeproy3902/cndocs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subhadeeproy3902%2Fcndocs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subhadeeproy3902%2Fcndocs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subhadeeproy3902%2Fcndocs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subhadeeproy3902%2Fcndocs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subhadeeproy3902","download_url":"https://codeload.github.com/subhadeeproy3902/cndocs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subhadeeproy3902%2Fcndocs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31773979,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fumadocs","geeksforgeeks","learning-resources","networking","nextjs","shadcn","socket-programming-using-c","typescript"],"created_at":"2025-05-21T00:16:08.032Z","updated_at":"2026-04-13T22:31:38.878Z","avatar_url":"https://github.com/subhadeeproy3902.png","language":"MDX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CN Docs - The Ultimate Networking Documentation\n\n![alt text](image.png)\n\n## Comprehensive Computer Networking \u0026 Socket Programming Documentation\n\nA beautiful, structured learning resource for students and professionals\n\n[View Live Site](https://cn.mvp-subha.me)\n\n## 📚 Overview\n\nCN Docs is a comprehensive, well-structured documentation site for computer networking and socket programming. Built with Next.js and Fumadocs, it provides clear explanations, practical examples, and high-quality code samples for everything from networking fundamentals to advanced socket programming techniques.\n\n## ✨ Features\n\n### Website Features\n\n- 📚 **Comprehensive documentation** with MDX support\n- 🔍 **Full-text search functionality**\n- 🖼️ **Dynamic OG image generation** for social sharing\n- 📱 **Fully responsive design** for all devices\n- 🎨 **Clean and modern UI** powered by Fumadocs\n- ⚡ **Fast and SEO-friendly** with Next.js\n- 📝 **Easy-to-follow structured learning path**\n\n### Content Features\n\n- 🧠 **Comprehensive coverage** from OSI model to advanced socket programming\n- 💻 **High-quality code examples** with proper documentation\n- 🛠️ **Practical projects** with real-world networking applications\n- 📊 **Visual explanations** with diagrams and illustrations\n- 🔄 **Interactive examples** where applicable\n- 📘 **Beginner-friendly explanations** of complex concepts\n\n### Technical Features\n\n- 🚀 **Next.js framework** for optimal performance\n- 📄 **MDX documentation** for rich content\n- 🎨 **Tailwind CSS** for beautiful styling\n- 🔧 **TypeScript** for type safety\n- 🔄 **Automated content generation** tools\n- 🌐 **SEO optimization** for better discoverability\n\n## 🧩 Content Structure\n\nThe documentation is organized into logical sections:\n\n### I. Foundational Concepts\n\n- Networking Basics\n- OSI Model\n- TCP/IP Model\n- Network Topologies\n- IP Addressing \u0026 DNS\n- Internet Architecture\n- TCP \u0026 UDP Protocols\n- MAC Addressing\n- URL Structure\n- HTTP Protocol\n\n### II. Socket Programming\n\n- Socket Fundamentals\n  - Socket Types\n  - Socket API\n  - Socket Options\n  - Byte Order\n  - Security Considerations\n  - Best Practices\n- Socket Models\n  - TCP Sockets\n  - UDP Sockets\n  - Client-Server Architecture\n  - Multicast Communication\n  - Unix Domain Sockets\n  - Raw Sockets\n- Advanced Techniques\n  - Blocking vs Non-blocking\n  - Multiplexing (select/poll)\n  - Advanced Multiplexing (epoll)\n  - Socket I/O Techniques\n  - Debugging Socket Applications\n- Error Handling\n\n### III. Code in Action\n\n- Complete networking projects\n- Example implementations\n- Performance benchmarks\n\n## 💻 Code Examples\n\nEach topic includes practical, well-commented code examples that demonstrate key concepts. Our examples:\n\n- Follow best practices for production-ready code\n- Include comprehensive error handling\n- Provide clear comments explaining each step\n- Are tested in real-world scenarios\n- Include both basic and advanced implementations\n\nExample from our Client-Server Architecture section:\n\n```c\n// Message header structure\nstruct message_header {\n    uint8_t  version;       // Protocol version\n    uint8_t  type;          // Message type\n    uint16_t command;       // Command identifier\n    uint32_t payload_size;  // Size of the payload\n    uint32_t sequence_id;   // Message sequence number\n};\n\n// Complete message structure\nstruct message {\n    struct message_header header;\n    char payload[MAX_PAYLOAD_SIZE];\n};\n```\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- Node.js 18.0 or higher\n- Bun (recommended) or npm/yarn\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/subhadeeproy3902/cndocs.git\n   cd cndocs\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   bun install\n   # or\n   npm install\n   ```\n\n3. Run the development server:\n\n   ```bash\n   bun run dev\n   # or\n   npm run dev\n   ```\n\n4. Open [http://localhost:3000](http://localhost:3000) in your browser.\n\n## 🛠️ Built With\n\n- [Next.js](https://nextjs.org/) - React framework\n- [Fumadocs](https://fumadocs.vercel.app/) - Documentation framework\n- [Tailwind CSS](https://tailwindcss.com/) - Utility-first CSS framework\n- [TypeScript](https://www.typescriptlang.org/) - Type-safe JavaScript\n- [MDX](https://mdxjs.com/) - Markdown with JSX\n\n## 📝 Content Creation\n\n### Adding New Documentation\n\nWe use a custom script to easily add content from sources like GeeksforGeeks:\n\n```bash\nbun run add-doc \u003curl\u003e\n```\n\nThis automatically:\n\n- Scrapes content from the provided URL\n- Downloads images to the public folder\n- Generates well-formatted MDX files\n- Applies proper formatting and styling\n\n### Manual Content Creation\n\n1. Create a new MDX file in the appropriate directory under `content/docs/`\n2. Add frontmatter with title and description\n3. Write your content using Markdown and MDX components\n4. Add code examples, images, and other resources as needed\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## 🙏 Acknowledgements\n\n- [GeeksforGeeks](https://www.geeksforgeeks.org/) for some of the reference content\n- All contributors who have helped improve this documentation\n- The open-source community for the amazing tools that made this possible\n\n---\n\nCreated with ❤️ by [Subhadeep Roy](https://github.com/subhadeeproy3902)\n\nVisit the live site: [https://cn.mvp-subha.me](https://cn.mvp-subha.me)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubhadeeproy3902%2Fcndocs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubhadeeproy3902%2Fcndocs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubhadeeproy3902%2Fcndocs/lists"}