From a96da5f0704c50e8a4e4f047dcd3fb7c73fdf600 Mon Sep 17 00:00:00 2001 From: murilo ijanc Date: Wed, 25 Mar 2026 23:23:10 -0300 Subject: Initial implementation of tesseras-url Decentralized URL shortener built on tesseras-dht. Includes: - tud daemon: DHT node, Unix socket API, HTTP 302 redirect server - tu CLI: shorten, resolve, del, list, status commands - Auto-generated slugs (8-byte SHA256, base58) or custom slugs - TTL support (default: forever) - Automatic re-join of bootstrap nodes when routing table is empty - OpenBSD pledge(2) and unveil(2) sandboxing - DNS SRV bootstrap discovery - Verbose mode (-v) for both binaries --- Cargo.toml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Cargo.toml (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..b132b47 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,26 @@ +[package] +name = "tesseras-url" +version = "0.1.0" +edition = "2024" +license = "ISC" +readme = "README.md" +description = "Decentralized URL shortener built on tesseras-dht" +categories = ["network-programming"] +homepage = "https://tesseras.net" +keywords = ["dht", "kademlia", "p2p", "url-shortener", "distributed"] +repository = "https://got.tesseras.net/?action=summary&path=tesseras-url.git" + +[[bin]] +name = "tud" +path = "src/bin/tud.rs" + +[[bin]] +name = "tu" +path = "src/bin/tu.rs" + +[dependencies] +env_logger = "=0.11.10" +log = "=0.4.29" + +# tesseras +tesseras-dht = "=0.1.2" -- cgit v1.2.3