Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sharzyl/parenthesis-balancer
- Owner: SharzyL
- License: mit
- Created: 2021-07-10T17:33:34.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-02-29T03:12:01.000Z (11 months ago)
- Last Synced: 2024-02-29T04:25:04.394Z (11 months ago)
- Language: JavaScript
- Size: 343 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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!