Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
6f3d218
src/lib:apply cargo fmt
RandyMcMillan Jul 23, 2025
993fa3f
src/bin/git_remote_nostr/push.rs:apply cargo fmt
RandyMcMillan Jul 23, 2025
d7670c3
examples/nostr-sqlite.rs:apply cargo fmt
RandyMcMillan Jul 23, 2025
2c61214
Cargo.toml:apply cargo sort
RandyMcMillan Jul 23, 2025
9f10d6c
.github/workflows/matrix.yml:remove run: gnostr-fetch-by-id
RandyMcMillan Jul 23, 2025
efb3a08
crawler/src/processor.rs:add/remove some BOOTSTRAP_RELAYS
RandyMcMillan Jul 23, 2025
8699066
Cargo.toml:add dev dep gnostr-query
RandyMcMillan Jul 23, 2025
24bd111
.github/workflows/matrix.yml
RandyMcMillan Jul 24, 2025
d79689c
Cargo.toml:gnostr-query = *
RandyMcMillan Jul 24, 2025
2cd819e
crawler/src/processor.rs
RandyMcMillan Jul 24, 2025
91afc13
src/lib/mod.rs:code cleanup
RandyMcMillan Jul 24, 2025
30cf763
examples/user-directories.rs
RandyMcMillan Jul 24, 2025
53e3575
examples/user-base-directories.rs
RandyMcMillan Jul 24, 2025
b3c20d6
examples/user-project-directories.rs
RandyMcMillan Jul 24, 2025
0175b2e
src/lib/client.rs:use gnostr_crawler-BOOTSTRAP_RELAYS
RandyMcMillan Jul 24, 2025
990f12c
src/lib/args.rs:remove
RandyMcMillan Jul 24, 2025
5326f9c
src/lib/p2p.rs:move
RandyMcMillan Jul 24, 2025
b814786
src/lib/chat/mod.rs:use crate::p2p
RandyMcMillan Jul 24, 2025
de92800
src/lib/chat/p2p.rs:remove
RandyMcMillan Jul 24, 2025
fd9943d
.github/workflows/matrix.yml
RandyMcMillan Jul 24, 2025
3aea1a9
src/bin:move some to examples
RandyMcMillan Jul 24, 2025
46a53f0
.github/workflows/matrix.yml
RandyMcMillan Jul 24, 2025
eff0a4b
.github/workflows/gnostr-bot.yml
RandyMcMillan Jul 24, 2025
ca7671b
v0.0.109
RandyMcMillan Jul 25, 2025
9dc1154
app/Cargo.toml:use gnostr version "*"
RandyMcMillan Jul 25, 2025
4006ccd
gnostr-query:add
RandyMcMillan Jul 25, 2025
a8f56fe
Cargo.toml:add dep gnostr-query
RandyMcMillan Jul 25, 2025
fcf24b5
v0.0.110
RandyMcMillan Jul 25, 2025
7765473
v0.0.111
RandyMcMillan Jul 25, 2025
32e8976
Cargo.lock:v0.0.111
RandyMcMillan Jul 25, 2025
43de0c6
src/lib/utils/retry.rs:easy_retry
RandyMcMillan Jul 25, 2025
697c9e5
src/lib/utils:add GnostrRetry
RandyMcMillan Jul 25, 2025
dc2cf00
src/lib/utils.rs:remove
RandyMcMillan Jul 25, 2025
7d991e0
src/lib/utils/mod.rs:pub mod retry
RandyMcMillan Jul 25, 2025
9df31e6
src/lib/utils/retry.rs:apply cargo fmt
RandyMcMillan Jul 25, 2025
a115406
src/lib/client.rs:apply cargo fmt
RandyMcMillan Jul 25, 2025
03f5f1f
examples/user-base-directories.rs:apply cargo fmt
RandyMcMillan Jul 25, 2025
c60460d
examples/gnostr-retry.rs:apply cargo fmt
RandyMcMillan Jul 25, 2025
5ad4eb8
src/lib/blockhash.rs:add blockhash_sync:blockhash_async
RandyMcMillan Jul 26, 2025
cef4e64
src/main.rs:remove tracing::error info warn
RandyMcMillan Jul 26, 2025
8fd1301
src/lib/tui.rs:remove deps
RandyMcMillan Jul 26, 2025
0c55084
src/bin/git-ssh.rs:remove deps
RandyMcMillan Jul 26, 2025
003f8e7
src/bin/gnostr-sha256.rs:remove deps
RandyMcMillan Jul 26, 2025
bdc36d4
src/lib/blockhash.rs:remove deps
RandyMcMillan Jul 26, 2025
293745a
src/lib/chat/mod.rs:remove deps
RandyMcMillan Jul 26, 2025
42f6c62
src/lib/chat/msg.rs:remove deps
RandyMcMillan Jul 26, 2025
be0ed7d
src/lib/components/chat_details/mod.rs:remove deps
RandyMcMillan Jul 26, 2025
3c51a37
src/lib/dns_resolver.rs:remove deps
RandyMcMillan Jul 26, 2025
fb577a1
src/lib/remote/remote_runner.rs:remove deps
RandyMcMillan Jul 26, 2025
f0321af
src/lib/utils/retry.rs:comment cfg(feature = async)
RandyMcMillan Jul 26, 2025
79dfbe9
src/lib/tabs/home.rs:remove deps
RandyMcMillan Jul 26, 2025
c61857d
src/lib/sub_commands/send.rs:MockClient
RandyMcMillan Jul 26, 2025
e2b6b8f
src/lib/sub_commands/react.rs:remove deps
RandyMcMillan Jul 26, 2025
0bba01b
src/lib/sub_commands/pull.rs:client not mut
RandyMcMillan Jul 26, 2025
1beb6b5
src/lib/ssh/ssh/mod.rs:remove deps
RandyMcMillan Jul 26, 2025
e41e5b0
src/lib/ssh/git/mod.rs:remove deps
RandyMcMillan Jul 26, 2025
2e1392e
src/lib/popups/openchat.rs:remove deps
RandyMcMillan Jul 26, 2025
d40721d
src/lib/p2p.rs:remove deps
RandyMcMillan Jul 26, 2025
cc5e4b7
src/lib/sub_commands/list.rs:client not mut
RandyMcMillan Jul 26, 2025
5ca2655
src/lib/sub_commands/fetch.rs:client not mut
RandyMcMillan Jul 26, 2025
9f43b1a
src/lib/p2p.rs:env::set_var("BLOCKHASH"...
RandyMcMillan Jul 26, 2025
d904f31
src/lib/p2p.rs:let mut m = Msg::default()
RandyMcMillan Jul 26, 2025
26ab391
src/lib/p2p.rs
RandyMcMillan Jul 26, 2025
8e191d3
src/lib/components/chat_details/details.rs:remove chat dep
RandyMcMillan Jul 26, 2025
382ae87
src/lib/chat/ui.rs:remove deps
RandyMcMillan Jul 26, 2025
763ceb1
src/lib/chat/ui.rs:add blockheight_sync to test messages
RandyMcMillan Jul 26, 2025
8f285e1
examples/gnostr-sha256.rs:remove
RandyMcMillan Jul 26, 2025
b6b3cb7
examples/git-ssh.rs:remove
RandyMcMillan Jul 26, 2025
e32530f
examples/gnostr-post-event.rs:remove
RandyMcMillan Jul 26, 2025
de65dad
src/lib/decrypt_privkey.rs:initial impl
RandyMcMillan Jul 27, 2025
7277e79
.github/workflows/matrix.yml:cargo t -p gnostr --bins --lib
RandyMcMillan Jul 27, 2025
84076b7
.github/workflows/matrix.yml
RandyMcMillan Jul 27, 2025
148394e
.github/workflows/matrix.yml
RandyMcMillan Jul 27, 2025
ccaa09a
src/lib/weeble.rs:add weeble_sync/async
RandyMcMillan Jul 27, 2025
d7f2f12
src/lib/weeble.rs:refactor and add tests
RandyMcMillan Jul 27, 2025
456b87f
src/lib/wobble.rs:refactor:add wobble_sync/async and tests
RandyMcMillan Jul 27, 2025
1b465de
src/bin/gnostr-weeble.rs:tests use gnostr::global_rt::global_rt;
RandyMcMillan Jul 27, 2025
b695ac7
src/bin/gnostr-wobble.rs:refactor:add sync/async and tests
RandyMcMillan Jul 27, 2025
0c9645e
src/lib/mod.rs:use refactored src/lib/weeble.rs and wobble.rs
RandyMcMillan Jul 27, 2025
d739ac5
examples:remove gnostr-weeble/wobble.rs
RandyMcMillan Jul 27, 2025
d662195
src/lib/utils/mod.rs:pub mod pwd
RandyMcMillan Jul 27, 2025
1341304
src/lib/internal.rs:remove pub(crate) fn pwd
RandyMcMillan Jul 27, 2025
39bff03
src/lib/mod.rs:use crate::utils::pwd::pwd
RandyMcMillan Jul 27, 2025
cbace20
ssh_key_permissions.sh:initial impl
RandyMcMillan Jul 28, 2025
a59005b
genkeys.sh:initial impl
RandyMcMillan Jul 28, 2025
22f822b
src/bin/server-toml.rs:initial impl
RandyMcMillan Jul 28, 2025
0a4376a
src/bin/gnostr-genssh.rs:initial impl
RandyMcMillan Jul 28, 2025
31cf478
server.toml:basic
RandyMcMillan Jul 28, 2025
61fcebe
src/bin/generate-server-config.rs:initial impl
RandyMcMillan Jul 28, 2025
d44e76f
src/bin: intermediate
RandyMcMillan Jul 28, 2025
0fe4cbf
server.toml:remove
RandyMcMillan Jul 28, 2025
e1e0c27
.gitignore:server.toml
RandyMcMillan Jul 28, 2025
b5457ea
server.toml:re-add
RandyMcMillan Jul 28, 2025
b9ab3c3
repo.toml:add gnostr-user
RandyMcMillan Jul 28, 2025
00d088b
src/bin/generate-server-config.rs:add fn move_gnostr_gnit_key()
RandyMcMillan Jul 28, 2025
49e7fde
examples/user-project-directories.rs:ProjectDirs::from org gnostr gnostr
RandyMcMillan Jul 29, 2025
858501c
examples:remove
RandyMcMillan Jul 29, 2025
1792bc9
src/lib/mod.rs:
RandyMcMillan Jul 29, 2025
45b1fd7
examples/user-project-directories.rs:apply cargo fmt
RandyMcMillan Jul 29, 2025
6a92927
.github/workflows/matrix.yml:remove run: gnostr ...
RandyMcMillan Jul 29, 2025
891bc5e
gnostr-legit:intermediate:initial impl
RandyMcMillan Jul 29, 2025
26e11a9
gnostr-legit:intermediate:more impl
RandyMcMillan Jul 30, 2025
c71e484
gnostr-legit:intermediate:more impl
RandyMcMillan Jul 30, 2025
b06df6f
src/bin/generate-server-config.rs:windows cfg:intermediate
RandyMcMillan Jul 30, 2025
bcd9cb5
src/lib/sub_commands/legit.rs:add --repo --pow options
RandyMcMillan Jul 30, 2025
ee5f170
src/bin/generate-server-config.rs:return Ok(())
RandyMcMillan Jul 30, 2025
42ac3f3
src/bin/gnostr-weeble.rs:remove weeble dep
RandyMcMillan Jul 30, 2025
32bedfd
src/bin/gnostr-wobble.rs:remove wobble dep
RandyMcMillan Jul 30, 2025
37d457c
src/bin/git-ssh.rs:print error
RandyMcMillan Jul 30, 2025
39929bc
src/bin/generate-server-config.rs:debug print ssh_dir
RandyMcMillan Jul 30, 2025
2275315
src/lib/weeble.rs:remove deps
RandyMcMillan Jul 30, 2025
8557064
src/lib/wobble.rs:remove deps
RandyMcMillan Jul 30, 2025
65b7c91
src/lib/internal.rs:remove deps
RandyMcMillan Jul 30, 2025
0153ae8
examples:remove some examples
RandyMcMillan Jul 30, 2025
3a97ed1
src/bin/generate-server-config.rs:cfg not windows
RandyMcMillan Jul 30, 2025
3508c06
asyncgit/src/gitui/git/mod.rs:Res<Branch<'_>> consistency
RandyMcMillan Jul 30, 2025
a56e29e
src/bin/gnostr-weeble.rs:test use gnostr::weeble::weeble
RandyMcMillan Jul 30, 2025
a097b02
src/bin/gnostr-wobble.rs:test use gnostr::wobble::wobble
RandyMcMillan Jul 30, 2025
81882eb
src/bin/gnostr-weeble/wobble.rs:apply cargo fmt
RandyMcMillan Jul 30, 2025
b860e2e
src/lib/components/topiclist.rs:display WEEBLE/BLOCKHEIGHT/WOBBLE fro…
RandyMcMillan Jul 30, 2025
3014f1f
src/lib:tui weeble/blockheight/wobble:intermediate:working
RandyMcMillan Jul 30, 2025
6ce036e
src/main.rs:set initial WEEBLE/BLOCKHEIGHT/WOBBLE env vars
RandyMcMillan Jul 30, 2025
180a05e
src/lib/app.rs:log::debug:WEEBLE
RandyMcMillan Jul 30, 2025
dbe860e
src/main.rs:apply cargo fmt
RandyMcMillan Jul 30, 2025
6af7df3
src/lib/blockheight.rs:apply cargo fmt
RandyMcMillan Jul 30, 2025
549fbe1
src/lib/wobble.rs:apply cargo fmt
RandyMcMillan Jul 30, 2025
fe0a03d
src/lib/weeble.rs:apply cargo fmt
RandyMcMillan Jul 30, 2025
0d549cb
src/lib/tui.rs:apply cargo fmt
RandyMcMillan Jul 30, 2025
2f3e961
src/lib/components/topiclist.rs:apply cargo fmt
RandyMcMillan Jul 30, 2025
6f25d5a
src/bin/gnostr-genssh.rs:if cfg windows: return Ok()
RandyMcMillan Jul 31, 2025
44ba5a9
src/bin/gnostr-genssh.rs:if cfg windows: return Ok()
RandyMcMillan Jul 31, 2025
d55572e
src/lib/tui.rs:intermediate
RandyMcMillan Jul 31, 2025
2e32093
src/bin/gnostr-genssh.rs:intermediate
RandyMcMillan Jul 31, 2025
20823ce
.gitignore:remove bin bins
RandyMcMillan Jul 31, 2025
49c5b92
gnostr-legit:intermediate
RandyMcMillan Jul 31, 2025
8ab3b19
src/lib/mod.rs:get_pwd:crate::utils::pwd::pwd
RandyMcMillan Jul 31, 2025
47946e1
gnostr-legit:intermedite
RandyMcMillan Jul 31, 2025
416b9c0
src/bin/gnostr-legit.rs:serialized commit
RandyMcMillan Jul 31, 2025
ae4e8b2
src/lib/legit/worker.rs:apply cargo fmt
RandyMcMillan Jul 31, 2025
d9e5adc
src/lib/legit/gitminer.rs:use gnostr_crawler::processor::BOOTSTRAP_RE…
RandyMcMillan Jul 31, 2025
8a39ead
src/bin/gnostr-legit.rs:apply cargo fmt
RandyMcMillan Jul 31, 2025
08d0c05
1931/908004/639870:gnostr-legit:test
RandyMcMillan Jul 31, 2025
0c703c2
1931/908004/639884:gnostr-legit:test
RandyMcMillan Jul 31, 2025
086dab1
1931/908004/639904:gnostr-legit:test
RandyMcMillan Jul 31, 2025
000002b
1931/908005/638007:gnostr-legit:test
RandyMcMillan Jul 31, 2025
0000027
1931/908005/638065:gnostr-legit:test
RandyMcMillan Jul 31, 2025
00000cb
1931/908005/638141:gnostr-legit:test
RandyMcMillan Jul 31, 2025
c377351
src/bin/gnostr-genssh.rs:use std::os::unix::fs::PermissionsExt
RandyMcMillan Jul 31, 2025
f6bdb1d
src/bin/gnostr-genssh.rs:clean up code
RandyMcMillan Jul 31, 2025
394f7ec
src/bin/gnostr-genssh.rs:refactor:windows support
RandyMcMillan Aug 1, 2025
c10fd0f
.github/workflows/matrix.yml:remove cargo-binstall mempool_space
RandyMcMillan Aug 1, 2025
b1bde2e
.github/workflows/matrix.yml:remove cargo-binstall gnostr-xq
RandyMcMillan Aug 1, 2025
a77b263
Update gnostr-genssh.rs
RandyMcMillan Aug 1, 2025
e7a3c90
query/examples/extract_elements.rs:add examples
RandyMcMillan Aug 1, 2025
cc677d9
query/examples/define_types.rs:add derive feature
RandyMcMillan Aug 1, 2025
56ce8cf
gnostr-query:v0.0.9
RandyMcMillan Aug 1, 2025
12feef6
src/bin/gnostr-genssh.rs:clean up code
RandyMcMillan Aug 1, 2025
2081d0e
Cargo.toml:v0.0.112:use gnostr-query:v0.0.9
RandyMcMillan Aug 1, 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: 0 additions & 3 deletions .github/workflows/gnostr-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
- cron: '*/30 * * * *' # run 30th minute
push:
branches:
- '*'
- '*/*'
- '**'
- 'ma**'

workflow_dispatch:
Expand Down
117 changes: 53 additions & 64 deletions .github/workflows/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rustup: [1.88, nightly]
rustup: [1.88, stable, nightly]
runs-on: ${{ matrix.os }}
steps:
- name: echo test
Expand Down Expand Up @@ -86,39 +86,37 @@ jobs:
- run: cargo search gnostr --limit 100
- run: cargo install [email protected] || true
#if: matrix.os != 'windows-latest'
- run: cargo-binstall --no-confirm mempool_space
- run: cargo-binstall --no-confirm gnostr-xq
- run: cargo-binstall --no-confirm gnostr
- run: brew tap gnostr-org/homebrew-gnostr-org || true
if: matrix.os != 'windows-latest'
- run: brew tap nostorg/nostr || true
if: matrix.os != 'windows-latest'
- run: brew tap randymcmillan/homebrew-randymcmillan || true
if: matrix.os != 'windows-latest'
- name: Save rustup
id: cache-rustup-save
uses: actions/cache/save@v3
if: ${{ !env.ACT }}
with:
path: |
~/.rustup
key: ${{ steps.cache-rustup-restore.outputs.cache-primary-key }}
- name: Save cargo
id: cache-cargo-save
uses: actions/cache/save@v3
if: ${{ !env.ACT }}
with:
path: |
~/.cargo
key: ${{ steps.cache-cargo-restore.outputs.cache-primary-key }}
- name: Save target
id: cache-target-save
uses: actions/cache/save@v3
if: ${{ !env.ACT }}
with:
path: |
target
key: ${{ steps.cache-target-restore.outputs.cache-primary-key }}
#- name: Save rustup
# id: cache-rustup-save
# uses: actions/cache/save@v3
# if: ${{ !env.ACT }}
# with:
# path: |
# ~/.rustup
# key: ${{ steps.cache-rustup-restore.outputs.cache-primary-key }}
#- name: Save cargo
# id: cache-cargo-save
# uses: actions/cache/save@v3
# if: ${{ !env.ACT }}
# with:
# path: |
# ~/.cargo
# key: ${{ steps.cache-cargo-restore.outputs.cache-primary-key }}
#- name: Save target
# id: cache-target-save
# uses: actions/cache/save@v3
# if: ${{ !env.ACT }}
# with:
# path: |
# target
# key: ${{ steps.cache-target-restore.outputs.cache-primary-key }}
test:
needs: setup
env:
Expand Down Expand Up @@ -184,46 +182,37 @@ jobs:
fetch-tags: 'false'

- run: rustup default ${{ matrix.rustup }}
- run: gnostr-fetch-by-id
- run: gnostr -V
- run: gnostr -h
- run: gnostr ngit -h
- run: gnostr ngit --help
- run: gnostr ngit help
- run: gnostr ngit fetch -h
- run: gnostr ngit fetch --help
- run: gnostr ngit fetch
- run: |
cargo t -p gnostr || true
if: matrix.rustup == '1.88'
cargo t -p gnostr --bins --lib -- --no-capture
if: matrix.rustup == '1.88' && matrix.os != 'windows-latest'

- run: V=1 sudo make docs || true
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true && matrix.os == 'ubuntu-matrix'

- name: Save rustup
id: cache-rustup-save
uses: actions/cache/save@v3
if: ${{ !env.ACT }}
with:
path: |
~/.rustup
key: ${{ steps.cache-rustup-restore.outputs.cache-primary-key }}
- name: Save cargo
id: cache-cargo-save
uses: actions/cache/save@v3
if: ${{ !env.ACT }}
with:
path: |
~/.cargo
key: ${{ steps.cache-cargo-restore.outputs.cache-primary-key }}
- name: Save target
id: cache-target-save
uses: actions/cache/save@v3
if: ${{ !env.ACT }}
with:
path: |
target
key: ${{ steps.cache-target-restore.outputs.cache-primary-key }}
#- name: Save rustup
# id: cache-rustup-save
# uses: actions/cache/save@v3
# if: ${{ !env.ACT }}
# with:
# path: |
# ~/.rustup
# key: ${{ steps.cache-rustup-restore.outputs.cache-primary-key }}
#- name: Save cargo
# id: cache-cargo-save
# uses: actions/cache/save@v3
# if: ${{ !env.ACT }}
# with:
# path: |
# ~/.cargo
# key: ${{ steps.cache-cargo-restore.outputs.cache-primary-key }}
#- name: Save target
# id: cache-target-save
# uses: actions/cache/save@v3
# if: ${{ !env.ACT }}
# with:
# path: |
# target
# key: ${{ steps.cache-target-restore.outputs.cache-primary-key }}
install:
needs: test
env:
Expand Down Expand Up @@ -291,10 +280,10 @@ jobs:
- run: rustup default ${{ matrix.rustup }}
- run: |
cargo install --path . --force
if: matrix.os == 'windows-latest'
if: matrix.os == 'windows-latest' && matrix.rustup == 'nightly'
- run: |
make cargo-install || sudo make cargo-install
if: matrix.os != 'windows-latest'
if: matrix.os != 'windows-latest' && matrix.rustup == 'nightly'
- run: V=1 sudo make docs || true
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true && matrix.os == 'ubuntu-matrix'

Expand Down
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
gnostr-gnit-key
gnostr-gnit-key.pub
.gnostr
executable
test
Expand All @@ -19,8 +21,6 @@ act/
aes.o
base64.o
bash_profile.log
bin/
bins/
bits/
cat/
cli/
Expand All @@ -41,7 +41,6 @@ gnostr-get-relays
gnostr-get-relays-test
gnostr-git
gnostr-gnode
gnostr-legit
gnostr-pi
gnostr-req
gnostr-set-relays
Expand All @@ -57,7 +56,6 @@ hyper-nostr/
hyper-sdk/
jj/
jq/
legit/
lfs/
libnostr.a
libsecp256k1.a
Expand Down
Loading
Loading