Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
f7f656c
src/bin/git_remote_nostr/main.rs:test
RandyMcMillan Oct 27, 2025
4432f60
src/lib/legit:intermediate
RandyMcMillan Oct 27, 2025
31dc0ed
src/bin/gnostr-legit.rs:intermediate
RandyMcMillan Oct 27, 2025
ce418a6
legit:add as dependency
RandyMcMillan Oct 27, 2025
0000035
RandyMcMillan Oct 27, 2025
00000d9
RandyMcMillan Oct 27, 2025
00000cd
RandyMcMillan Oct 27, 2025
b90dbac
src/lib/sub_commands/legit.rs:intermediate
RandyMcMillan Oct 27, 2025
0000047
RandyMcMillan Oct 27, 2025
000006c
RandyMcMillan Oct 27, 2025
000008c
RandyMcMillan Oct 27, 2025
000e890
RandyMcMillan Oct 27, 2025
0000aa6
RandyMcMillan Oct 27, 2025
0000070
RandyMcMillan Oct 27, 2025
000000c
RandyMcMillan Oct 27, 2025
00000fd
RandyMcMillan Oct 27, 2025
0000014
gnostr-legit is working
RandyMcMillan Oct 27, 2025
00000d4
gnostr-legit is working
RandyMcMillan Oct 27, 2025
00000ff
gnostr-legit is working:
RandyMcMillan Oct 27, 2025
00000f4
gnostr-legit is working:$(gnostr-weeble)
RandyMcMillan Oct 27, 2025
00000f9
gnostr-legit is working:\$(gnostr-weeble)
RandyMcMillan Oct 27, 2025
0000054
gnostr-legit is working:
RandyMcMillan Oct 27, 2025
0000077
gnostr-legit is working:
RandyMcMillan Oct 27, 2025
00000e9
gnostr-legit is working:
RandyMcMillan Oct 27, 2025
00000e7
RandyMcMillan Oct 27, 2025
896a22b
src/lib/sub_commands/legit.rs:intermediate
RandyMcMillan Oct 27, 2025
59648b8
legit:src:intermediate
RandyMcMillan Oct 27, 2025
a58384b
legit:src:intermediate
RandyMcMillan Oct 27, 2025
3a19fd5
legit:src:intermediate
RandyMcMillan Oct 27, 2025
3922969
legit:src:intermediate
RandyMcMillan Oct 27, 2025
0000020
RandyMcMillan Oct 27, 2025
00000e9
RandyMcMillan Oct 27, 2025
000002c
RandyMcMillan Oct 27, 2025
0000064
RandyMcMillan Oct 27, 2025
000004a
RandyMcMillan Oct 27, 2025
0000017
RandyMcMillan Oct 27, 2025
00000ee
RandyMcMillan Oct 27, 2025
0440b71
legit:src:intermediate
RandyMcMillan Oct 27, 2025
00000ac
RandyMcMillan Oct 27, 2025
0000088
RandyMcMillan Oct 27, 2025
000003b
RandyMcMillan Oct 27, 2025
00000fa
RandyMcMillan Oct 27, 2025
00000bd
RandyMcMillan Oct 27, 2025
0000063
RandyMcMillan Oct 27, 2025
00000fa
RandyMcMillan Oct 27, 2025
000001b
RandyMcMillan Oct 27, 2025
0000087
RandyMcMillan Oct 27, 2025
00000bd
RandyMcMillan Oct 27, 2025
00000bf
RandyMcMillan Oct 27, 2025
00000b9
RandyMcMillan Oct 27, 2025
000004c
RandyMcMillan Oct 27, 2025
000009c
RandyMcMillan Oct 27, 2025
0000056
RandyMcMillan Oct 27, 2025
9e61f55
...
RandyMcMillan Oct 27, 2025
f39e9ac
src/bin/git_remote_nostr/utils.rs:revert
RandyMcMillan Oct 27, 2025
4369166
gnit/templates
RandyMcMillan Oct 28, 2025
80d7bc0
make:gnostr-gnit
RandyMcMillan Oct 28, 2025
b5e83e9
gnit/src/bin/gnostr_ssh.rs:rename
RandyMcMillan Oct 28, 2025
3afb73d
ssh/Cargo.toml:v1912.921106.461013
RandyMcMillan Oct 28, 2025
87d5359
gnit/Cargo.tom
RandyMcMillan Oct 28, 2025
7bbfe3b
gnit/Cargo.toml:v1912.921108.457950
RandyMcMillan Oct 28, 2025
2f073d6
make:gnostr_gnit
RandyMcMillan Oct 28, 2025
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
3 changes: 3 additions & 0 deletions .justfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ dep-graph:
gnostr-chat:
@make gnostr-chat

