142 Commits

Author SHA1 Message Date
anonpenguin23
5107fd9d3a feat(sandbox): add reset command and interactive setup
- new `orama sandbox reset` deletes Hetzner resources (IPs, firewall, SSH key) and local config
- interactive location/server type selection during `setup`
- add Hetzner API methods for listing locations/types, deleting resources
- update defaults to nbg1/cx23
2026-02-28 10:14:02 +02:00
anonpenguin23
31e070c127 Fixed builder bug 2026-02-27 15:56:22 +02:00
anonpenguin23
f71593af4a feat: add sandbox command and vault guardian build
- integrate Zig-built vault-guardian into cross-compile process
- add `orama sandbox` for ephemeral Hetzner Cloud clusters
- update docs for `orama node` subcommands and new guides
2026-02-27 15:22:51 +02:00
anonpenguin23
0ced78d0f4 Added hatzhner support for clustering cli orama to spin up clusters 2026-02-25 15:13:18 +02:00
anonpenguin23
cfc183e30d Replace sshpass password auth with RootWallet SSH keys
Replaces plaintext password-based SSH authentication (sshpass) across
the entire Go CLI with wallet-derived ed25519 keys via RootWallet.

- Add `rw vault ssh agent-load` command to RootWallet CLI for SSH
  agent forwarding in push fanout
- Create wallet.go bridge: PrepareNodeKeys resolves keys from `rw
  vault ssh get --priv`, writes temp PEMs (0600), zero-overwrites
  on cleanup
- Remove Password field from Node struct, update config parser to
  new 3-field format (env|user@host|role)
- Remove all sshpass branches from inspector/ssh.go and
  remotessh/ssh.go, require SSHKey on all SSH paths
- Add WithAgentForward() option to RunSSHStreaming for hub fanout
- Add PrepareNodeKeys + defer cleanup to all 7 entry points:
  inspect, monitor, push, upgrade, clean, recover, install
- Update push fanout to use SSH agent forwarding instead of sshpass
  on hub
- Delete install/ssh.go duplicate, replace with remotessh calls
- Create nodes.conf from remote-nodes.conf (topology only, no
  secrets)
- Update all config defaults and help text from remote-nodes.conf
  to nodes.conf
- Use StrictHostKeyChecking=accept-new consistently everywhere
2026-02-24 17:24:16 +02:00
anonpenguin23
3a3133f5f5 Removed extract deploy script 2026-02-24 14:28:11 +02:00
anonpenguin23
a1c6688901 Remove legacy deployment and upgrade scripts
- Deleted redeploy.sh, which handled redeployment to nodes in devnet/testnet environments.
- Removed upgrade-nodes.sh, responsible for rolling upgrades of nodes.
- Eliminated upload-source-fanout.sh, which uploaded source archives to nodes in parallel.
- Removed upload-source.sh, used for uploading and extracting source archives to VPS nodes.
2026-02-24 14:24:25 +02:00
anonpenguin23
f9f1b77bc2 feat: add secrets and triggers management to function commands
- Introduced `secrets` command for managing function secrets, including set, list, and delete operations.
- Added `triggers` command for managing PubSub triggers associated with functions, allowing addition, listing, and deletion of triggers.
- Implemented API handlers for secrets management, including setting, listing, and deleting secrets.
- Updated serverless handlers to support new secrets and triggers functionalities.
- Enhanced tests for the new features, ensuring proper functionality and error handling.
2026-02-23 19:18:39 +02:00
anonpenguin23
16733c3240 feat: add WebRTC feature management commands and public API endpoints for enabling, disabling, and checking status 2026-02-21 13:14:46 +02:00
anonpenguin23
7eb1f5eac8 feat: add WebRTC support with SFU and TURN server integration, including configuration, monitoring, and API endpoints 2026-02-21 11:31:20 +02:00
anonpenguin23
6cb7661183 feat: implement SFU and TURN server functionality
- Add signaling package with message types and structures for SFU communication.
- Implement client and server message serialization/deserialization tests.
- Enhance systemd manager to handle SFU and TURN services, including start/stop logic.
- Create TURN server configuration and main server logic with HMAC-SHA1 authentication.
- Add tests for TURN server credential generation and validation.
- Define systemd service files for SFU and TURN services.
2026-02-21 11:17:13 +02:00
anonpenguin23
b1edcd9e9d feat: enhance namespace management with cluster state deletion and improved deprovisioning process 2026-02-21 06:41:19 +02:00
anonpenguin23
a93ca16b34 feat: add RQLite export/import functionality and related handlers + Deployments DNS Fixes 2026-02-20 07:29:18 +02:00
anonpenguin23
9035bc9dd7 feat: implement wallet-based SSH authentication using Ed25519 keys
- Added documentation for wallet-based SSH authentication in WALLET_SSH_AUTH.md.
- Introduced SSH key derivation and management in rootwallet core and CLI.
- Created commands for generating, loading, and unloading SSH keys in the CLI.
- Updated Orama network to support SSH key authentication.
- Added migration steps for nodes to transition from password-based to key-based authentication.

feat: add serverless function management commands

