Project Task Manager is a Telegram Web App that allows users to manage tasks and projects directly within Telegram. It provides a seamless integration with Telegram's interface, offering features like task creation, project management, and bot integration for collaborative work.
- User authentication via Telegram
- Task creation and management
- Project organization
- Bot integration for group chats
- User profile management
- Subscription options (Free/Pro)
- Next.js
- React
- TypeScript
- Telegram Bot API
- @twa-dev/sdk for Telegram Web App integration
- Tailwind CSS for styling
- Lucide React for icons
-
Clone the repository:
git clone https://github.com/your-username/project-task-manager.git
-
Install dependencies:
cd project-task-manager npm install
-
Set up environment variables: Create a
.env.local
file in the root directory and add the following:TELEGRAM_API_ID=your_api_id TELEGRAM_API_HASH=your_api_hash TELEGRAM_BOT_TOKEN=your_bot_token
-
Run the development server:
npm run dev
-
Open http://localhost:3000 with your browser to see the result.
/app
: Next.js app router and API routes/components
: React components/public
: Static files/styles
: Global styles
TelegramWebApp.tsx
: Main component for Telegram Web App integrationTaskManager.tsx
: Task management interfaceTaskList.tsx
: List of tasksUserProfile.tsx
: User profile management
/api/getChats
: Fetches user's Telegram chats/api/addBotToChat
: Adds the bot to a specified chat
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.