{"id":17867197,"url":"https://github.com/s/swiftbot","last_synced_at":"2025-08-17T22:11:52.956Z","repository":{"id":71889245,"uuid":"91585204","full_name":"s/SwiftBot","owner":"s","description":null,"archived":false,"fork":false,"pushed_at":"2017-07-12T20:39:51.000Z","size":138,"stargazers_count":4,"open_issues_count":3,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-03T19:22:04.234Z","etag":null,"topics":["bot","chatbot","swift"],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/s.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":"2017-05-17T14:24:49.000Z","updated_at":"2017-06-28T12:05:06.000Z","dependencies_parsed_at":"2023-09-12T12:00:57.127Z","dependency_job_id":null,"html_url":"https://github.com/s/SwiftBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/s/SwiftBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s%2FSwiftBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s%2FSwiftBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s%2FSwiftBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s%2FSwiftBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s","download_url":"https://codeload.github.com/s/SwiftBot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s%2FSwiftBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270912761,"owners_count":24666782,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bot","chatbot","swift"],"created_at":"2024-10-28T09:45:06.534Z","updated_at":"2025-08-17T22:11:52.910Z","avatar_url":"https://github.com/s.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Swift Bot\n\nIt is going to do these tasks:\n- Remind you about things\n- Prepare Coffee\n- Tell where the weather is worse right now\n- BBB\n\n## Some tips\nThere is a config.swift located in Sources/SwiftBot that needs to be modified for local environemnt and contain necessary values:\n- \"PORT\" : \"8080\"\n- \"CLEARDB_DATABASE_URL\": \"mysql://root@127.0.0.1/swiftbot\"\n- \"FACEBOOK_SUBSCRIBE_TOKEN\": ???\n- \"FACEBOOK_PAGE_ACCESS_TOKEN\": ???\n\nif you change it for your envoronment, please also call this to prevent accidental push of this file:\n```git update-index --assume-unchanged```\n\n## Database\nTo test locally, you'll need to do the following:\n```\nbrew install mysql\nbrew services start mysql\nmysql \u003c\u003c\u003c\"CREATE DATABASE swiftbot;\"\n```\nThe Storage module connects to the MySQL database as set through the environment on Heroku, or if no setting is present there to your localhost 'swiftbot' schema. It creates the required table in the swiftbot database.\n\n## Container\n\nTo build docker container use command:\n```\ndocker build --tag bot\n```\n\nTo run docker container you can use next command, that will rebind container port 8080 to your host port 80\n```\ndocker run -p 80:8080 bot\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs%2Fswiftbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs%2Fswiftbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs%2Fswiftbot/lists"}