{"id":24762186,"url":"https://github.com/mmt2048/2048-fullstack-old","last_synced_at":"2026-02-23T10:12:16.618Z","repository":{"id":269702923,"uuid":"908190325","full_name":"TimNekk/2048-telegram-mini-app","owner":"TimNekk","description":"2048 Game within Telegram Mini App","archived":false,"fork":false,"pushed_at":"2025-01-24T10:45:55.000Z","size":425,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"prod","last_synced_at":"2025-01-24T11:29:13.245Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/TimNekk.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}},"created_at":"2024-12-25T11:51:24.000Z","updated_at":"2025-01-24T10:46:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"2be985b8-c9d2-4497-8eae-f433d41ae864","html_url":"https://github.com/TimNekk/2048-telegram-mini-app","commit_stats":null,"previous_names":["timnekk/2048-telegram-mini-app"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimNekk%2F2048-telegram-mini-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimNekk%2F2048-telegram-mini-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimNekk%2F2048-telegram-mini-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimNekk%2F2048-telegram-mini-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimNekk","download_url":"https://codeload.github.com/TimNekk/2048-telegram-mini-app/tar.gz/refs/heads/prod","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236074988,"owners_count":19090863,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-01-28T19:28:59.519Z","updated_at":"2025-10-11T09:31:18.428Z","avatar_url":"https://github.com/TimNekk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e🎮 2048 Telegram Mini App\u003c/h1\u003e\n\n  [![React](https://img.shields.io/badge/React-20232A?style=for-the-badge\u0026logo=react\u0026logoColor=61DAFB)](https://reactjs.org/)\n  [![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge\u0026logo=typescript\u0026logoColor=white)](https://www.typescriptlang.org/)\n  [![Go](https://img.shields.io/badge/Go-00ADD8?style=for-the-badge\u0026logo=go\u0026logoColor=white)](https://go.dev/)\n  [![Python](https://img.shields.io/badge/Python-3776AB?style=for-the-badge\u0026logo=python\u0026logoColor=white)](https://www.python.org/)\n  [![Docker](https://img.shields.io/badge/Docker-2496ED?style=for-the-badge\u0026logo=docker\u0026logoColor=white)](https://www.docker.com/)\n  [![Telegram](https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge\u0026logo=telegram\u0026logoColor=white)](https://telegram.org/)\n\u003c/div\u003e\n\n## 🌟 Overview\n\nA modern implementation of the classic 2048 game as a Telegram Mini App, featuring a Telegram bot for game interactions and user engagement. This project combines the addictive gameplay of 2048 with seamless Telegram integration and a sleek, responsive design optimized for the Telegram platform.\n\n## 🏗️ Project Structure\n\nThe project consists of three main components:\n\n### 🎨 Web Frontend (`/web`)\n- Telegram Mini App built with React 18 and TypeScript\n- Telegram UI components for native look and feel\n- Telegram Apps SDK for platform integration\n- SWR for data fetching\n- Vite as build tool\n- Full responsive design optimized for Telegram\n- Deployment ready for Telegram Mini App hosting\n\n### 🔧 API (`/api`)\n- Written in Go\n- Clean architecture with internal/pkg structure\n- Docker containerization\n- Environment configuration support\n- Makefile for common operations\n- Air for live reload during development\n- Configured for Dokploy deployment\n\n### 🤖 Bot (`/bot`)\n- Telegram Bot implementation in Python\n- UV package manager for dependencies\n- Containerized with Docker\n- Modular source structure in src/\n- Handles user interactions and game management through Telegram\n- Integrated with Telegram Bot API\n\n## ✨ Features\n\n- 🎯 Classic 2048 gameplay optimized for Telegram\n- 🤖 Telegram Bot for game management and user interaction\n- 📊 Score tracking and statistics through Telegram\n- 🎮 Smooth animations and responsive design\n- 🌐 API for game state management\n- 🐳 Docker support with Dokploy configuration\n- 📱 Native Telegram UI integration\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- Node.js (v18 or higher)\n- Go 1.21+\n- Python 3.8+\n- Docker and Docker Compose\n- Make (for API development)\n- Telegram account for testing\n\n### Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/yourusername/2048.git\ncd 2048\n```\n\n2. Start the web application:\n```bash\ncd web\nnpm install\nnpm run dev\n```\n\n3. Start the API server:\n```bash\ncd api\nmake run\n# Or with Docker:\ndocker-compose up api\n```\n\n4. Run the bot (optional):\n```bash\ncd bot\npython -m venv .venv\nsource .venv/bin/activate  # On Windows: .venv\\Scripts\\activate\npip install -r requirements.txt\npython -m src\n```\n\n### 🐳 Deployment\n\nThe project is configured for deployment using Dokploy:\n\n```bash\n# Deploy the entire stack\ndokploy up\n\n# Deploy specific services\ndokploy up api\ndokploy up bot\ndokploy up web\n```\n\nEnvironment configuration is managed through Dokploy for each component.\n\n## 🎮 How to Play\n\n1. Use arrow keys or swipe gestures to move tiles\n2. Combine matching numbers to create larger values\n3. Win promocodes\n\n## 🤖 Bot Features\n\n- Implements advanced game-playing strategies\n- Can be used to analyze game states\n- Provides move suggestions\n- Demonstrates optimal playing techniques\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## 🌟 Acknowledgments\n\n- Original 2048 game by Gabriele Cirulli\n- React and TypeScript communities\n- Telegram community\n- All contributors and players!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmt2048%2F2048-fullstack-old","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmt2048%2F2048-fullstack-old","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmt2048%2F2048-fullstack-old/lists"}