{"id":17403703,"url":"https://github.com/link89/st_demo","last_synced_at":"2025-03-27T22:34:15.413Z","repository":{"id":244818793,"uuid":"816318772","full_name":"link89/st_demo","owner":"link89","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-20T01:47:18.000Z","size":80,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T00:47:34.523Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/link89.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":"2024-06-17T13:53:03.000Z","updated_at":"2024-06-20T01:47:21.000Z","dependencies_parsed_at":"2024-06-17T17:40:32.976Z","dependency_job_id":"b0ece89f-2215-46f9-a134-5e49547c78f3","html_url":"https://github.com/link89/st_demo","commit_stats":null,"previous_names":["link89/st_demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link89%2Fst_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link89%2Fst_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link89%2Fst_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link89%2Fst_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/link89","download_url":"https://codeload.github.com/link89/st_demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245937212,"owners_count":20696973,"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-16T19:07:18.516Z","updated_at":"2025-03-27T22:34:15.380Z","avatar_url":"https://github.com/link89.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Streamlit Demo\n\n## Description\nThis is a demo project to show how to use Streamlit to build a web app with session and authentication support.\n\n## Getting Started\n\nSetup a virtual environment using poetry:\n\n```bash\npoetry install\n```\n\nThis app use GitHub App as OAuth2 provider. \nTo run the app, you need to create a GitHub App first.\n\nYou may follow [Registering a GitHub App - GitHub Docs](https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/registering-a-github-app) to create a GitHub App. Note that the redirect uri should be `http://localhost:8051/` if you run the app locally.\n\nAnd then create a `.streamlit/secrets.toml` file in the project root with the following content:\n```toml\nconfig = \"\"\"\noauth2_provider:\n  client_id: \u003cyour_client_id\u003e\n  client_secret: \u003cyour_client_secret\u003e\n  login_url: https://github.com/login/oauth/authorize\n  access_token_url: https://github.com/login/oauth/access_token\n  redirect_uri: http://localhost:8051/  # change this to your actual redirect uri\n\"\"\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flink89%2Fst_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flink89%2Fst_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flink89%2Fst_demo/lists"}