Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/professordeveloper/leetweek
This Amazing bot using kotlin for Leetcode users
https://github.com/professordeveloper/leetweek
bot-telegram leetcode leetcode-bot leetcode-solve leetcode-telegram solve-tg tg-bot
Last synced: 19 days ago
JSON representation
This Amazing bot using kotlin for Leetcode users
- Host: GitHub
- URL: https://github.com/professordeveloper/leetweek
- Owner: professorDeveloper
- Created: 2024-10-14T04:47:41.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-10-16T06:44:41.000Z (4 months ago)
- Last Synced: 2024-11-15T04:14:41.693Z (3 months ago)
- Topics: bot-telegram, leetcode, leetcode-bot, leetcode-solve, leetcode-telegram, solve-tg, tg-bot
- Language: Kotlin
- Homepage:
- Size: 726 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Telegram Bot with LeetCode Solve Integration
This project implements a Telegram bot in Kotlin that connects to Firebase to manage tasks, balance (coins), and user data. The bot retrieves tasks, shows the user's coin balance, and stores new user data when a user interacts with the bot for the first time.
## Project Structure
```bash
src
├── bot
│ └── MyTelegramBot.kt # Handles Telegram bot interactions
├── domain
│ ├── Task.kt # Data model representing a Task
│ └── User.kt # Data model representing a User
├── repository
│ ├── JsonTaskRepository.kt # Handles task data storage and retrieval
│ ├── JsonUserRepository.kt # Handles user data storage and retrieval
│ ├── TaskRepository.kt # Abstract interface for Task data
│ └── UserRepository.kt # Abstract interface for User data
├── Main.kt # Entry point of the application
└── (other helper packages) # Additional packages and utilities