{"id":14154875,"url":"https://github.com/danielclough/fireside-chat","last_synced_at":"2025-08-06T00:33:19.057Z","repository":{"id":208498930,"uuid":"721544439","full_name":"danielclough/fireside-chat","owner":"danielclough","description":"An LLM interface (chat bot) implemented in pure Rust using HuggingFace/Candle over Axum Websockets, an SQLite Database, and a Leptos (Wasm) frontend packaged with Tauri!","archived":false,"fork":false,"pushed_at":"2024-08-07T01:45:09.000Z","size":1745,"stargazers_count":110,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-08-07T04:05:15.900Z","etag":null,"topics":["artificial-intelligence","axum","bot","candle","chat","chatbot","huggingface","leptos","llm","mistral-7b","rust","sqlite","tauri","wasm","websockets"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielclough.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}},"created_at":"2023-11-21T09:31:24.000Z","updated_at":"2024-08-07T01:45:12.000Z","dependencies_parsed_at":"2024-08-03T09:15:11.254Z","dependency_job_id":null,"html_url":"https://github.com/danielclough/fireside-chat","commit_stats":null,"previous_names":["danielclough/axum_mistral_candle","danielclough/axum_mistral_candle_leptos","danielclough/fireside-chat"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielclough%2Ffireside-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielclough%2Ffireside-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielclough%2Ffireside-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielclough%2Ffireside-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielclough","download_url":"https://codeload.github.com/danielclough/fireside-chat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":215735785,"owners_count":15923388,"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":["artificial-intelligence","axum","bot","candle","chat","chatbot","huggingface","leptos","llm","mistral-7b","rust","sqlite","tauri","wasm","websockets"],"created_at":"2024-08-17T08:01:30.690Z","updated_at":"2024-12-09T02:30:52.327Z","avatar_url":"https://github.com/danielclough.png","language":"Rust","funding_links":[],"categories":["chatbot"],"sub_categories":[],"readme":"# Fireside Chat\n\n(prev. \"Candle Chat\")\n\nAn LLM interface implemented in pure Rust using [HuggingFace/Candle](https://github.com/huggingface/candle/) over [Axum](https://github.com/tokio-rs/axum) Websockets, an [SQLite](https://https://sqlite.org/index.html) Database, and a [Leptos](https://www.leptos.dev/) (Wasm) frontend packaged with [Tauri](https://tauri.app)!\n\nWatch the introduction video:\n[![Watch the video](https://img.youtube.com/vi/Jw1E3LnNG0o/0.jpg)](https://youtu.be/Jw1E3LnNG0o)\n\n\n## Goals\n\nThis project is designed for single and multi-user chat with many Large Language Models (LLMs).\n\n### Features\n\n- Local or Remote Inference Backend\n- Local or Remote SQLite Database\n\n\n## Setup / Operation\n\nYou can configure your model and default inference settings by putting files in your `Config Directory`.\nThis is automatically configured when you choose a model in the frontend, but you can manually add models if you like.\n\nExample:\n\n```yaml\n# config_model.yaml\nrepo_id: DanielClough/Candle_Puffin-Phi-v2\nq_lvl: q2k\nrevision: main\ntokenizer_file: null\nweight_file: null\nquantized: true\ncpu: false\nuse_flash_attn: false\ntemplate: ShareGPT\n```\n\n```yaml\n# config_inference.yaml\ntemperature: \ntop_p: \nseed: 299792458\nsample_len: 150\nrepeat_penalty: 1.3\nrepeat_last_n: 150\nload_context: false\nrole: \n```\n\nIf `load_context: true` then you can add (small) in `\u003cConfig Directory\u003e/fireside-chat/context/`.\nLarge files may cause Out Of Memory errors.\n\n### Directories\n\n`Config Directory` is `$HOME/.config/fireside-chat`\n\n`Config Directory` is `$HOME/.cache/hugging-face`\n\n## Development\n\nYou can compile with environment variable the `FIRESIDE_BACKEND_URL`, and `FIRESIDE_DATABASE_URL` to call a server other than `localhost`.\n\nThis can be configured in `tauri.conf.json`, or in your system environment.\n\n```sh\n# eg. for Linux\nexport FIRESIDE_BACKEND_URL=192.168.1.6 \u0026\u0026 trunk serve\n```\n\n## Limitations\n\n- I am not testing in Windows environments.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielclough%2Ffireside-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielclough%2Ffireside-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielclough%2Ffireside-chat/lists"}