{"id":17772925,"url":"https://github.com/radames/ai-town-huggingface","last_synced_at":"2025-07-11T06:39:29.652Z","repository":{"id":239821233,"uuid":"800179990","full_name":"radames/ai-town-huggingface","owner":"radames","description":"AI town https://github.com/a16z-infra/ai-town Patches to run on Hugging Face Spaces","archived":false,"fork":false,"pushed_at":"2024-05-14T20:09:09.000Z","size":29,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-15T16:25:21.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://huggingface.co/spaces/radames/ai-town","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/radames.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-05-13T21:13:48.000Z","updated_at":"2024-05-30T00:01:27.029Z","dependencies_parsed_at":"2024-05-30T00:01:26.191Z","dependency_job_id":"9e3ed2d0-ff1c-4ce7-944d-c6eca3139086","html_url":"https://github.com/radames/ai-town-huggingface","commit_stats":null,"previous_names":["radames/ai-town-huggingface"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radames%2Fai-town-huggingface","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radames%2Fai-town-huggingface/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radames%2Fai-town-huggingface/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radames%2Fai-town-huggingface/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/radames","download_url":"https://codeload.github.com/radames/ai-town-huggingface/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223881649,"owners_count":17219268,"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-26T21:41:32.712Z","updated_at":"2024-11-09T21:02:18.205Z","avatar_url":"https://github.com/radames.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Town 🏠💻💌 on Hugging Face 🤗\n\n[**Demo on Hugging Face Spaces**](https://huggingface.co/spaces/radames/ai-town)\n\nAI Town is a very cool project by [Yoko](https://github.com/ykhli) et [al.](https://github.com/a16z-infra/ai-town), a virtual town with live AI characters where they can chat and socialize. You can also interact with them by sending them messages.\n\nThis repository contains a few code patches to make AI Town run on [Hugging Face 🤗 Spaces](https://huggingface.co/spaces), as well as a Dockerfile capable of running [Convex open-source backend](https://github.com/get-convex/convex-backend), the backend and frontend on a single container.\n\n## How to run locally\n\nGrab your Hugging Face API token from https://huggingface.co/settings/tokens\n\n```bash\nexport HF_TOKEN=hf_**********\ndocker build -t ai-town -f Dockerfile .\ndocker run -ti -p 5173:5173 -e LLM_API_KEY=$HF_TOKEN ai-town\n```\n\n## How to run on Hugging Face\n\nYou can duplicate this Space https://huggingface.co/spaces/radames/ai-town?duplicate=true, add your `HF_TOKEN`\nThen you can customize [patches/constants.ts](patches/constants.ts) and [patches/characters.ts](patches/characters.ts) as you wish, as well as the LLM model and embeddings model in [patches/llm.ts](patches/llm.ts).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradames%2Fai-town-huggingface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradames%2Fai-town-huggingface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradames%2Fai-town-huggingface/lists"}