Skip to content

Send & receive anonymous messages using Cloudflare Worker and Telegram Bot API.

License

Notifications You must be signed in to change notification settings

ShadowShahriar/ngl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

tl;dr

I made my personal NGL (sort of).

What is NGL?

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

How does it work?

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.

License

The source code is licensed under MIT.

About

Send & receive anonymous messages using Cloudflare Worker and Telegram Bot API.

Topics

Resources

License

Stars

Watchers

Forks