@wikiukbot - A telegram bot to search the Ukrainian Wikipedia in inline mode
A very simple project was made in a hour just because I did not find something for it.
It is written in Node.js (ESM, that is why .mjs file extension) using grammY as a Telegram Bot API client.
Firstly, you need to register your bot on Telegram, using @BotFather
You also need a Node.js [>=20.12.0 due to
process.loadEnvFile()
] runtime for JavaScript(It does not work with Deno due to
process.loadEnvFile()
and I have no clue if it works with Bun, so let me know if it does)
git clone https://github.com/skrwo/wikiukbot
cd wikiukbot
See .env.example file. You can either fill .env file or set the actual environment variables
Using Node.js with npm: npm i
Using Node.js with npm: npm run start
Deployment will fail because vercel does not allow you to configure your project at this step
Key | Value |
---|---|
TELEGRAM_TOKEN | Your telegram bot token here |