<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub12m5exm2uk3xa674cc5r0hlyvccs5xxn7qv83ezuteefv5972nquq4j4szl/grasp-mirror/src/git_mirror.rs, branch master</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub12m5exm2uk3xa674cc5r0hlyvccs5xxn7qv83ezuteefv5972nquq4j4szl/grasp-mirror/atom?h=master</id>
<link rel='self' href='https://upleb.uk/npub12m5exm2uk3xa674cc5r0hlyvccs5xxn7qv83ezuteefv5972nquq4j4szl/grasp-mirror/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub12m5exm2uk3xa674cc5r0hlyvccs5xxn7qv83ezuteefv5972nquq4j4szl/grasp-mirror/'/>
<updated>2026-05-27T11:29:08+00:00</updated>
<entry>
<title>Fix compile errors: enable nip04/nip46 features, fix API mismatches</title>
<updated>2026-05-27T11:29:08+00:00</updated>
<author>
<name>Your Name</name>
<email>you@example.com</email>
</author>
<published>2026-05-27T11:29:08+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub12m5exm2uk3xa674cc5r0hlyvccs5xxn7qv83ezuteefv5972nquq4j4szl/grasp-mirror/commit/?id=cd7d6dd7975eff18b49665f6ebcabee78b204f76'/>
<id>urn:sha1:cd7d6dd7975eff18b49665f6ebcabee78b204f76</id>
<content type='text'>
- Cargo.toml: enable nip04 + nip46 features on nostr crate
- nip46.rs: secret_key() returns &amp;SecretKey not Result, remove ? operator
- nip46.rs: EventBuilder::new takes 2 args, use .tags() for tags
- nip46.rs: fix async block in timeout map_err
- git_mirror.rs: relay_url is a field not a method
</content>
</entry>
<entry>
<title>Fix compile issues for NIP-46 build</title>
<updated>2026-05-27T10:02:38+00:00</updated>
<author>
<name>Your Name</name>
<email>you@example.com</email>
</author>
<published>2026-05-27T10:02:38+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub12m5exm2uk3xa674cc5r0hlyvccs5xxn7qv83ezuteefv5972nquq4j4szl/grasp-mirror/commit/?id=d889b890f9e63815c178853ed98a1e31f6cec7f8'/>
<id>urn:sha1:d889b890f9e63815c178853ed98a1e31f6cec7f8</id>
<content type='text'>
- nip46.rs: match on owned RelayPoolNotification (not .as_ref())
- git_mirror.rs: accept shared nostr_sdk::Client for state event publishing
- main.rs: pass nostr_client to mirror_repo_to_servers
- NIP46-PLAN.md: full implementation checklist and roadmap
- PLAN.md: updated
</content>
</entry>
<entry>
<title>Add NIP-46 remote signing for kind:30618 state events</title>
<updated>2026-05-26T16:37:55+00:00</updated>
<author>
<name>Your Name</name>
<email>you@example.com</email>
</author>
<published>2026-05-26T16:37:55+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub12m5exm2uk3xa674cc5r0hlyvccs5xxn7qv83ezuteefv5972nquq4j4szl/grasp-mirror/commit/?id=d60fa03de6edae0667a93ac36be4206e76255a2c'/>
<id>urn:sha1:d60fa03de6edae0667a93ac36be4206e76255a2c</id>
<content type='text'>
- nip46.rs: full NIP-46 client with session management, NIP-04 encrypted
  relay-based communication, oneshot response awaiting
- db.rs: nip46_sessions table, upsert/get methods
- config.rs: Nip46Config with relays + signing_timeout_secs
- git_mirror.rs: builds unsigned kind:30618 state event from bare repo refs,
  signs via NIP-46 before push, publishes to target server relay
- http_health.rs: exposes NIP-46 session status in health endpoint
- main.rs: wires NIP-46 client into daemon startup, passes to mirror_cycle
</content>
</entry>
<entry>
<title>Fix push_target remote reuse and non-fatal per-repo errors</title>
<updated>2026-05-26T15:08:49+00:00</updated>
<author>
<name>Your Name</name>
<email>you@example.com</email>
</author>
<published>2026-05-26T15:08:49+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub12m5exm2uk3xa674cc5r0hlyvccs5xxn7qv83ezuteefv5972nquq4j4szl/grasp-mirror/commit/?id=7b1b36b8c7e448d1d170c8c6e1f88bb766163fbb'/>
<id>urn:sha1:7b1b36b8c7e448d1d170c8c6e1f88bb766163fbb</id>
<content type='text'>
- git_mirror: reuse existing push_target remote via remote_set_url
  instead of failing on 'remote already exists' on subsequent cycles
- mirror_cycle: catch per-repo errors instead of propagating with ?
  so one failed clone doesn't abort the remaining 87 repos
- Add PLAN.md with bug tracking checklist
</content>
</entry>
<entry>
<title>feat: initial implementation of grasp-mirror daemon</title>
<updated>2026-05-26T10:41:05+00:00</updated>
<author>
<name>Your Name</name>
<email>you@example.com</email>
</author>
<published>2026-05-26T10:41:05+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub12m5exm2uk3xa674cc5r0hlyvccs5xxn7qv83ezuteefv5972nquq4j4szl/grasp-mirror/commit/?id=8816a192c95cf539b65975469a2d61aed46f0414'/>
<id>urn:sha1:8816a192c95cf539b65975469a2d61aed46f0414</id>
<content type='text'>
GRASP mirror daemon that discovers repos from watched npubs and mirrors
git data + Nostr events across all known GRASP servers for redundancy.

Features:
- Configurable npub watch list via .env (MIRROR_NPUBS)
- TOML config for GRASP server list, index relays, storage paths
- NIP-11 verification of GRASP servers on startup
- Discovery of repos via kind:30617 announcements on index relays
- Git mirroring (bare clone + push --mirror) to missing GRASP servers
- Nostr event forwarding to all GRASP server embedded relays
- SQLite state tracking for sync status and event dedup
- Optional signing key for updating announcements with new clone URLs
- CLI subcommands: daemon, status, verify, mirror-once

Architecture:
  config.rs    - TOML + .env config loading
  db.rs        - SQLite state tracking
  health.rs    - NIP-11 GRASP server verification
  discovery.rs - Relay subscription, kind:30617 parsing
  git_mirror.rs - Bare clone + push to GRASP servers
  nostr_mirror.rs - Event forwarding to all GRASP relays
  signing.rs   - Optional announcement updates
  main.rs      - CLI entry point, daemon loop
</content>
</entry>
</feed>