gnostr-gnit:
@make gnostr-gnit

fetch-by-id:
@make fetch-by-id

Expand Down
16 changes: 16 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ gnostr-crawler = { version = "0.0.15", path = "crawler" }
gnostr-query = { version = "0.0.12", path = "query" }
gnostr-types = { version = "0.7.6", path = "types" }
gnostr_qr = { version = "0.0.7", path = "qr" }
gnostr-legit = { path = "./legit", version = "0.0.0" }

#hex = "0.4"
hostname = "0.3.1"
Expand Down
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,11 @@ dep-graph: ### dep-graph

gnostr-chat: ## gnostr-chat
cargo b -j $(NPROC) --bin gnostr
./.gnostr/debug/gnostr chat --topic gnostr --name "$(shell gnostr-weeble)/$(shell gnostr-blockheight)/$(shell gnostr-wobble):$(USER)"
cargo run --bin gnostr -- chat --topic gnostr --name "$(shell gnostr-weeble)/$(shell gnostr-blockheight)/$(shell gnostr-wobble):$(USER)"

gnostr-gnit: ## gnostr-gnit
cargo b -j $(NPROC) --bin gnostr_gnit --manifest-path ./gnit/Cargo.toml
cargo run --bin gnostr_gnit --manifest-path ./gnit/Cargo.toml

fetch-by-id: ### fetch-by-id
cargo -j $(NPROC) install --bin gnostr-fetch-by-id --path .
Expand Down Expand Up @@ -163,7 +167,7 @@ docker-tui: ### gnostr tui in a docker container
docker-chat: ### gnostr chat in a docker container
docker buildx build . -t gnostr:latest && docker run -it gnostr:latest -c "git init && git config --global init.defaultBranch gnostr && gnostr chat --name gnostr-docker-$(shell gnostr-wobble) --topic gnostr"
docker-shared: ### docker container with volumes
docker buildx build . -t gnostr:latest && docker run -it --privileged -v /Users/Shared:/Users/Shared -v /Users/git:/Users/git gnostr:latest
docker buildx build . -t gnostr:latest && docker run -it --privileged -v /Users/Shared:/Users/Shared -v /Users/randymcmillan:/Users/randymcmillan gnostr:latest

# vim: set noexpandtab:
# vim: set setfiletype make
12 changes: 6 additions & 6 deletions gnit/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
[package]
name = "gnostr-gnit"
description = "gnostr:git server"
version = "0.0.1"
version = "1912.921108.457950"
edition = "2021"
authors = ["gnostr <[email protected]>", "Jordan Doyle <[email protected]>"]
license = "WTFPL"

[workspace]
members = ["tree-sitter-grammar-repository"]

## [[bin]]
## name = "gnostr-ssh"
## path = "ssh/src/bin/gnostr-ssh.rs"
## # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "gnostr_gnit"
path = "src/main.rs"

[dependencies]
anyhow = "1.0"
Expand Down Expand Up @@ -49,7 +48,8 @@ gix = { version = "0.66", default-features = false, features = [
"blob-diff",
"revision",
] }
gnostr-ssh = { version = "0.0.1", path = "../ssh" }
gnostr-ssh = { version = "1912.921106.461013", path = "../ssh" }

httparse = "1.7"
humantime = "2.1"
itertools = "0.13.0"
Expand Down
File renamed without changes.
8 changes: 8 additions & 0 deletions gnit/templates/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.DS_Store
tags


# Added by cargo

/target
examples/dev_mode/target
17 changes: 17 additions & 0 deletions gnit/templates/COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Yo, Sup Nostr Client
Copyright (C) 2022 - 2023
William Casarin <[email protected]>,
Thomas Mathews <[email protected]>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
13 changes: 13 additions & 0 deletions gnit/templates/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
all: fake
@cargo run

example-dev-mode:
@cd examples/dev_mode && cargo run

tags: fake
find js -name '*.js' | xargs ctags > "$@"

emojiregex: fake
@curl -sL 'https://raw.githubusercontent.com/mathiasbynens/emoji-test-regex-pattern/main/dist/latest/javascript.txt'

.PHONY: fake
15 changes: 15 additions & 0 deletions gnit/templates/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Yo Sup

[Issue Tracker](https://todo.sr.ht/~tomtom/damus-web-issues)

"Yo Sup" is a minimal Nostr client that grew out of the original Damus Web
code. It's goal is to view your feed and access your direct messages very fast.
So fast it works over 3G with a fresh page load. It has no goals to fulfill any
other NIPs, please use other clients such as Snort, Coracle, or Iris.

It's written in plain JavaScript, HTML, and CSS for ease of development and
building. Small features and optimizations will be added as needed, but the
application is considered "complete".

Patches are welcomed via email.

Loading
Loading