Repository navigation
Ghostboard v3.4.0
Release Notes for Ghostboard v3.4.0
Release Date: February 7, 2025
New Feature: REST Server Support
I am excited to announce Ghostboard v3.4.0, introducing REST API functionality to enhance text synchronization capabilities. This update simplifies how text can be updated and retrieved across boards, eliminating the need for a separate client script.
New REST API Endpoints
-
POST Request: Update text on a specific board.
- Example command:
Or:
curl -X POST "http://ghostboard-server:port" -d "text=$(cat example.txt)"
curl -X POST "http://ghostboard-server:port" -d "text=example"
- Example command:
-
GET Request: Retrieve the current text from a board.
- Example command:
Or:
curl "http://ghostboard-server:port?get_text=true" > ghostboard.txt
curl "http://ghostboard-server:port?get_text=true"
- Example command:
These REST endpoints work seamlessly with any board, dynamically determined by the URL path (e.g., /test, /example). This feature improves automation and integration options, enabling better interaction with Ghostboard from various devices and scripts.
Client Script Deprecation
With the addition of the REST API, the separate command-line client script has become largely obsolete. Users can now rely on standard curl commands or other REST API tools to interact with Ghostboard, streamlining usage and integration.