{"id":25282293,"url":"https://github.com/andrewhsugithub/synthhead-fusion","last_synced_at":"2026-02-12T22:02:00.444Z","repository":{"id":253569913,"uuid":"843873438","full_name":"andrewhsugithub/SynthHead-Fusion","owner":"andrewhsugithub","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-18T10:46:04.000Z","size":77017,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-27T18:41:25.572Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/andrewhsugithub.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":"2024-08-17T17:18:32.000Z","updated_at":"2025-08-23T12:42:18.000Z","dependencies_parsed_at":"2024-11-16T13:24:44.405Z","dependency_job_id":"c8576cd0-f5a2-4327-ba07-026f89e2d5f1","html_url":"https://github.com/andrewhsugithub/SynthHead-Fusion","commit_stats":null,"previous_names":["andrewhsugithub/synthhead-fusion"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrewhsugithub/SynthHead-Fusion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewhsugithub%2FSynthHead-Fusion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewhsugithub%2FSynthHead-Fusion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewhsugithub%2FSynthHead-Fusion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewhsugithub%2FSynthHead-Fusion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewhsugithub","download_url":"https://codeload.github.com/andrewhsugithub/SynthHead-Fusion/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewhsugithub%2FSynthHead-Fusion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29382870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T20:34:40.886Z","status":"ssl_error","status_checked_at":"2026-02-12T20:23:00.490Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2025-02-12T19:34:02.342Z","updated_at":"2026-02-12T22:02:00.425Z","avatar_url":"https://github.com/andrewhsugithub.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# Getting Started\n\n1. git clone\n\n   ```bash\n   git clone git@github.com:andrewhsugithub/SynthHead-Fusion.git --recursive\n   git submodule update --recursive\n   pnpm i\n   ```\n\n2. copy env files\n\n   ```bash\n   cp ./scripts/.env.sh.template ./scripts/.env.sh\n   cp ./scripts/services/.env.server ./scripts/services/.env.server\n   ```\n\n   Enter the env values\n\n3. update user db\n\n   ```bash\n   cd packages/user\n   docker compose up\n   pnpm user:db\n   docker compose down\n   ```\n\n4. copy env and paste your pubic key(.pem file) into keys folder for each microservice\n\n   - auth service\n\n   ```bash\n   cd packages/auth/\n   cp .env.template .env\n   ```\n\n   - bucket service\n\n   ```bash\n   cd packages/bucket/\n   cp .env.template .env\n   cp .env.server.template .env.server\n   ```\n\n   - GPT-Audio\n\n   ```bash\n   cd packages/GPT-Audio/\n   cp .env.template .env\n   cp .env.server.template .env.server\n   ```\n\n   - GPT-SoVITS-Inference\n\n   ```bash\n   cd packages/GPT-SoVITS-Inference/\n   cp .env.server.template .env.server\n   ```\n\n   - LivePortrait\n\n   ```bash\n   cd packages/LivePortrait/\n   cp .env.server.template .env.server\n   ```\n\n   - MuseTalk\n\n   ```bash\n   cd packages/MuseTalk/\n   cp .env.template .env\n   cp .env.server.template .env.server\n   ```\n\n   - Real3DPortrait\n\n   ```bash\n   cd packages/Real3DPortrait/\n   cp .env.server.template .env.server\n   ```\n\n   Enter the env values\n\n5. spin up servers\n\n   ```bash\n   docker compose up\n   pnpm dev:remote\n   ```\n\n\u003e Note: all env values can be found in discord\n\n## Spinning up the servers for each microservice\n\nRun each service in an independent shell.\n\n1. GPT-SoVITS-Inference\n\n```bash\nbash ./scripts/services/GPT-SoVITS-Inference.sh\n```\n\nPort: 5000\n\n2. GPT-Audio (depends on GPT-SoVITS-Inference)\n\n```bash\nbash ./scripts/services/GPT-Audio.sh\n```\n\nPort: 7998\n\n3. MuseTalk\n\n```bash\nbash ./scripts/services/MuseTalk.sh\n```\n\nPort:7999\n\n4. Real3DPortrait\n\n```bash\nbash ./scripts/services/Real3DPortrait.sh\n```\n\nPort: 8001\n\n5. LivePortrait\n\n```bash\nbash ./scripts/services/LivePortrait.sh\n```\n\nPort: 8000\n\n6. Bucket\n\n```bash\nbash ./scripts/services/bucket.sh\n```\n\nPort: 3002\n\n# Adding submodules\n\n\u003e Note: to avoid sync errors I've temporarily put the repos that are not submodules in `.gitignore`, so if you've decided to add your repo to submodules \u003cspan style=\"color:red\"\u003e**_remember to remove them from `.gitignore`_**\u003c/span\u003e\n\n```bash\ncd ml/\ngit submodule add \u003cremote_url\u003e \u003crepo_name\u003e\n\ngit status # (optional): see your repo is untracked or not\ngit add \u003crepo_name\u003e\ngit commit -m \u003ccommit_message\u003e\ngit push\n```\n\n# Updating repo\n\n```bash\ngit switch main\ngit pull\ngit submodule update --recursive\n```\n\nor (WIP: need to wait for all submodules to be added)\n\n```bash\ncd ml/scripts/\nbash sync_repo.sh \u003cbranch_name\u003e\n```\n\n# Contributing on same server\n\nTo see who's name is it now:\n\n```bash\ncd \u003cthe_repo_contributing\u003e\ngit config --local --list\n```\n\nRemember to change your name when contributing\n\n```bash\ncd \u003cthe_repo_contributing\u003e\ngit config --local user.email \u003cyour_email\u003e\ngit config --local user.name \u003cyour_username\u003e\n```\n\nexample:\n\n```bash\ncd LivePortrait/\ngit config --local user.email andrew1mail@gmail.com\ngit config --local user.name andrewhsugithub\n\ngit config --local user.email h0920185003@gmail.com\ngit config --local user.name h44343880\n```\n\n# How to run each model respectively\n\nReal3DPortrait:\n\n```bash\ncd Real3DPortrait/\nbash ./start.sh\n```\n\nGPT-SoVITS-Inference:\n\n```bash\ncd GPT-SoVITS-Inference/\nbash ./start.sh\n```\n\nLivePortrait:\n\n```bash\ncd LivePortrait/\nbash ./start.sh\n```\n\nGPT-Audio:\n\n```bash\ncd GPT-Audio\nbash ./start.sh\n```\n\n# How to run all\n\n1. add env variables\n\n```bash\ncp ./scripts/.env.sh.template ./scripts/.env.sh\n```\n\n2.\n\n```bash\nbash ./scripts/run_all.sh\n```\n\n## TODO\n\n- [ ] add logger, openapi, docs to every service\n- [ ] add Read3D-Interface into submodule\n- [ ] add videoCutting into submodule\n- [ ] turn into web app\n- [ ] make realtime\n- [ ] use gfpgan to make higher resolution (can this be done in realtime though?)\n- [ ] use frame interpolation methods to make video more smooth (for demo purposes, can't do this in realtime)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewhsugithub%2Fsynthhead-fusion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewhsugithub%2Fsynthhead-fusion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewhsugithub%2Fsynthhead-fusion/lists"}