Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jannisborn/coinbot
A telegram coin bot to aid in collecting coins
https://github.com/jannisborn/coinbot
Last synced: about 1 month ago
JSON representation
A telegram coin bot to aid in collecting coins
- Host: GitHub
- URL: https://github.com/jannisborn/coinbot
- Owner: jannisborn
- License: mit
- Created: 2024-01-24T22:44:18.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-12-02T16:52:43.000Z (about 1 month ago)
- Last Synced: 2024-12-07T12:29:55.430Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 7.25 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Coinbot 🤖🪙
![GitHub last commit](https://img.shields.io/github/last-commit/jannisborn/coinbot)
![GitHub issues](https://img.shields.io/github/issues/jannisborn/coinbot)
![Python version](https://img.shields.io/badge/python-3.8+-blue.svg)I am building one of the largest collection of different euro coins collected from free currency circulation.
Each euro coin has:
- a value (1 cent to 2 euro)
- a country (currently 20)
- a year (1999 until today)
- (German coin mints additionally have a single character denoting the minting location)As of mid 2024, there are 2801 coins, from which i have collected almost 1400 (~50%).
This Telegram coinbot helps me (and enthusiastic fellows) to identify and catalog new coins. It's perfect for numismatics enthusiasts and casual collectors alike!Text the Telegram coinbot with [@coincollectionbot](https://t.me/coincollectionbot)
### Screenshots 📸
| Request | Status |
|:-------:|:------:|
| ![Request](assets/request.png) | ![Status](assets/status.png) |# Development Setup 🛠️
## Installation
```sh
git clone https://github.com/jannisborn/coinbot.git
cd coinbot
poetry install
poetry shell
```## Local deployment
NOTE: You will need the `secrets.json` file with the tokens for Telegram and Anyscale (LLMs) and the public link to the source file. Open an issue if you need help
Then run:
```sh
python app.py
```# Production 🌐
On Linux, place the file `coinbot.service` into your `/etc/systemd/system/`. Then run:
```sh
sudo systemctl daemon-reload # Reload daemon
# start on boot
sudo systemctl enable coinbot.service
sudo systemctl start coinbot.service
```Some useful commands:
```sh
# Check service is up
sudo systemctl status coinbot.service# Restart service
sudo systemctl restart coinbot.service# Fetch logs
journalctl -u coinbot.service -o cat --no-pager# Remove logs
sudo journalctl --vacuum-time=1s
# or to be aggressive
sudo rm -rf /var/log/journal/*
```