Go to file
2025-07-15 10:00:36 +02:00
src improve API token error handling + improve passing .rhai scripts as argument 2025-07-15 10:00:36 +02:00
.gitignore implemented list servers + ping + reboot + example shown in example.rhai 2025-07-14 18:16:30 +02:00
Cargo.lock implemented list servers + ping + reboot + example shown in example.rhai 2025-07-14 18:16:30 +02:00
Cargo.toml implemented list servers + ping + reboot + example shown in example.rhai 2025-07-14 18:16:30 +02:00
example.rhai implemented list servers + ping + reboot + example shown in example.rhai 2025-07-14 18:16:30 +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