Skip to content

Simple bot for converting HN links to sharable messages

License

Notifications You must be signed in to change notification settings

chaychoong/hntg

Repository files navigation

Hntg

Simple Telegram bot for converting HN links to sharable messages. A working instance of the bot can be found here: @HNLinkFmtBot.

Development

Make sure you have at least Elixir 1.15 installed.

# Clone the repository
git clone [email protected]:chaychoong/hntg.git
cd hntg

# Install dependencies
mix deps.get

# Run the bot in an iex session
iex -S mix

Deployment

Run fly deploy to deploy the bot to Fly.io. You will need to set the TELEGRAM_BOT_TOKEN environment variable:

fly secrets set TELEGRAM_BOT_TOKEN=your_token_here

If Fly.io is out of the question, you can use the Dockerfile to build an OCI image and run it however you like.

About

Simple bot for converting HN links to sharable messages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published