https://github.com/posixpascal/knusperity
A telegram bot that orders stuff from knuspr.de
https://github.com/posixpascal/knusperity
Last synced: 4 months ago
JSON representation
A telegram bot that orders stuff from knuspr.de
- Host: GitHub
- URL: https://github.com/posixpascal/knusperity
- Owner: posixpascal
- Created: 2022-04-21T08:40:40.000Z (about 4 years ago)
- Default Branch: trunk
- Last Pushed: 2022-04-29T09:08:20.000Z (about 4 years ago)
- Last Synced: 2025-10-12T11:05:08.295Z (8 months ago)
- Language: TypeScript
- Homepage: https://knuspr.de
- Size: 355 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🍪 knusperity
Probably the most sophisticated `knuspr.de order telegram bot` in the world.
Actually... the only [knuspr.de](https://knuspr.de) bot in the world currently. _Why would anyone do this?_
`Knusperity` is a telegram bot that allows a whole telegram group to order products from `knuspr.de`.
You can search for products, import them using knuspr.de-links, interact with your cart,
get nutritional values for each product and checkout right on the spot.
### Screenshots

🥹 Help me
## Get the bot
Unfortunately, due to the way the bot currently works, I'm not hosting the application for the general public.
However, you can easily build and run it yourself by following these instructions:
Clone the repository and run:
```
yarn
```
To start the bot, register your Telegram Bot Token by speaking to @BotFather.
Once you got your bot token, add it to your `.env` file in the root of the repository:
```
KNUSPR_ENDPOINT=https://knuspr.com/api/v2
KNUSPR_EMAIL=[login-email]
KNUSPR_PASSWORD=
TELEGRAM_BOT_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXX
```
Then you can start the bot using:
```
yarn run start
```
Then chat with the bot and write him `/help` to get rolling.
### Duuude, why?
Typical dev experience right there - spend 2 weeks to automate 5 minutes.
_Was it worth it?_ Probably not but then again, the project was originally built to test the capabilities of telegram's bot api as well as [xstate.js](xstate.js.org/). So let's not talk about it. 🥹