wip: Custom mirroring tangled knot written in Rust
rust tangled mirror knot
1

Configure Feed

Select the types of activity you want to include in your feed.

route(create): disable

Clément (Jun 7, 2026, 6:41 PM +0200) b16da1a3 8c747ab7

+6 -2
+6 -2
crates/knotty-knot/src/xrpc/create_repo.rs
··· 1 - use axum::extract::State; 1 + use axum::{extract::State, http::StatusCode}; 2 2 use jacquard::api::sh_tangled::repo::create::CreateRequest; 3 3 use jacquard_axum::{ExtractXrpc, service_auth::ExtractServiceAuth}; 4 4 ··· 10 10 ExtractServiceAuth(_auth): ExtractServiceAuth, 11 11 ExtractXrpc(_req): ExtractXrpc<CreateRequest>, 12 12 ) -> Result<(), KnotError> { 13 - Err(KnotError::not_implemented()) 13 + Err(KnotError::new( 14 + StatusCode::UNAUTHORIZED, 15 + "cannot create mirrors through tangled directly", 16 + None, 17 + )) 14 18 }