{"id":13565631,"url":"https://github.com/jim380/Botelicious","last_synced_at":"2025-04-03T23:30:25.905Z","repository":{"id":40749963,"uuid":"147327138","full_name":"jim380/Botelicious","owner":"jim380","description":"Botelicious. Make sure you spell it with only one \"o\" ","archived":false,"fork":false,"pushed_at":"2022-12-08T16:27:15.000Z","size":3264,"stargazers_count":18,"open_issues_count":11,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-04T19:41:57.988Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://cyphercore.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jim380.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-04T10:12:21.000Z","updated_at":"2023-05-26T21:30:50.000Z","dependencies_parsed_at":"2023-01-25T07:46:13.833Z","dependency_job_id":null,"html_url":"https://github.com/jim380/Botelicious","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim380%2FBotelicious","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim380%2FBotelicious/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim380%2FBotelicious/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim380%2FBotelicious/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jim380","download_url":"https://codeload.github.com/jim380/Botelicious/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247097531,"owners_count":20883120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T13:01:51.540Z","updated_at":"2025-04-03T23:30:24.135Z","avatar_url":"https://github.com/jim380.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Botelicious - ;) \nA chatbot for making node-specific queries, while featuring a simple alerting system. Currently supports:\u003cbr\u003e\n- Cosmos\u003cbr\u003e\n- Irisnet\n\n## Downloads\n**Prerequisite**\n- [node.js](https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions-enterprise-linux-fedora-and-snap-packages)\n\u003cbr/\u003e```$ curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -```\u003cbr/\u003e```$ sudo apt-get install -y nodejs```\u003cbr\u003e\n1. ```$ git clone https://github.com/jim380/Botelicious```\n## Configuration\n#### Telegram\u003cbr\u003e\n2. ```$ cd Botelicious/Telegram```\u003cbr\u003e\n3. ```$ nano config.json``` and fill in the empty field for ```\"url\"```. You may change the prefix too if you like.\u003cbr\u003e\n4. ```$ nano app.js``` and fill in the empty field for ```token: ''``` at line 128.\u003cbr\u003e\n5. **Optional:** ```$ nano app.js``` and fill in the empty fields for ```apiKey = ''``` and ```apiSecret = ''``` at line 166-167 if you want to get Bitmex working.\u003cbr\u003e\n\n#### Discord\u003cbr\u003e\n2. ```$ cd Botelicious/Discord```\u003cbr\u003e\n3. ```$ nano config.json``` and fill in the empty fields for ```\"token\"``` and ```\"url\"```. You may change the prefix too if you like.\u003cbr\u003e\n\n**Sample config.json**\n```\n{\n  \"token\"  : \"oalehuk4NzYkl9o4Nehtsp0n.qklunl.17jgsplzZK5lbGu6rhskauqyuk1\",\n  \"prefix\" : \"+\",\n  \"cosmos_node\" : {\n    \"url\" : \"111.11.11.11\",\n    \"ports\" : [\"26657\", \"26660\", \"1317\"]\n  }\n}\n```\n## Deploy\n#### Method 1 – from source\n4. ```$ npm i```\n5. ```$ node app.js```\n\n#### Method 2 – via docker\n4. ```$ npm i```\n5. ```$ docker build -t \u003cimage_name\u003e .```\n6. ```$ docker run -i --name \u003cimage_name\u003e \u003ccontainer_name\u003e```\n## Command Glossary\n#### Telegram\u003cbr\u003e\nMenu\u003cbr\u003e\n![Menu](Telegram/pics/node.png)\u003cbr\u003e\nNode Queries\u003cbr\u003e\n![Node Queries](Telegram/pics/node_queries.png)\u003cbr\u003e\nChain Queries\u003cbr\u003e\n![Chain Queries](Telegram/pics/chain_queries.png)\u003cbr\u003e\nAlerts\u003cbr\u003e\n![Alerts](Telegram/pics/alert.png)\u003cbr\u003e\nLCD Queries\u003cbr\u003e\n![LCD Queries](Telegram/pics/lcd.png)\u003cbr\u003e\nBitmex\u003cbr\u003e\n![Bitmex](Telegram/pics/mex.png)\u003cbr\u003e\n#### Discord\n```\nAppend [IP] if querying a node that's not speficied in config.json\n\n+cosmos last block                          (last block height the node is synced at)\n+cosmos node info                           (node-id, address, voting power etc.)  \n+cosmos peers count                         (num. of peers)\n+cosmos peers list                          (list all peers)\n+cosmos validators                          (list all active validators)\n+cosmos genesis validators                  (list all genesis validators) \n+cosmos block [block#]                      (hash and proposer of the block; num. of txs in the block) \n+cosmos proposals                           (all proposals with YES/NO ratio) \n+cosmos txs [txn hash]                      (gas wanted \u0026 gas used in transaction) \n+cosmos subscribe [validator addr]          (get alerts when the validator in query misses blocks) \n+cosmos unsubscribe [validator addr]        (stop alerts) \n\n---\nThe following commands require a running REST server\n\n+cosmos keys                                (all keys available at the supplied account)\n+cosmos mempool flush                       (flush flush)\n+cosmos balance                             (account balance)\n```\nFor use in Irisnet, simple replace ```+cosmos``` with ```+iris```.\n## Contact\n@aakatev\u003cbr/\u003e@jim380\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjim380%2FBotelicious","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjim380%2FBotelicious","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjim380%2FBotelicious/lists"}