garudan-server
Backend API for the Garudan mobile app.
Install in 60 seconds
pip3 install garudan-server
garudan-server setup
garudan-server start
That's it. The interactive setup wizard asks for your SSH credentials and generates a config at ~/.garudan.env.
Requirements
- Python 3.10+
- Linux server (SSH must be enabled)
- Docker socket readable (for Docker features) — optional
Expose publicly (optional)
For the app to work outside your home network, expose port 8400:
Cloudflare Tunnel (recommended — free):
cloudflared tunnel create garudan
cloudflared tunnel route dns garudan api.yourdomain.com
cloudflared tunnel run --url http://localhost:8400 garudan
Tailscale (easiest — no domain needed):
curl -fsSL https://tailscale.com/install.sh | sh
tailscale up
# Use your Tailscale IP (100.x.x.x:8400) as the API URL in the app
Configuration
All settings live in ~/.garudan.env:
ADMIN_USER=admin
ADMIN_PASS=your_password
SECRET_KEY=auto_generated
SSH_HOST=localhost
SSH_PORT=22
SSH_USER=youruser
SSH_PASSWORD=yourpassword # or use SSH_KEY_PATH
FILE_ROOT=/home/youruser
PORT=8400
API Docs
Once running, visit http://localhost:8400/docs for the full interactive API documentation.
Systemd Service (auto-start on boot)
cat > /etc/systemd/system/garudan-server.service << 'UNIT'
[Unit]
Description=Garudan Server
After=network.target
[Service]
Type=simple
User=YOUR_USERNAME
ExecStart=/usr/local/bin/garudan-server start
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
UNIT
systemctl enable --now garudan-server
Docker
docker run -d \
--name garudan-server \
-p 8400:8400 \
-e ADMIN_USER=admin \
-e ADMIN_PASS=changeme \
-e SSH_HOST=host.docker.internal \
-e SSH_USER=youruser \
-e SSH_PASSWORD=yourpassword \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /home/youruser:/data \
--restart unless-stopped \
ghcr.io/your-username/garudan-server:latest
License
MIT
Metadata
Release files for garudan-server 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| garudan_server-1.0.0.tar.gz | 14.2 kB | Without provenance | Details for garudan_server-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| garudan_server-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for garudan_server-1.0.0-py3-none-any.whl |
Total release size: 29.9 kB
Release files / garudan_server-1.0.0.tar.gz
| Download URL | garudan_server-1.0.0.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35745651a8d2887b981da72392539e7ffc7dac0057181d8a8a505cdc4ac6d673
|
|
BLAKE2b-256 checksum How to use checksums |
10df6f7925c5e94457949aa70d5b4f0f737613ee17a7458cdf143519ba2fc93f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / garudan_server-1.0.0-py3-none-any.whl
| Download URL | garudan_server-1.0.0-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0453e59c33acc4abe550ace1c2b4aa068e820c07aab632303e8a0f59c064d568
|
|
BLAKE2b-256 checksum How to use checksums |
94c3ec419cb1d28ff21ef426fcb83542794bd4c9de1f2eeece76e421a5b44b99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for garudan-server 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.