{"id":23402540,"url":"https://github.com/prem-research/app","last_synced_at":"2025-04-05T02:12:23.388Z","repository":{"id":170439106,"uuid":"632604572","full_name":"prem-research/app","owner":"prem-research","description":"Prem App it's your personal AI in your pocket","archived":false,"fork":false,"pushed_at":"2023-11-16T11:57:45.000Z","size":10120,"stargazers_count":467,"open_issues_count":32,"forks_count":37,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-03-29T01:14:55.333Z","etag":null,"topics":["ai","candle","localai","onpremise","rust","self-hosted"],"latest_commit_sha":null,"homepage":"https://prem.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prem-research.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-04-25T18:52:39.000Z","updated_at":"2025-03-26T18:46:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"9a3edc6a-3198-4e44-8171-eeba05804a5d","html_url":"https://github.com/prem-research/app","commit_stats":null,"previous_names":["premai-io/prem-app","bit-gpt/app","prem-research/app"],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prem-research%2Fapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prem-research%2Fapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prem-research%2Fapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prem-research%2Fapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prem-research","download_url":"https://codeload.github.com/prem-research/app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276189,"owners_count":20912288,"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":["ai","candle","localai","onpremise","rust","self-hosted"],"created_at":"2024-12-22T12:14:10.329Z","updated_at":"2025-04-05T02:12:23.372Z","avatar_url":"https://github.com/prem-research.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg width=\"1024\" alt=\"Logo\" src=\"https://github.com/premAI-io/prem-app/assets/29598954/9fb2e2b5-89e8-40c9-a66f-eb20f6b00584\"\u003e\n\n# 🤖 Prem - Self Sovereign AI Infrastructure\n\n[![Version](https://img.shields.io/github/v/release/premAI-io/prem-app?color=%235351FB\u0026label=version)](https://github.com/premAI-io/prem-app/releases)\n[![Release](https://github.com/premAI-io/prem-app/actions/workflows/on-tag.yaml/badge.svg?event=push)](https://github.com/premAI-io/prem-app/actions/workflows/on-tag.yaml)\n[![Twitter](https://img.shields.io/twitter/follow/premai_io?style=social)](https://twitter.com/premai_io)\n[![Discord](https://dcbadge.vercel.app/api/server/kpKk6vYVAn?style=social)](https://discord.com/invite/kpKk6vYVAn)\n\n\nPrem provides a unified environment to develop AI applications and deploy AI models on your infrastructure. Abstracting away all technical complexities for AI deployment and ushering in a new era of privacy-centric AI applications - users can finally retain control and ownership of their models.\n\n## 🚀 Getting started\n\n- Install Prem on your Linux server for **Production** (Ubuntu, Debian) - [Installer script](#install-on-linux)\n- Install Prem on your MacOS or Linux for **local development** - [Dowload the latest Prem Desktop App](https://github.com/premAI-io/prem-app/releases)\n- Try out on the live demo instance - [app.prem.ninja](https://app.prem.ninja)\n\n## 📄 Usage\n\nIn-depth documentation for installing and using Prem is available at [dev.premai.io](https://dev.premai.io)\n\n## Demo\n\nhttps://github.com/premAI-io/prem-app/assets/29598954/e2c4f9d9-636d-4bbb-ae62-e6eb929495ee\n\n## Install on Linux\n\nInstall everything needed to run Prem on Ubuntu/Debian server.\n\n```bash\nwget -q https://get.prem.ninja/install.sh -O install.sh; sudo bash ./install.sh\n```\n\n## Product Roadmap\n\n### Basic Cloud Primitives\n\nThe idea is to offer a fully open-source and functional PaaS specifically designed for AI services management and deployment. For this reason, we are working on the Basic Cloud Primitives necessary to offer a full solution:\n\n- [x] [Domains and SSL Management](https://github.com/premAI-io/prem-gateway).\n- [x] Basic Authentication\n- [ ] API Keys Management\n- [ ] Payments (Fiat, BTC, Crypto)\n- [ ] Multiple Orchestrators Support (k8s, docker swarm)\n\nThe AI services expose an HTTP API interface, standardized for their interface type. For example, all models of type `Chat` expose the OpenAI API for easy of integration of existing tool and AI app ecosystem.\nEach service we support it's published on the [Prem Registry](https://registry.premai.io).\n\n\u003e Anyone can implement, package and publish an AI service on Prem. You can check how [here](https://dev.premai.io/docs/registry).\n\nLet us know which Model / Feature you wanna see in Prem [here](https://feedback.prem.ninja)\n\n### Interfaces\n\n- [x] 😃 Chat\n- [x] 📕 Embedding\n- [x] 🏛️ Vector Store\n- [x] 🎨 Diffuser\n- [x] 💻 Coder\n- [x] 🎵 Text to Audio\n- [x] 🎵 Audio to Text\n- [x] 🖼️ Upscaler\n- [ ] 📷 Vision\n- [ ] 📖 Summary\n- [ ] 📹 Video\n\n## Contributing\n\n### Requirements\n\n- [Rust](https://www.rust-lang.org/tools/install)\n- [Node](https://nodejs.org/en/download)\n- [Docker](https://docs.docker.com/engine/install/)\n- [Tauri](https://tauri.app/v1/guides/getting-started/prerequisites#installing)\n\n### Run the app with Tauri (Desktop App)\n\n\u003e Make sure to remove any value in the `.env` file.\n\n```bash\nnpm i\nnpm run tauri dev\n```\n\n### Run the app with React (Browser App)\n\n```bash\n# run the daemon\ndocker-compose up -d premd\n\n# copy .env.example file in .env\ncp .env.example\n\nnpm i\nnpm run dev\n```\n\n### Environment Variables\n\n- `VITE_BACKEND_URL` : destination of the premd\n- `IS_PACKAGED` : `true` | `false` used for server packaging.\n- `VITE_DEVELOPER_MODE`: 0 | 1\n\n## Contributing to Prem Daemon\n\n### Running the Daemon locally\n\n```bash\ngit clone https://github.com/premAI-io/prem-daemon.git\ncd ./prem-daemon\n\n# create a python virtual environment and activate it\nvirtualenv venv -p=3.10\nsource ./venv/bin/activate\n\n# install the necessary dependencies\npip install -r requirements.txt\n\n# configure pre-commit hooks\npre-commit install\n\n# run the webserver\ncp .env.example .env\npython main.py\n```\n\n### Mock Registry\n\nIn order to use the mock registry, you can specify the `REGISTRY_URL` environment variable as following:\n\n```bash\nPREM_REGISTRY_URL=https://raw.githubusercontent.com/premAI-io/prem-daemon/main/resources/mocks/manifests.json\n```\n\n\u003e The mock registry is not fully tested. Few interfaces could be broken.\n\n### Running the test cases\n\n```bash\npytest\n```\n\n### Release Checklist\n\n- [ ] Create a tag with the new version in `prem-daemon`\n- [ ] Create a tag with the new version in `prem-app`\n- [ ] Manually set the new tag as latest in `prem-app`\n- [ ] Update the version in `prem-box` using the `bump.sh` command.\n\n## Acknowledgments\n\nThank You ❤️\n\n- [llama-cpp-python](https://github.com/abetlen/llama-cpp-python)\n- [gpt4all](https://github.com/nomic-ai/gpt4all)\n- [dolly-v2-12b](https://huggingface.co/databricks/dolly-v2-12b)\n- [Open-Assistant](https://github.com/LAION-AI/Open-Assistant)\n- [all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2)\n- [vicuna-7b](https://github.com/lm-sys/FastChat)\n- [replit](https://huggingface.co/replit)\n- [stabilityai](https://huggingface.co/stabilityai)\n- [whisper](https://github.com/openai/whisper)\n- [bark](https://github.com/bark-simulator/bark)\n- [salesforce](https://github.com/salesforce/CodeT5)\n- [redis](https://redis.com/solutions/use-cases/vector-database/)\n- [qdrant](https://github.com/qdrant/qdrant)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprem-research%2Fapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprem-research%2Fapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprem-research%2Fapp/lists"}