{"id":17683219,"url":"https://github.com/nemanjam/bot-framework","last_synced_at":"2025-07-13T23:35:40.266Z","repository":{"id":102334490,"uuid":"520844613","full_name":"nemanjam/bot-framework","owner":"nemanjam","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-07T19:30:52.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T19:48:37.030Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nemanjam.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-03T10:59:49.000Z","updated_at":"2022-12-05T20:09:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"f5692218-fb6a-4f1b-8134-134ae04ca3f5","html_url":"https://github.com/nemanjam/bot-framework","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nemanjam/bot-framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemanjam%2Fbot-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemanjam%2Fbot-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemanjam%2Fbot-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemanjam%2Fbot-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nemanjam","download_url":"https://codeload.github.com/nemanjam/bot-framework/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemanjam%2Fbot-framework/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265222973,"owners_count":23730327,"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-10-24T09:44:42.190Z","updated_at":"2025-07-13T23:35:40.247Z","avatar_url":"https://github.com/nemanjam.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flask bot\n\n### Forked from:\n\n- https://github.com/nuvic/flask_for_startups\n\n### Run migration with\n\n```bash\nPYTHONPATH=. alembic -c migrations/alembic.ini -x db=dev upgrade head\n```\n\n### Lint and format\n\n- lint: `flake8`, format: `black`\n\n- double definitions:\n\n```ts\n// extensions, settings (format, lint)\n// .devcontainer/devcontainer.json\n\n// .vscode/extensions.json\n// .vscode/settings.json\n```\n\n### Start app\n\n```bash\nflask run\n```\n\n### New how to run in container\n\n```bash\n# migrate db\nalembic -c migrations/alembic.ini -x db=dev upgrade head\n\n# run flask on port 5000\nflask run\n\n\n```\n### Start container\n\n```yaml\n# either flask run and bind 5000 on start\ncommand: sh -c 'cd .. \u0026\u0026 flask run' # this doesn't work\nports:\n    - '5000:5000'\n\n# or sleep infinity and leave 5000 free, then flask run will ask vs code to forward port\ncommand: sleep infinity # that's it\nflask run # in terminal\n# can use or not, either is fine\n\"forwardPorts\": [5000],\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnemanjam%2Fbot-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnemanjam%2Fbot-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnemanjam%2Fbot-framework/lists"}