A project I made when I had nothing else to do. I was wasting most of my time surfing through Telegram chats. I wanted delete Telegram, but I couldn't because of my telegram channel, so I did it.
This project is built with Deno runtime. I used Hono for web part and GrammY for Telegram bot part and my botland template But it's still in WIP. But you can try it yourself for fun.
- Creates a bot instance with
Grammy
- Creates 3 routes for rendering form and sending the post.
- Gets POST request and sends it's data to your Telegram Channel.
First, clone this repository:
https://github.com/akumarujon/offline-posting
Move to the directory and run the file mod.ts
:
cd offline-posting
deno run -A --unstable mod.ts
You can deploy it directly to Deno Deploy.
- Add Markdown support.
- Refactor code.
This project licensed under MIT. Check License
I don't know If this project can help you with something. But don't forget to star this repository. Motivate me.