My Luy is a personal expense tracker that integrates with Telegram to help you manage your expenses seamlessly.
- Easy-to-use Telegram bot interface for managing your expenses.
- Dockerized setup for quick deployment.
- Currency initialization to support multi-currency expense tracking.
- Docker and Docker Compose installed on your system.
- A Telegram bot token (create one via BotFather).
-
Clone the repository
git clone https://github.com/KimangKhenng/my_luy.git cd my-luy
-
Set up the Telegram bot token
- Go to BotFather on Telegram and create a bot to get your bot token.
- Copy .env.example to .env
cp .env.example .env
- Replace BOT_TOKEN in the .env file with your Telegram bot token.
-
Start the application with Docker Compose
docker compose up -d
-
Initialize the bot menu
docker exec -it my_luy-myluy-1 pnpm run init-bot
-
Initialize currencies in the database
docker exec -it my_luy-myluy-1 pnpm run init-currency
To start the application in the background:
docker compose up -d
To stop the application:
docker compose down
To view logs for the running services:
docker compose logs -f
If you make changes to the code or configurations (package.json), rebuild the services:
docker compose up --build
- Ensure that your .env file is correctly configured before starting the application.
- You can manage and customize bot commands through the Telegram BotFather interface.
Feel free to submit any issues or feature requests via the Issues section. 😊