{"id":20384416,"url":"https://github.com/siriyas/linebot-covid","last_synced_at":"2026-04-17T18:02:59.703Z","repository":{"id":114647194,"uuid":"252711328","full_name":"SiriyaS/linebot-covid","owner":"SiriyaS","description":"LINE messaging api with Flask","archived":false,"fork":false,"pushed_at":"2020-06-20T10:44:09.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-04T23:13:11.093Z","etag":null,"topics":["flask","heroku","linebot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SiriyaS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-03T11:24:19.000Z","updated_at":"2021-01-23T17:57:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"45e67f0f-1e04-4ee4-8d5d-aa8c473ba51d","html_url":"https://github.com/SiriyaS/linebot-covid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SiriyaS/linebot-covid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SiriyaS%2Flinebot-covid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SiriyaS%2Flinebot-covid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SiriyaS%2Flinebot-covid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SiriyaS%2Flinebot-covid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SiriyaS","download_url":"https://codeload.github.com/SiriyaS/linebot-covid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SiriyaS%2Flinebot-covid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31939788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["flask","heroku","linebot"],"created_at":"2024-11-15T02:27:43.987Z","updated_at":"2026-04-17T18:02:59.687Z","avatar_url":"https://github.com/SiriyaS.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# linebot-covid\nLINE messaging api with Flask\n\n### linebot COVID-19 Tracker (only infection in Thailand)\n## Setting Line Official Account\ncreate your line messaging API in https://developers.line.me/\n\n※ set **Auto-reply messages** to **Disable**\n\n※ also **Enabled webhook**\n\n※ copy your **Channel secret** and **Channel access token**\n\nReady to implement your code!\n\n## Implement Line API\n※ clone this repository\n```\ngit clone https://github.com/SiriyaS/linebot-covid.git\n```\ncd to the project\n\n※ set up virtual environment (if you don't have, install by `pip install virtualenv` first)\n```\nvirtualenv -p python3 venv\n```\n※ activate the virtual environment\n```\nsource venv/bin/activate\n```\nyou can deactivate the virtual environment by type `deactivate` in terminal\n\n※ install all dependencies in project\n```\npip install -r requirements.txt\n```\n※ change **Channel secret** and **Channel access token** to yours\n\nIt's time to implement your line API logic!\n\n※ the **logic** for linebot to answer the chat is in `function handle_message` \n\n※ the **text messeage** from the chat room is `event.message.text` variable\n\n※ this line is how your linebot gonna answer (`reply_message` is the message your bot gonna answer)\n```\nline_bot_api.reply_message(\n        event.reply_token,\n        reply_message)\n```\n※ when you finish implementing the code **push** your work to your own **GitHub**\n\nNext we gonna deploy our work to Heroku\n\n## Deploy your code to Heroku\nsign in to Heroku https://id.heroku.com/login and **create new app**\n\n※ for **Deployment Method** select **GitHub**\n\n※ select **GitHub repository** and **branch** you want to connect with\n\n※ for **Automatic Deploys** click **Enable Automatic Deploys** (if you want to deploy your work automatically whenever you push to GitHub)\n\n※ (optional) for **Manual Deploy** click **Deploy branch**\n\nNow, Let's connect Webhook to your linebot\n\n## Add Webhook URL to your channel\nBack to LINE Developer\nIn **Messaging API** tab goes down to **Webhook Setting**\n\n※ add webhook URL ex. `https://\u003capp_name\u003e.herokuapp.com/webhook`\n\n※ click **Verify**, you should see **Success** pop-up window\n\n##\n\n🎉 Congratulation! Now your LINE bot is ready.\n\nAdd friend and start chatting.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiriyas%2Flinebot-covid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiriyas%2Flinebot-covid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiriyas%2Flinebot-covid/lists"}