- Implemented function command structure in CLI for managing serverless functions.
- Added commands for initializing, building, deploying, invoking, deleting, and listing functions.
- Created helper functions for handling function configuration and API requests.
- Integrated TinyGo for building functions to WASM.
- Added logging and version management for deployed functions.
2026-02-19 10:51:03 +02:00
anonpenguin23
ead0b9f4b0 Enhance PID collection by adding namespace service support and extending timeout for systemd queries 2026-02-19 10:24:49 +02:00
anonpenguin23
8919796f00 Bump version to 0.109.0 and add tests for TCP port waiting and Olric config YAML parsing 2026-02-19 08:57:32 +02:00
anonpenguin23
9eaa7fc467 Unmask and re-enable services before restarting to ensure proper startup 2026-02-19 06:43:28 +02:00
anonpenguin23
9f668cefa4 Bug fixing 2026-02-18 11:20:16 +02:00
anonpenguin23
2ac9e92cea Namespace bug fix and fixing bugs on serverless and deployments 2026-02-17 15:57:32 +02:00
anonpenguin23
89b6ab7c5e Updated docs and bug fixing 2026-02-17 08:49:16 +02:00
anonpenguin23
e1a5f2f843 A ton of updates on the monitoring mostly bug fixes 2026-02-16 16:35:29 +02:00
anonpenguin23
d8ebf784ce Added some new alerts on monitoring 2026-02-16 11:47:18 +02:00
anonpenguin23
d4c22b0696 Created new monitoring cli interface for nodes, namespaces and cluster 2026-02-16 11:16:02 +02:00
anonpenguin23
949594f5a5 Refactored cli to make things more clear and easy to understand for developers 2026-02-16 10:31:17 +02:00
anonpenguin23
226d36f04c Refactor installation scripts and improve security measures
- Updated `clean-testnet.sh` to stop and disable legacy services.
- Added `upload-source.sh` for streamlined source archive uploads.
- Enhanced password input handling in `ssh.go` for better security.
- Adjusted directory permissions in `validator.go` for improved security.
- Simplified node configuration logic in `config.go`.
- Removed unnecessary commands from `gateway.go` to streamline installation.
2026-02-16 10:01:35 +02:00
anonpenguin23
f9da3b601d Moved everything to root user and to /opt/orama from home/orama/.orama 2026-02-14 14:33:38 +02:00
anonpenguin23
17148dcc5a Renamed debros to orama 2026-02-14 14:14:04 +02:00
anonpenguin23
9319d03f3f Updated installation process simplified it 2026-02-14 14:06:14 +02:00
anonpenguin23
feb894d661 Bro i did so many things to fix the problematic discovery and redeployment and i dont even remember what i did 2026-02-14 10:56:26 +02:00
anonpenguin23
35572d2aca Security audit, code cleanup 2026-02-13 14:33:11 +02:00
anonpenguin23
9d13b085ac Did a lot of cleanup and bug fixing 2026-02-13 12:47:02 +02:00
anonpenguin23
73b92ccb5c Cleaned up development environment 2026-02-13 10:33:11 +02:00
anonpenguin23
392eeb6cdc Auto node recovery and failover if node is dead, added wallet authentication with phantom and root wallet + cluster repair logic 2026-02-13 08:16:01 +02:00
anonpenguin23
9d83d2e8a7 Fixed firewall problem with anyone rellay and added authentication with root wallet 2026-02-13 07:38:54 +02:00
anonpenguin23
34aba92cca Collector updates and bug fixes + patches scripts created 2026-02-11 15:08:20 +02:00
anonpenguin23
80513c311d Improved how we present results on inspector and added anyone tests 2026-02-11 11:07:56 +02:00
anonpenguin23
ef5b5e7750 Added system prompt on inspector 2026-02-11 10:36:40 +02:00
anonpenguin23
c47a409bb9 Created inspector , it is hot as fuck 2026-02-11 09:53:46 +02:00
anonpenguin23
3f10ebdbd3 Did a small refactor, code clean, remove dead code, legacy etc 2026-02-11 07:43:33 +02:00
anonpenguin23
2a79a79376 Bug fix on production orchestrator on start and stop 2026-02-10 19:32:08 +02:00
anonpenguin23
8f10bbc84f Fixed WG port issues and production firewall fixes 2026-02-10 09:39:26 +02:00
anonpenguin23
210d215d58 Updated docs and bug fixes and updated redeploy script 2026-02-09 15:23:02 +02:00
anonpenguin23
1d7db6d723 Rate limit fixes 2026-02-06 11:09:34 +02:00
anonpenguin23
1a29c01b42 Updated the way we spawn services on namespace added systemd 2026-02-04 17:17:01 +02:00
anonpenguin23
4d6c525383 Bored of fixing bugs 2026-02-04 16:14:49 +02:00
anonpenguin23
c61180d738 Bug fixing 2026-02-03 17:27:36 +02:00
anonpenguin23
22e60652a5 Bug fixing 2026-02-03 13:59:03 +02:00
anonpenguin23
017c8ca29d Fix ensure only nameservers nodes added on schema for caddy load balancing 2026-02-02 11:17:54 +02:00
anonpenguin23
c5faf4fe36 Fixed filter our prviate ips on dns register 2026-02-02 09:31:47 +02:00
anonpenguin23
6dbc05ebb0 Fixed ipfs blocking WG 2026-02-01 17:09:58 +02:00