Go to file
2025-07-15 14:46:05 +02:00
src added reset, enable and disable rescue mode functionality 2025-07-15 14:46:05 +02:00
.gitignore implemented list servers + ping + reboot + example shown in example.rhai 2025-07-14 18:16:30 +02:00
Cargo.lock improved output format + add support for displaying in tables 2025-07-15 10:28:41 +02:00
Cargo.toml improved output format + add support for displaying in tables 2025-07-15 10:28:41 +02:00
example.rhai added reset, enable and disable rescue mode functionality 2025-07-15 14:46:05 +02:00
README.md add README.md 2025-07-14 18:22:45 +02:00

Hetzner Cloud API - Rhai Wrapper

This project provides a Rhai wrapper for interacting with the Hetzner Cloud API.

Setup

To use this wrapper, you need to set your Hetzner API Token as an environment variable.

export HETZNER_API_TOKEN="YOUR_API_TOKEN_HERE"

Replace "YOUR_API_TOKEN_HERE" with your actual Hetzner API token.

Running the Example

You can run the example Rhai script (example.rhai) using cargo run:

cargo run