Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xxgicoxx/devtools-bot
Serverless Telegram bot for development tools.
https://github.com/xxgicoxx/devtools-bot
development devtools serverless tools vercel vercel-serverless
Last synced: 6 days ago
JSON representation
Serverless Telegram bot for development tools.
- Host: GitHub
- URL: https://github.com/xxgicoxx/devtools-bot
- Owner: xxgicoxx
- License: mit
- Created: 2021-04-02T18:47:10.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-25T04:37:05.000Z (almost 2 years ago)
- Last Synced: 2024-12-30T19:37:00.488Z (10 days ago)
- Topics: development, devtools, serverless, tools, vercel, vercel-serverless
- Language: JavaScript
- Homepage: https://t.me/toolsdevbot
- Size: 63.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# DevTools Bot
Serverless Telegram bot for development tools.
# Features
* /bcrypt `text` - Text to bcrypt hash
* /binary `text` - Text to binary
* /hex `text` - HEX to ASCII
* /md5 `text` - Text to MD5 hash
* /short `url` - Short url
* /slug `text` - Slug text
* /uuid - Generate UUID
* /help - Help# Prerequisites
* [Node.js](https://nodejs.org/en/)# Running
### 1. Telegram
````
# Create an Telegram bot
Find @BotFather on Telegram, type /newbot and follow the instructions.# Credentials
Save your token from @BotFather.
````### 2. Vercel Deploy
````
# Account
Create an Vercel account on https://vercel.com/.# Install Vercel CLI
npm install -g vercel# Vercel CLI login
vercel login# Deploy
vercel# Set Vercel environment variables
TELEGRAM_USERNAME
TELEGRAM_TOKEN
````### 3. Setting up the Telegram webhook
````
curl --location --request POST https://api.telegram.org/bot/setWebhook --header 'Content-type: application/json' --data '{"url": "https://project-name.username.vercel.app/api/webhook"}'
````# Built With
* [Node.js](https://nodejs.org/en/)# Authors
* [xxgicoxx](https://github.com/xxgicoxx/)# Acknowledgments
* [FlatIcon](https://www.flaticon.com/)