{"id":31362406,"url":"https://github.com/bytebaker/chatllama","last_synced_at":"2025-09-27T04:42:59.384Z","repository":{"id":315942811,"uuid":"1061096448","full_name":"ByteBaker/ChatLlama","owner":"ByteBaker","description":"Like ChatGPT, but uses Llama3","archived":false,"fork":false,"pushed_at":"2025-09-21T18:01:59.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-21T20:22:25.489Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ByteBaker.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-21T08:25:14.000Z","updated_at":"2025-09-21T18:02:02.000Z","dependencies_parsed_at":"2025-09-21T20:22:35.447Z","dependency_job_id":"8405368f-ad76-4bdc-b049-5b0a68403474","html_url":"https://github.com/ByteBaker/ChatLlama","commit_stats":null,"previous_names":["bytebaker/chatllama"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ByteBaker/ChatLlama","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteBaker%2FChatLlama","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteBaker%2FChatLlama/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteBaker%2FChatLlama/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteBaker%2FChatLlama/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ByteBaker","download_url":"https://codeload.github.com/ByteBaker/ChatLlama/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteBaker%2FChatLlama/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277184112,"owners_count":25775285,"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","status":"online","status_checked_at":"2025-09-27T02:00:08.978Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-09-27T04:42:58.168Z","updated_at":"2025-09-27T04:42:59.375Z","avatar_url":"https://github.com/ByteBaker.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChatLlama\n\nA multi-chat HTTP server powered by Llama 3 8B with persistent memory and web interface.\n\n## Features\n\n- Web-based chat interface with markdown rendering\n- Multiple concurrent chat sessions\n- Persistent SQLite database for chat history\n- Memory system tracking facts, experiences, and topics\n- Server-sent events for real-time streaming responses\n- Docker-first deployment with embedded model\n\n## Quick Start (Docker)\n\n### Prerequisites\n\n- Docker and Docker Compose\n- 8GB+ available RAM\n- 10GB+ free disk space\n\n### Running with Docker\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/ByteBaker/ChatLlama\ncd ChatLlama\n```\n\n2. Start the application:\n```bash\ndocker-compose up --build\n```\n\nThe model (~5GB) will be automatically downloaded during the first build. This may take a few minutes depending on your connection.\n\n3. Access the application:\n```\nhttp://localhost:8000\n```\n\n### Configuration\n\nSet custom port via environment variable:\n```bash\nPORT=3000 docker-compose up --build\n```\n\n## Manual Installation\n\n### Prerequisites\n\n- Python 3.11+\n- 8GB+ available RAM\n\n### Setup\n\n1. Install dependencies:\n```bash\npip install -r requirements.txt\n```\n\n2. Download the model:\n```bash\npython src/utils/download_model.py\n```\n\n3. Run the server:\n```bash\npython src/main.py\n```\n\n## File Structure\n\n```\nChatLlama/\n├── src/\n│   ├── main.py              # Server entry point\n│   ├── config.py            # Model configuration\n│   ├── chat_server.py       # Chat logic and memory system\n│   ├── http_handler.py      # HTTP request handling\n│   ├── index.html           # Web interface\n│   ├── script.js            # Frontend JavaScript\n│   ├── styles.css           # Interface styling\n│   └── utils/\n│       └── download_model.py # Model download utility\n├── data/                    # SQLite database (created at runtime)\n├── docker-compose.yml       # Docker configuration\n├── Dockerfile              # Container build instructions\n└── requirements.txt        # Python dependencies\n```\n\n## Memory System\n\nThe server automatically categorizes conversation content into:\n\n- **Facts**: Concrete information and data points\n- **Experiences**: Personal stories and events\n- **Topics**: Subject areas and themes discussed\n\nMemory statistics are included in all chat responses and can be queried independently.\n\n## License\n\nThis project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytebaker%2Fchatllama","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytebaker%2Fchatllama","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytebaker%2Fchatllama/lists"}