https://github.com/itz-fork/periodicspellbot
An attempt to recreate reddit's PeriodicSentenceBot.
https://github.com/itz-fork/periodicspellbot
deno periodic-sentence-bot periodic-table-of-elements periodicbot telegram-bot
Last synced: 11 months ago
JSON representation
An attempt to recreate reddit's PeriodicSentenceBot.
- Host: GitHub
- URL: https://github.com/itz-fork/periodicspellbot
- Owner: Itz-fork
- License: mit
- Created: 2024-01-07T17:22:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-07T19:10:34.000Z (over 2 years ago)
- Last Synced: 2025-06-16T14:18:32.093Z (about 1 year ago)
- Topics: deno, periodic-sentence-bot, periodic-table-of-elements, periodicbot, telegram-bot
- Language: TypeScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Periodic Bot
An attempt to recreate reddit's [PeriodicSentenceBot](https://www.reddit.com/user/PeriodicSentenceBot/).
## Prerequisites
- A system with deno installed
- Telegram bot token (from [@BotFather](https://t.me/BotFather))
- Mongodb url (local or srv)
## Deploy
- Clone this repo
```sh
git clone https://github.com/Itz-fork/PeriodicBot && cd PeriodicBot
```
- Setup environmental variables
- `BOT_TOKEN` - Telegram bot token
- `MONGO_URL` - Mongodb url
- Run the bot
```sh
deno run --allow-net --allow-env peridiotic/bot.ts
```
## Known limitations
As the current algorithm is not mature enough, it fails to detect complex sentences or sometimes even the most basic ones.
You can find the current algorithm [here](peridiotic/algorithms/current.ts)