https://github.com/nezutero/animun
telegram bot for tracking anime release schedule
https://github.com/nezutero/animun
anime anime-api go golang golang-application golang-tools telegram telegram-bot telegram-bot-api tg tgbot
Last synced: about 1 year ago
JSON representation
telegram bot for tracking anime release schedule
- Host: GitHub
- URL: https://github.com/nezutero/animun
- Owner: nezutero
- License: mit
- Created: 2023-07-25T16:45:45.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-10T17:59:47.000Z (over 1 year ago)
- Last Synced: 2025-03-24T01:35:32.816Z (about 1 year ago)
- Topics: anime, anime-api, go, golang, golang-application, golang-tools, telegram, telegram-bot, telegram-bot-api, tg, tgbot
- Language: Go
- Homepage:
- Size: 32.2 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Tg bot for self use, was created coz I want to track anime release schedule
###

###
###
## Installation
```sh
git clone https://github.com/nezutero/animun
```
## Usage
- Create .env file and inside you should create env variable with your api key:
```.env
TELEGRAM_API_TOKEN=YOUR_TOKEN
```
- You need to uncomment these lines in bot.go if you are going to run it using go run or go build:
```go
// "github.com/joho/godotenv"
```
```go
// err := godotenv.Load("../.env")
// if err != nil {
// fmt.Println("[ERROR] error loading .env file")
// log.Panic(err)
// }
```
- To run it:
```sh
go run main.go
```
- Or build and run:
```sh
go build
```
```sh
./animun
```
#### Run it using Docker:
- You need to paste your api key in dockerfile:
```dockerfile
ENV TELEGRAM_API_TOKEN=YOUR_API_TOKEN
```
- Run it:
```sh
docker build -t your_image_name .
docker run -d -p 8080:80 your_image_name
```
## Contributing
- Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.
- Please make sure to update tests as appropriate.
## License
- [MIT](./LICENSE)