{"id":18420729,"url":"https://github.com/maximedgr/eth-gasprice-fluctuation","last_synced_at":"2025-04-13T09:39:10.805Z","repository":{"id":64232239,"uuid":"569453321","full_name":"maximedgr/ETH-GasPrice-Fluctuation","owner":"maximedgr","description":"Bash project to scrap Etherscan API and visualize via a front-end app abnormal values of ETH Gas Price.","archived":false,"fork":false,"pushed_at":"2023-01-15T16:11:20.000Z","size":91,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T07:16:44.807Z","etag":null,"topics":["api","bash-script","bot"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/maximedgr.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":"2022-11-22T21:31:31.000Z","updated_at":"2023-01-17T20:53:05.000Z","dependencies_parsed_at":"2023-02-09T22:45:41.683Z","dependency_job_id":null,"html_url":"https://github.com/maximedgr/ETH-GasPrice-Fluctuation","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/maximedgr%2FETH-GasPrice-Fluctuation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximedgr%2FETH-GasPrice-Fluctuation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximedgr%2FETH-GasPrice-Fluctuation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximedgr%2FETH-GasPrice-Fluctuation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maximedgr","download_url":"https://codeload.github.com/maximedgr/ETH-GasPrice-Fluctuation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248692448,"owners_count":21146574,"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":["api","bash-script","bot"],"created_at":"2024-11-06T04:22:51.594Z","updated_at":"2025-04-13T09:39:10.782Z","avatar_url":"https://github.com/maximedgr.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ethereum - Gas Price Abnormal Value\nApplication alerting a user via console and web visualization of abnormal variations in the ETH GasPrice datas.  \n\nIn this project we define as \"abnormal variations\" a current value which is outside an confidence interval of 95%.\n\nYou can host it directly on your machine or on a remote server to host your front-end app.\n\n# Bot Configuration \nClone this repo :\n```\ngit clone \u003crepo_url\u003e\n```\n\nEnable script execution :\n```\nchmod u+x init.sh\nchmod u+x ic.sh\nchmod u+x bot.sh\nchmod u+x insert.sh\nchmod u+x read.sh\n```\n\nInstall sqlite3 :\n```\nsudo apt-get install sqlite3\n```\n\nThen run init.sh to setup the database : \n```\n./init.sh\n```\n\nFinally try bot.sh and verify console output : \n```\n./bot.sh\n```\n\n# Linux / Cron Job configuration\n\nOn your linux instance, after cloning this repo you can setup a cron job to get Telegram notification every 30min for example.\nGo into the project folder and run :\n```\n$ crontab –e\n```\nIn the crontab terminal edit and write :\n```\n* * * * *  \u003cPATH_TO_bot.sh\u003e\n```\nClose the terminal and you should get a sucess message.\n\n```\n\u003e crontab: installing new crontab\n```\n\nCheck that cron is running :\n```\nps -ef | grep cron\n```\n\n\n# Front-end App\nOnce installed you can setup an NGINX web server to access your front-end app.  \nHTML file is generated by ic.sh script and saved here by default : \"/var/www/eth-gas-price-web/index.html\".  \nFeel free to change this path to match your NGINX server configuration.  \n\n![Front image](https://i.ibb.co/s54jsp1/html.png)  \n\n\n# Etherscan API :\n[Gas Price API](https://api.etherscan.io/api?module=gastracker\u0026action=gasoracle)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximedgr%2Feth-gasprice-fluctuation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaximedgr%2Feth-gasprice-fluctuation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximedgr%2Feth-gasprice-fluctuation/lists"}