{"id":16479562,"url":"https://github.com/yeungadrian/portfoliobuilder","last_synced_at":"2026-04-10T12:31:18.717Z","repository":{"id":46716076,"uuid":"249199335","full_name":"yeungadrian/PortfolioBuilder","owner":"yeungadrian","description":"Investment analytics app (FastAPI, Streamlit, Cloud Run)","archived":false,"fork":false,"pushed_at":"2025-12-16T00:49:54.000Z","size":17677,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T22:55:25.525Z","etag":null,"topics":["fastapi","google-cloud","python"],"latest_commit_sha":null,"homepage":"https://portfoliobuilder.streamlit.app","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/yeungadrian.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-03-22T14:21:06.000Z","updated_at":"2025-12-16T00:49:51.000Z","dependencies_parsed_at":"2024-07-23T01:13:03.188Z","dependency_job_id":"a6934585-0ef4-439b-9d17-abc561e15b7e","html_url":"https://github.com/yeungadrian/PortfolioBuilder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yeungadrian/PortfolioBuilder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeungadrian%2FPortfolioBuilder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeungadrian%2FPortfolioBuilder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeungadrian%2FPortfolioBuilder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeungadrian%2FPortfolioBuilder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yeungadrian","download_url":"https://codeload.github.com/yeungadrian/PortfolioBuilder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeungadrian%2FPortfolioBuilder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31642671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: 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":["fastapi","google-cloud","python"],"created_at":"2024-10-11T12:52:14.305Z","updated_at":"2026-04-10T12:31:18.682Z","avatar_url":"https://github.com/yeungadrian.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PortfolioBuilder\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/yeungadrian/PortfolioBuilder/actions/workflows/test.yml?query=branch%3Amain+event%3Apush+\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://github.com/yeungadrian/PortfolioBuilder/actions/workflows/test.yml/badge.svg?branch=main\u0026event=push\" alt=\"Test\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/yeungadrian/PortfolioBuilder/actions/workflows/build-push.yml?query=branch%3Amain\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://github.com/yeungadrian/PortfolioBuilder/actions/workflows/build-push.yml/badge.svg?branch=main\" alt=\"Build\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/yeungadrian/PortfolioBuilder/actions/workflows/deploy.yml?query=branch%3Amain\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://github.com/yeungadrian/PortfolioBuilder/actions/workflows/deploy.yml/badge.svg?branch=main\" alt=\"Deploy\"\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n![](assets/backtest.png)\n\nView live API docs @ https://portfoliobuilder-jfv66mvjvq-ew.a.run.app/redoc\n\nGoals:\n1. Minimalish but still effective FastAPI + Github Action setup\n2. Exploring severless with Google Cloud (Artifact Regsitry, Cloud Run)\n3. Refresh knowledge on portfolio optimisation\n\n## Quickstart\nRun locally with uv\n```\nuv sync --all-extras\nuv run uvicorn app.main:app --reload\nuv run streamlit run streamlit_app.py\n```\nRun locally with docker\n```\ndocker build -t portfoliobuilder .\ndocker run --rm -it -p 8000:8000/tcp portfoliobuilder:latest\n```\n## Architecture\n\n```mermaid\narchitecture-beta\n    group github(cloud)[Github]\n    service github_action(cloud)[Github Actions] in github\n\n\n    group google_cloud(cloud)[Google Cloud]\n    service artifact_registry(cloud)[Artifact Registry] in google_cloud\n    service cloud_run(cloud)[Google Cloud Run] in google_cloud\n\n    group StreamlitCloud(cloud)[Streamlit Cloud]\n    service Streamlit(cloud)[Streamlit] in StreamlitCloud\n\n    github_action:R --\u003e L:artifact_registry\n    github_action:R --\u003e L:cloud_run\n    artifact_registry:T --\u003e B:cloud_run\n\n    cloud_run:R --\u003e L:Streamlit\n```\nNote: Mermaid supported icons is very limited for now.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeungadrian%2Fportfoliobuilder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyeungadrian%2Fportfoliobuilder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeungadrian%2Fportfoliobuilder/lists"}