alpha
Login
or
Join now
geofox.org
/
publisher
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
A small go app to cross-post/publish to various social platforms.
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
publisher
/
internal
/
resolve
/
at
main
4 files
Geoffrey Richard
Add quote/reply/repost of existing posts (Interact tab)
2mo ago
44e77dd9
adapters.go
Add quote/reply/repost of existing posts (Interact tab) Paste a post URL (Bluesky/Mastodon) or a Nostr identifier into the new Interact tab to reply to, repost, or quote an existing post. Publisher resolves the source, previews it, detects what the post allows (reply/quote restrictions), and performs the action — with a "try anyway" override. - internal/resolve: URL/identifier → platform detection → SourceRef with a preview and per-action capabilities. Bluesky via getPosts (viewer flags), Mastodon via search-resolve (quote_approval/visibility), Nostr via relay fetch (open protocol; NIP-70 note). Threads is preview-excluded (no URL→id API) but is a valid quote fan-out target. - Client primitives: Bluesky repost record / quote embed / reply-root; Mastodon reblog + native quote (4.5+); Nostr NIP-10 external-author replies, NIP-18 reposts (kind 6/16) and quote (q-tag + nostr: mention). - dispatch.Interact reuses the post/target/history/retry model. Reply and repost act only on the source platform; quote does a native quote there plus a link-quote (commentary + URL; njump.me for Nostr) to each selected fan-out platform. New POST /api/resolve and POST /api/interact. - store: additive interaction descriptor; history shows a reply/quote/repost badge linking to the source. Existing posting and auto-threading paths are unchanged (additive only).
2 months ago
adapters_test.go
Add quote/reply/repost of existing posts (Interact tab) Paste a post URL (Bluesky/Mastodon) or a Nostr identifier into the new Interact tab to reply to, repost, or quote an existing post. Publisher resolves the source, previews it, detects what the post allows (reply/quote restrictions), and performs the action — with a "try anyway" override. - internal/resolve: URL/identifier → platform detection → SourceRef with a preview and per-action capabilities. Bluesky via getPosts (viewer flags), Mastodon via search-resolve (quote_approval/visibility), Nostr via relay fetch (open protocol; NIP-70 note). Threads is preview-excluded (no URL→id API) but is a valid quote fan-out target. - Client primitives: Bluesky repost record / quote embed / reply-root; Mastodon reblog + native quote (4.5+); Nostr NIP-10 external-author replies, NIP-18 reposts (kind 6/16) and quote (q-tag + nostr: mention). - dispatch.Interact reuses the post/target/history/retry model. Reply and repost act only on the source platform; quote does a native quote there plus a link-quote (commentary + URL; njump.me for Nostr) to each selected fan-out platform. New POST /api/resolve and POST /api/interact. - store: additive interaction descriptor; history shows a reply/quote/repost badge linking to the source. Existing posting and auto-threading paths are unchanged (additive only).
2 months ago
resolve.go
Add quote/reply/repost of existing posts (Interact tab) Paste a post URL (Bluesky/Mastodon) or a Nostr identifier into the new Interact tab to reply to, repost, or quote an existing post. Publisher resolves the source, previews it, detects what the post allows (reply/quote restrictions), and performs the action — with a "try anyway" override. - internal/resolve: URL/identifier → platform detection → SourceRef with a preview and per-action capabilities. Bluesky via getPosts (viewer flags), Mastodon via search-resolve (quote_approval/visibility), Nostr via relay fetch (open protocol; NIP-70 note). Threads is preview-excluded (no URL→id API) but is a valid quote fan-out target. - Client primitives: Bluesky repost record / quote embed / reply-root; Mastodon reblog + native quote (4.5+); Nostr NIP-10 external-author replies, NIP-18 reposts (kind 6/16) and quote (q-tag + nostr: mention). - dispatch.Interact reuses the post/target/history/retry model. Reply and repost act only on the source platform; quote does a native quote there plus a link-quote (commentary + URL; njump.me for Nostr) to each selected fan-out platform. New POST /api/resolve and POST /api/interact. - store: additive interaction descriptor; history shows a reply/quote/repost badge linking to the source. Existing posting and auto-threading paths are unchanged (additive only).
2 months ago
resolve_test.go
Add quote/reply/repost of existing posts (Interact tab) Paste a post URL (Bluesky/Mastodon) or a Nostr identifier into the new Interact tab to reply to, repost, or quote an existing post. Publisher resolves the source, previews it, detects what the post allows (reply/quote restrictions), and performs the action — with a "try anyway" override. - internal/resolve: URL/identifier → platform detection → SourceRef with a preview and per-action capabilities. Bluesky via getPosts (viewer flags), Mastodon via search-resolve (quote_approval/visibility), Nostr via relay fetch (open protocol; NIP-70 note). Threads is preview-excluded (no URL→id API) but is a valid quote fan-out target. - Client primitives: Bluesky repost record / quote embed / reply-root; Mastodon reblog + native quote (4.5+); Nostr NIP-10 external-author replies, NIP-18 reposts (kind 6/16) and quote (q-tag + nostr: mention). - dispatch.Interact reuses the post/target/history/retry model. Reply and repost act only on the source platform; quote does a native quote there plus a link-quote (commentary + URL; njump.me for Nostr) to each selected fan-out platform. New POST /api/resolve and POST /api/interact. - store: additive interaction descriptor; history shows a reply/quote/repost badge linking to the source. Existing posting and auto-threading paths are unchanged (additive only).
2 months ago