Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
1f85e48
Add standalone bridge docs
arbadacarbaYK Nov 27, 2025
5e1e8ec
Document file fetch flow
arbadacarbaYK Nov 27, 2025
270ad96
Document fork-only enhancements
arbadacarbaYK Nov 27, 2025
2280115
Clarify supported NIPs and Blossom cloning
arbadacarbaYK Nov 27, 2025
ec3345f
Clean docs and add gittr reference
arbadacarbaYK Nov 27, 2025
212f9bd
Update README.md
arbadacarbaYK Nov 27, 2025
044143d
Add comprehensive platform-wide enhancements diagram
arbadacarbaYK Nov 30, 2025
6a3ea1b
Update documentation to match main gittr repo
arbadacarbaYK Nov 30, 2025
ae59f40
Sync updates from gittr main repo
arbadacarbaYK Dec 2, 2025
69f3e88
Improve bridge enhancements diagram clarity
arbadacarbaYK Dec 2, 2025
aece9c5
Clarify deduplication channel description
arbadacarbaYK Dec 2, 2025
51387ee
docs: Update file-fetch-flow with push process details
arbadacarbaYK Dec 5, 2025
fc63acf
docs: Add kind 30618 (Repository State) to supported NIPs & Kinds
arbadacarbaYK Dec 5, 2025
041a0f3
Fix broken relative links in documentation
arbadacarbaYK Dec 9, 2025
ce48d2a
Improve SSH git operations: better error messages and empty repo hand…
arbadacarbaYK Dec 12, 2025
6cc9f1a
Sync enhanced bridge features from gittr: HTTP fast lane, deduplicati…
arbadacarbaYK Dec 17, 2025
ac318f7
Update file-fetch-flow.md: note GitLab pagination requirement
arbadacarbaYK Dec 17, 2025
8cf98c4
Update GitHub link to gittr.space link in file-fetch-flow.md
arbadacarbaYK Dec 17, 2025
03eb3ef
Add state event handling with commit SHA validation and HEAD fallback
arbadacarbaYK Dec 19, 2025
df5fbf0
docs: Document empty commit file preservation in push process
arbadacarbaYK Dec 19, 2025
3448eb3
docs: Use 'other clients' instead of specific client name
arbadacarbaYK Dec 19, 2025
27cd775
Add SSH guide with create/add and modify workflows
arbadacarbaYK Dec 23, 2025
40c6825
Update SSH guide with private repo access information
arbadacarbaYK Dec 28, 2025
0585a28
Remove non-spec public-read/public-write from NIP-34 events
arbadacarbaYK Dec 28, 2025
b8377eb
Docs: Add UTF-8 file path encoding guidance for bridge API
arbadacarbaYK Dec 29, 2025
57716a4
Docs: Update README with NIP-34 compliance (kinds 1111, 1617-1633, 10…
arbadacarbaYK Jan 4, 2026
2c557d8
feat: extend ssh paywall messaging and auth handling
arbadacarbaYK Apr 30, 2026
a9f9c8e
fix owner ssh write access fallback
arbadacarbaYK Apr 30, 2026
30a4913
docs: canonical clone URL arbadacarbaYK/gitnostr; spearson78 as upstr…
arbadacarbaYK May 8, 2026
6695576
docs: clarify NIP-46 is client-side only; link gittr NIP-46 guides
arbadacarbaYK May 8, 2026
719eb8f
sync: mirror bridge and CLI from gittr embedded ui/gitnostr
arbadacarbaYK May 9, 2026
fc01c93
docs: file-fetch-flow matches gittr files API and empty-tree clone
arbadacarbaYK May 10, 2026
35a8ff9
sync: mirror bridge and git-nostr-ssh from gittr embedded ui/gitnostr
arbadacarbaYK May 14, 2026
3123ab6
docs: clarify gitnostr fork vs ngit and gittr ngit folder naming
arbadacarbaYK May 14, 2026
c83b2bb
Document gittr GRASP shallow-clone path alongside bridge mirror flow.
arbadacarbaYK May 20, 2026
9b567ca
docs: align README with gittr ngit comparison; add GitHub About text
arbadacarbaYK May 22, 2026
9dc9318
docs: rephrase GitHub About — positive framing vs ngit
arbadacarbaYK May 22, 2026
5b7b480
docs: add when-to-use section with concrete use cases
arbadacarbaYK May 22, 2026
d4bedb1
docs: update GitHub About — gittr stack features in description
arbadacarbaYK May 22, 2026
ac97d73
docs: refresh file-fetch-flow for shared branch and per-tab APIs
arbadacarbaYK May 22, 2026
41fc088
chore: remove REPO_DESCRIPTION.txt (About is GitHub settings only)
arbadacarbaYK May 22, 2026
708ab49
docs: SSH is bridge-native; gn/nostr:// not UI-only
arbadacarbaYK May 22, 2026
3f4be80
docs: fix HTTPS clone host in SSH guide
arbadacarbaYK May 22, 2026
955d4e9
docs: clarify git-nostr-hook unshipped; fix relay testing claims
arbadacarbaYK May 22, 2026
6ebb21e
docs: fix stale PR/issues paragraph; annotate architecture diagram
arbadacarbaYK May 22, 2026
75e8757
docs: describe only what exists; remove hook and negative disclaimers
arbadacarbaYK May 22, 2026
3ba9e6e
docs: simplify relay prerequisite line
arbadacarbaYK May 22, 2026
77d9bbb
docs: remove outdated bridge API and upstream framing
arbadacarbaYK May 22, 2026
e11670e
docs: link our repos on gittr.space instead of GitHub
arbadacarbaYK May 22, 2026
77efeb0
docs: replace hook diagram with current infrastructure overview
arbadacarbaYK May 22, 2026
059b431
docs: replace hook diagram; link nostr schemata on gittr
arbadacarbaYK May 22, 2026
dcb1ce0
docs: use gittr.space npub URLs for cross-repo links
arbadacarbaYK May 24, 2026
f2c6a33
docs: link gittr-mcp in ecosystem and client access paths
arbadacarbaYK May 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
bin
bin
/git-nostr-ssh
*.db
32 changes: 32 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Use the official Go image as a base
FROM golang:latest

# Set the working directory
WORKDIR /usr/gitnostr

# Copy the source code
COPY . .

# Install openssh-server
RUN apt-get update && apt-get install -y openssh-server

# Generate a new SSH key for the root user
RUN ssh-keygen -t rsa -f /root/.ssh/id_rsa -N ''

# Allow root login via SSH
RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config

# Build the binary
RUN CGO_ENABLED=0 go build -tags netgo -ldflags="-s -w" -trimpath -o ./bin/git-nostr-bridge ./cmd/git-nostr-bridge
RUN CGO_ENABLED=0 go build -tags netgo -ldflags="-s -w" -trimpath -o ./bin/git-nostr-ssh ./cmd/git-nostr-ssh
RUN CGO_ENABLED=0 go build -tags netgo -ldflags="-s -w" -trimpath -o ./bin/gn ./cmd/git-nostr-cli

# Create config
RUN mkdir -p /root/.config/git-nostr

# Configure git-nostr-bridge
# Replace gitRepoOwners key with your public key (hex)
RUN echo '{"repositoryDir": "/root/git-nostr-repositories","DbFile": "/root/.config/git-nostr/git-nostr-db.sqlite","relays": ["wss://relay.damus.io", "wss://nostr.fmt.wiz.biz", "wss://nos.lol"],"gitRepoOwners": ["d7a2565a3d29c05a72c315c9117594bb0c76eda7ebfdda3441d0eb6ba326c5e1"]}' > /root/.config/git-nostr/git-nostr-bridge.json

# Set the default command to run when the container starts
CMD service ssh start && /usr/gitnostr/bin/git-nostr-bridge -config=/root/.config/git-nostr/git-nostr-bridge.json
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,13 @@ git-nostr-bridge:
git-nostr-cli:
go build -tags netgo -ldflags="-s -w" -trimpath -o ./bin/gn ./cmd/git-nostr-cli

.PHONY: migrate-npub-symlinks
migrate-npub-symlinks:
go build -tags netgo -ldflags="-s -w" -trimpath -o ./bin/migrate-npub-symlinks ./cmd/migrate-npub-symlinks

.PHONY: migrate-commit-dates
migrate-commit-dates:
go build -tags netgo -ldflags="-s -w" -trimpath -o ./bin/migrate-commit-dates ./cmd/migrate-commit-dates

.PHONY: all
all: git-nostr-bridge git-nostr-cli
all: git-nostr-bridge git-nostr-cli migrate-npub-symlinks migrate-commit-dates
143 changes: 94 additions & 49 deletions README.md

Large diffs are not rendered by default.

Loading