tl;dr
I made my personal NGL (sort of).
NGL is a mobile app available for both Android and iOS that allows users to send one another anonymous messages. It integrates like an add-on for Instagram to share the responses directly to their stories.
Most of my college friends have started using this app to send private messages. It is like a fun game where you can say and ask basically anything and get witty responses. I really wanted to try this thing. However, I wouldn't prefer to install another app just to receive anonymous messages. I thought, why bother installing when I can make my own NGL?
Now my friends can send me private messages by visiting: https://shadowshahriar.github.io/ngl
The main page uses an HTML form with an action
attribute. The action
attribute sends a GET
request to my Cloudflare Worker located at https://ngl.shadowshahriar.workers.dev. Since the form has only one input field (textarea
), it sends the textarea content in the URL string.
The Cloudflare Worker receives the message, checks if it was sent from my GitHub pages, and sends it to my Telegram bot.
The source code is licensed under MIT.