{"id":38918980,"url":"https://github.com/warengonzaga/pcso-2d-lotto-generator","last_synced_at":"2026-01-21T20:00:39.536Z","repository":{"id":332944256,"uuid":"1135644986","full_name":"warengonzaga/pcso-2d-lotto-generator","owner":"warengonzaga","description":"A mobile-first PCSO 2D lotto number generator with buffer system and Rambolito mode support","archived":false,"fork":false,"pushed_at":"2026-01-16T17:09:57.000Z","size":76,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-18T00:06:35.251Z","etag":null,"topics":["lotto","pcso","pcso-lotto"],"latest_commit_sha":null,"homepage":"http://opensource.warengonzaga.com/pcso-2d-lotto-generator/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/warengonzaga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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":"AGENTS.md","dco":null,"cla":null},"funding":{"github":"warengonzaga","buy_me_a_coffee":"warengonzaga"}},"created_at":"2026-01-16T11:44:44.000Z","updated_at":"2026-01-16T19:23:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/warengonzaga/pcso-2d-lotto-generator","commit_stats":null,"previous_names":["warengonzaga/lotto-number-generator"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/warengonzaga/pcso-2d-lotto-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warengonzaga%2Fpcso-2d-lotto-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warengonzaga%2Fpcso-2d-lotto-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warengonzaga%2Fpcso-2d-lotto-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warengonzaga%2Fpcso-2d-lotto-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/warengonzaga","download_url":"https://codeload.github.com/warengonzaga/pcso-2d-lotto-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warengonzaga%2Fpcso-2d-lotto-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28543495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T14:59:57.589Z","status":"ssl_error","status_checked_at":"2026-01-18T14:59:46.540Z","response_time":98,"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":["lotto","pcso","pcso-lotto"],"created_at":"2026-01-17T15:31:32.812Z","updated_at":"2026-01-18T17:00:46.621Z","avatar_url":"https://github.com/warengonzaga.png","language":"JavaScript","funding_links":["https://github.com/sponsors/warengonzaga","https://buymeacoffee.com/warengonzaga"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# PCSO 2D Lotto Generator\n\n**Mobile-first web app for generating PCSO 2D lotto combinations with intelligent buffer system**\n\n[![License](https://img.shields.io/github/license/warengonzaga/pcso-2d-lotto-generator)](https://github.com/warengonzaga/pcso-2d-lotto-generator/blob/main/LICENSE)\n[![GitHub Stars](https://img.shields.io/github/stars/warengonzaga/pcso-2d-lotto-generator)](https://github.com/warengonzaga/pcso-2d-lotto-generator/stargazers)\n[![GitHub Forks](https://img.shields.io/github/forks/warengonzaga/pcso-2d-lotto-generator)](https://github.com/warengonzaga/pcso-2d-lotto-generator/network/members)\n\n[🚀 Live Demo](https://warengonzaga.github.io/pcso-2d-lotto-generator) • [📖 Documentation](./AGENTS.md) • [🐛 Report Bug](https://github.com/warengonzaga/pcso-2d-lotto-generator/issues) • [✨ Request Feature](https://github.com/warengonzaga/pcso-2d-lotto-generator/issues)\n\n\u003c/div\u003e\n\n---\n\n## 📋 Table of Contents\n\n- [Features](#-features)\n- [Quick Start](#-quick-start)\n- [How It Works](#-how-it-works)\n- [Usage Guide](#-usage-guide)\n- [Tech Stack](#-tech-stack)\n- [Contributing](#-contributing)\n- [License](#-license)\n- [Support](#-support)\n\n## ✨ Features\n\n| Feature | Description |\n|---------|-------------|\n| 🎯 **PCSO 2D Range** | Official Philippine lotto numbers (0-31) |\n| 🔢 **Smart Buffer System** | Generate ±1 or ±2 number variations automatically |\n| 🎲 **Rambolito Mode** | Position-independent winning (7-26 = 26-7) |\n| 💰 **Live Cost Tracker** | Real-time bet calculation (₱20/combo) |\n| ➕ **Unlimited Combos** | Add as many combinations as you need |\n| 📋 **Export Tools** | Copy to clipboard or download as .txt |\n| 📱 **Mobile-First UI** | Responsive design with dark mode theme |\n| ⚡ **Client-Side Only** | No backend needed, runs in your browser |\n\n## 🚀 Quick Start\n\n### 🌐 Online Access\n\n**👉 [Launch App](https://warengonzaga.github.io/pcso-2d-lotto-generator)**\n\nNo installation needed! Use it directly in your browser.\n\n### 💻 Local Development\n\n```bash\n# Clone repository\ngit clone https://github.com/warengonzaga/pcso-2d-lotto-generator.git\ncd pcso-2d-lotto-generator\n\n# Install dependencies\nnpm install\n\n# Start development server\nnpm start\n\n# Open browser at http://localhost:3000\n```\n\n## 🧠 How It Works\n\n### Buffer System Logic\n\nThe buffer generates nearby number variations:\n\n| Buffer | Output Example (for number 15) |\n|--------|-------------------------------|\n| **0** | `15` (exact only) |\n| **1** | `14, 15, 16` (±1 variation) |\n| **2** | `13, 14, 15, 16, 17` (±2 variations) |\n\n### Rambolito Mode Behavior\n\n| Rambolito | Buffer | Result |\n|-----------|--------|--------|\n| ✅ Enabled | Any | Position-independent (7-26 = 26-7) |\n| ❌ Disabled | 0 | Exact position only (7-26 ≠ 26-7) |\n| ❌ Disabled | ≥1 | Generates both positions + buffered variations |\n\n### Output Format\n\n```\n07 26 20 R\n│  │  │  └─ Rambolito flag (if enabled)\n│  │  └──── Bet amount (₱20)\n│  └─────── Second number\n└────────── First number\n```\n\n## 📱 Usage Guide\n\n1. **Enter Numbers** - Input your two lucky numbers (0-31)\n2. **Set Bet Amount** - Configure cost per combination (default: ₱20)\n3. **Choose Buffer** - Select 0, 1, or 2 for variation range\n4. **Toggle Rambolito** - Enable/disable position-independent mode\n5. **Add More** - Click \"Add Combination\" for additional sets\n6. **Generate** - Hit \"Generate Numbers\" to create combinations\n7. **Export** - Copy to clipboard or download as text file\n\n**💡 Pro Tip:** Use Buffer 1-2 with Rambolito disabled to maximize coverage while managing costs.\n\n## 🛠️ Tech Stack\n\n| Layer | Technology |\n|-------|-----------|\n| **Frontend** | Vanilla JavaScript, HTML5, CSS3 |\n| **Backend** | Node.js + Express |\n| **Styling** | Dark mode with neon purple aesthetic |\n| **Hosting** | GitHub Pages (static) |\n| **Philosophy** | No frameworks, pure web fundamentals |\n\n\u003cdetails\u003e\n\u003csummary\u003e📂 Project Structure\u003c/summary\u003e\n\n```\npcso-2d-lotto-generator/\n├── public/\n│   ├── css/\n│   │   └── style.css          # Dark theme styles\n│   ├── js/\n│   │   ├── generator.js       # Core buffer logic\n│   │   └── app.js             # UI interactions\n│   └── index.html             # Main HTML\n├── server.js                  # Express server\n├── AGENTS.md                  # AI agent instructions\n└── package.json\n```\n\u003c/details\u003e\n\n## 🤝 Contributing\n\nContributions are welcome! This project follows the **[Clean Commit Convention](https://github.com/wgtechlabs/clean-commit)** by @wgtechlabs.\n\n### Commit Types\n\n| Emoji | Type | Example |\n|-------|------|---------|\n| 📦 | `new` | `📦 new: add export to CSV feature` |\n| 🔧 | `update` | `🔧 update: improve buffer calculation` |\n| 🗑️ | `remove` | `🗑️ remove: unused lodash dependency` |\n| 🔒 | `security` | `🔒 security: patch XSS vulnerability` |\n| 🧪 | `test` | `🧪 test: add buffer edge cases` |\n| 📖 | `docs` | `📖 docs: update readme examples` |\n\nSee [AGENTS.md](./AGENTS.md) for complete guidelines and all 9 commit types.\n\n### Workflow\n\n```bash\n# 1. Fork and clone\ngit clone https://github.com/YOUR_USERNAME/pcso-2d-lotto-generator.git\n\n# 2. Create feature branch\ngit checkout -b feature/amazing-feature\n\n# 3. Make changes and commit\ngit commit -m '📦 new: add amazing feature'\n\n# 4. Push and create PR\ngit push origin feature/amazing-feature\n```\n\n**Before submitting:**\n- ✅ Test on mobile (375px width minimum)\n- ✅ Verify buffer logic with edge cases\n- ✅ Check cost calculations\n- ✅ Follow clean-commit convention\n\n## 📄 License\n\nGNU General Public License v3.0 - see [LICENSE](LICENSE) file for details.\n\n## 👨‍💻 Author\n\n**Waren Gonzaga**\n- 🌐 Website: [warengonzaga.com](https://warengonzaga.com)\n- 💼 GitHub: [@warengonzaga](https://github.com/warengonzaga)\n\n## ⚠️ Disclaimer\n\nThis tool is for **entertainment and convenience purposes only**. Please play responsibly.\n\n- The author is not responsible for any losses incurred from using this application\n- Gambling can be addictive - seek help if needed\n- This is not affiliated with or endorsed by PCSO\n\n## 💖 Support\n\nIf you find this project helpful:\n\n- ⭐ Star this repository\n- 🔄 Share with fellow lotto players\n- 🐛 [Report issues](https://github.com/warengonzaga/pcso-2d-lotto-generator/issues)\n- 💡 [Suggest features](https://github.com/warengonzaga/pcso-2d-lotto-generator/issues)\n- 🤝 Contribute improvements\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n**Made with ❤️ for Filipino lotto players**\n\n[⬆ Back to Top](#pcso-2d-lotto-generator)\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarengonzaga%2Fpcso-2d-lotto-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarengonzaga%2Fpcso-2d-lotto-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarengonzaga%2Fpcso-2d-lotto-generator/lists"}