https://github.com/exddc/luuma-api
The api server that interacts with the selected LLM provider and the luuma app.
https://github.com/exddc/luuma-api
Last synced: over 1 year ago
JSON representation
The api server that interacts with the selected LLM provider and the luuma app.
- Host: GitHub
- URL: https://github.com/exddc/luuma-api
- Owner: exddc
- License: gpl-3.0
- Created: 2024-04-25T18:44:58.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-25T12:33:09.000Z (almost 2 years ago)
- Last Synced: 2025-02-12T03:49:50.611Z (over 1 year ago)
- Language: Rust
- Homepage: https://www.luuma.one
- Size: 116 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Luuma API Server
The Luuma API server is a rust application that provides a RESTful API for the Luuma Chat Client. The server is built using the Rocket web framework and is designed to be run on a Linux server. The server is responsible for relaying messages between clients and the selected LLM provider. It is also possible to direct to a self-hosted LLM server.
## Installation
Create new user for server
sudo adduser --system --group --disabled-login --no-create-home --shell /bin/false luuma_api_user
sudo chown -R luuma_api_user:luuma_api_user /www/luuma-api/
sudo chmod -R 750 /www/luuma-api/
sudo chmod -R 770 /www/luuma-api/logs/
sudo nano /etc/systemd/system/luuma_api.service
sudo cp luuma_api.service /etc/systemd/system/luuma_api.service
sudo systemctl daemon-reload
sudo systemctl enable luuma_api.service
sudo systemctl start luuma_api.service