{"id":20126702,"url":"https://github.com/cc-d/open2fa-server","last_synced_at":"2025-06-26T16:09:50.638Z","repository":{"id":217686888,"uuid":"744523065","full_name":"cc-d/open2fa-server","owner":"cc-d","description":"api/webui for open2fa","archived":false,"fork":false,"pushed_at":"2025-06-04T22:57:41.000Z","size":5731,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-26T16:09:29.520Z","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/cc-d.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,"zenodo":null}},"created_at":"2024-01-17T13:28:23.000Z","updated_at":"2025-06-04T22:57:42.000Z","dependencies_parsed_at":"2024-02-18T17:48:37.632Z","dependency_job_id":"dca8fb40-2a27-448d-941f-f0ecd678bb72","html_url":"https://github.com/cc-d/open2fa-server","commit_stats":null,"previous_names":["cc-d/open2fa-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cc-d/open2fa-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cc-d%2Fopen2fa-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cc-d%2Fopen2fa-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cc-d%2Fopen2fa-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cc-d%2Fopen2fa-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cc-d","download_url":"https://codeload.github.com/cc-d/open2fa-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cc-d%2Fopen2fa-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262099728,"owners_count":23258670,"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-11-13T20:17:19.357Z","updated_at":"2025-06-26T16:09:50.610Z","avatar_url":"https://github.com/cc-d.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# open2fa-server\n\n[open2fa.liberfy.ai](https://open2fa.liberfy.ai) NOW LIVE\n\n[open2fa client](https://github.com/cc-d/open2fa)\n\nThis is the code for the webui/api enabling the remote capabilities of the open2fa client.\n\n## Security\n\nThe Frontend Javascript has been kept to absolute minimum for security reasons, and is implemented entirely in VanillaJS without any 3rd party libraries or frameworks. All the frontend code is in `nginx/html/js/index.js`. That being said, if you have serious security concerns, you should not be generating 2FA codes using the webui, and should instead use the open2fa client exclusively.\n\n## How it works\n\nSee: [open2fa.liberfy.ai](https://open2fa.liberfy.ai)\n\n![how it works](/sync.png)\n\n## Installation\n\nFirst, clone the repository:\n\n```bash\ngit clone https://github.com/cc-d/open2fa.git\n```\n\nThen, create a virtual environment and install the dependencies:\n\n```bash\ncd open2fa\npython3 -m venv venv\nsource venv/bin/activate\npip install -r reqs.txt\n```\n\nYou will probably also need to install `sqlite3`:\n\n```bash\nsudo apt-get install sqlite3\n```\n\n## Usage\n\nTo run the server, simply execute:\n\n```bash\n./uvicorn.sh\n```\n\n### Docker\n\nTo run the server using Docker, simply execute:\n\n```bash\ndocker-compose build\ndocker-compose up\n```\n\nAnd then navigate to `http://localhost:80` in your web browser.\n\n## Testing\n\nTo run the tests, simply execute:\n\n```bash\n./run_tests.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcc-d%2Fopen2fa-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcc-d%2Fopen2fa-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcc-d%2Fopen2fa-server/lists"}