Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sharzyl/parenthesis-balancer

A telegram bot to balance parenthesis in the world
https://github.com/sharzyl/parenthesis-balancer

Last synced: 2 months ago
JSON representation

A telegram bot to balance parenthesis in the world

Awesome Lists containing this project

README

        

# Parenthesis Balancer

Save the world from those who broke the subtle balance between left parentheses and right parentheses.

## How It Looks Like?

![Usage example](assets/example.png)

## Deployment

1. `mv constants.example.js constants.js; mv wrangler.example.toml wrangler.toml`, modify the content of these two files.
2. `wrangler publish`, login if needed.
3. Set webhook: `curl 'https://api.telegram.org/bot/setWebhook?url=https:///'`

## Known Issues

Quotation marks are not handled in the current version. Because:

1. The usage of quotation marks in different languages are very complicated (refer to [wikipedia](https://en.wikipedia.org/wiki/Quotation_mark)).
2. Apostrophe can be used as the quotation mark. But it can also be used to mark emission (don't) and possessive case (John's and Janes').

Welcome for contributions and suggestions!