Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 month 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 (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-14T16:05:17.000Z (4 months ago)
- Last Synced: 2024-09-18T10:08:52.365Z (3 months 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: 1
- 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)