clubstatusd

所属分类:通讯编程
开发工具:Rust
文件大小:0KB
下载次数:0
上传日期:2023-07-22 21:26:34
上 传 者sh-1993
说明:  保持黑客空间的状态(打开-关闭、存在、即将发生的事件)。这是通过REST提供的后端部件。,
(Keeps the status of your hackerspace (open closed, presence, upcoming events). This is the backend part available through REST.,)

文件列表:
CHANGELOG.md (2637, 2023-07-22)
Cargo.lock (62232, 2023-07-22)
Cargo.toml (869, 2023-07-22)
LICENSE (11344, 2023-07-22)
api-specification.md (6646, 2023-07-22)
clubstatusd.service (300, 2023-07-22)
dependency-tree (23431, 2023-07-22)
example-config.toml (1933, 2023-07-22)
src/ (0, 2023-07-22)
src/api/ (0, 2023-07-22)
src/api/ics.rs (2793, 2023-07-22)
src/api/mod.rs (28866, 2023-07-22)
src/api/mqtt.rs (7452, 2023-07-22)
src/db/ (0, 2023-07-22)
src/db/init.rs (2746, 2023-07-22)
src/db/mod.rs (28191, 2023-07-22)
src/main.rs (3635, 2023-07-22)
src/model.rs (5096, 2023-07-22)
src/model_tests.rs (942, 2023-07-22)
src/util.rs (341, 2023-07-22)

![Build status badge](https://img.shields.io/gitlab/pipeline/clubstatus/clubstatusd.svg?gitlab_url=https%3A%2F%2Fgitlab.aachen.ccc.de) ![Maintenance status badge](https://img.shields.io/maintenance/yes/2023.svg) # Description Implements a status API for hackerspaces. Most actions require authentication (HTTP Auth with a common password). Also supports announcements (for events or people announcing their future stay) and presence (people currently staying). What data the daemon tracks and how the API looks is documented in the [Specification](api-specification.md). ## Integrations * Publish status and presence changes via MQTT * Provide a [SpaceAPI](https://spaceapi.io/) 0.13 compatible endpoint at `/spaceapi` if configured. # Dependencies * Rust and Cargo * GCC * OpenSSL and SQLite3 (with headers) on Debian: `apt-get install gcc openssl libssl-dev sqlite3-0 sqlite3-dev`, use binary installer on https://www.rust-lang.org/downloads.html # Build Build dependencies: Rust and Cargo To build, run `cargo build --release` # API examples ## Create announcement ```sh jq --null-input '{type: "announcement", method: "new", from: 1610612736, to: 1610612737, note: "2^29 * 3", user: "Hans", public: false}' \ | curl http://localhost:8000/api/v0 -X PUT --data @- -v ```

近期下载者

相关文件


收藏者