258 Commits

Author SHA1 Message Date
Dave Huseby
9d9d7d2fcc chore(deps): update libp2p, rand, tokio (#307)
Signed-off-by: Dave Grantham <dwg@linuxprogrammer.org>
Co-authored-by: Dave Grantham <dwg@linuxprogrammer.org>
Co-authored-by: dozyio <37986489+dozyio@users.noreply.github.com>
2025-11-13 06:39:08 +00:00
dozyio
1b559eedcf fix: nim build (#333) 2025-11-11 15:53:19 +00:00
Alex Mylonas
0671a706d3 [go-peer]: roomName handling + used as service name for mDNS discovery (#322)
* feat: handle room flag

* feat: roomName acts like a service name for mDNS discovery

---------

Co-authored-by: dozyio <github@dozy.io>
2025-11-09 15:23:18 +00:00
dozyio
6b6b8c41a9 feat: add Go flag to specify port (#332) 2025-11-08 23:01:58 +00:00
dozyio
f34f66fc34 fix: Go headless logging (#331) 2025-11-08 19:21:30 +00:00
dozyio
27d3dc320b Merge branch 'nim-peer-development' into main 2025-11-07 08:22:39 +00:00
Gabriel Cruz
9fdc60e943 feat: add nim peer (#1) (#308) 2025-11-07 08:20:47 +00:00
dozyio
ba2dad789c fix: go tui updates (#313)
* remove stdout logging when using tui
* scroll messages and system messages
* bump docker alpine version
* use correct peer id for messages
* bumped deps
* bump to Go 1.25.4
* enable mouse support
2025-11-06 08:33:35 +00:00
Piotr Galar
68d8317e30 Update go-ci.yml (#320) 2025-10-02 14:12:27 +02:00
Alex Potsides
0254d9602a fix: pin react-curse to 1.0.15 (#311)
Somewhere between 1.0.15 and 1.0.22 react-curse broke the UI. There's
[no convenient overview](https://github.com/infely/react-curse/issues/100)
of changes so just pin it to the last working version while investigation
is ongoing.
2025-09-11 15:52:20 +03:00
Dave Grantham
a5bf7c22ed chore: set up nim peer development branch
Signed-off-by: Dave Grantham <dwg@linuxprogrammer.org>
2025-08-28 16:01:14 -06:00
Dave Huseby
a1dd5f5c3b feat: add a TUI interface to rust-peer (#245)
* add tui ui
* add polling of events
* clean up peer code
* all hooked up
* clean up system messages
* smarter system messages
* add tcp
* fix channel handling
* drop peers when they hang up
* fix listen address is not necessarily an external address
* add better logging and peer list
* add headless, kademlia, relay, dcutr, webrtc, peer discovery
* fix clippy
* add tui ui
* add polling of events
* clean up peer code
* all hooked up
* clean up system messages
* smarter system messages
* add tcp
* fix channel handling
* drop peers when they hang up
* fix listen address is not necessarily an external address
* add better logging and peer list
* add headless, kademlia, relay, dcutr, webrtc, peer discovery
* fix clippy

Signed-off-by: Dave Grantham <dwg@linuxprogrammer.org>
2025-05-01 20:30:37 -06:00
web3-bot
b0ef55c969 ci: uci/copy-templates (#271)
* chore: add or force update .github/workflows/stale.yml

* chore: add or force update .github/workflows/generated-pr.yml
2025-05-01 09:30:59 +02:00
Alex Potsides
24e2960c39 feat: add Node.js peer (#268)
Adds a basic Node.js peer with a terminal user interface.

Lifts some code from the existing js-peer. Doesn't support DMs or dialing peers directly (yet).

Fixes #214

---------

Co-authored-by: Daniel N <2color@users.noreply.github.com>
2025-04-22 13:31:44 +01:00
dependabot[bot]
1f74148f60 deps: bump next in /js-peer in the npm_and_yarn group (#255)
Bumps the npm_and_yarn group in /js-peer with 1 update: [next](https://github.com/vercel/next.js).


Updates `next` from 14.2.13 to 14.2.25
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.2.13...v14.2.25)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-27 17:41:26 +01:00
Dave Huseby
b83b67f275 back out py-peer changes (#235)
Signed-off-by: Dave Grantham <dwg@linuxprogrammer.org>
2025-02-27 13:00:46 -07:00
Daniel Norman
ec11a59480 js-peer: overhaul ui and load that chat by default (#233)
* feat: overhaul ui and load chat by default

* fix: simplify nav bar and load chat on index route

* fix: linting

---------

Co-authored-by: Daniel N <2color@users.noreply.github.com>
2025-02-27 09:22:09 +01:00
Dave Huseby
71586b267d workshop: initialize workshop book (#230)
* initialize workshop mdbook

Signed-off-by: Dave Grantham <dwg@linuxprogrammer.org>

* Update workshop/src/introduction.md

Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com>

---------

Signed-off-by: Dave Grantham <dwg@linuxprogrammer.org>
Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com>
2025-02-26 19:48:02 -07:00
Daniel N
fd65989afe ci: fix js-peer deployment 2025-02-26 17:37:31 +01:00
Daniel Norman
890be23803 feat: deploy to ipfs from gh actions (#234)
* feat: add ipfs deploy action

* ci: add permissions to workflow

* ci: run deploy workflow on all commits to main

---------

Co-authored-by: Daniel N <2color@users.noreply.github.com>
2025-02-26 16:48:43 +01:00
Daniel Norman
34b6b356a7 js-peer: update deps and add back ipv6 relay listener (#232)
* deps: bump libp2p deps

* fix: add back ipv6 circuit relay listen addrs

relies on https://github.com/libp2p/js-libp2p/pull/3001

---------

Co-authored-by: Daniel N <2color@users.noreply.github.com>
2025-02-26 15:43:49 +01:00
Dave Huseby
d322e7701f update to v0.55 of rust-libp2p (#209)
* update to v0.55 of rust-libp2p
* remove commented out code
* small tweak to behavior init, add documentation of file request protocol

Signed-off-by: Dave Grantham <dwg@linuxprogrammer.org>
2025-02-25 23:36:46 -07:00
Kent Bull
52239d83d5 feat: py-peer scaffold (#226)
Thanks! 🍻
2025-02-25 01:17:45 -07:00
Daniel Norman
18f0504e9a js-peer: only set circuit relay listen and simplify (#225)
* fix: only set circuit relay listen and simplify

* fix: errors and unused import

* chore: run formatter

---------

Co-authored-by: Daniel N <2color@users.noreply.github.com>
2025-02-20 14:34:09 +01:00
Daniel Norman
590567a232 increase go-peer limits (#222)
* update deps

* feat: use autotls and remove webtransport

* add missing ProvideHost

* chore: remove hardcoding of log levels

* go-peer: re-enable webtransport

* go-peer: increase limits

* fix: set all sacling limit props

---------

Co-authored-by: Daniel N <2color@users.noreply.github.com>
2025-02-20 13:30:39 +01:00
Daniel Norman
4e5aa6ebd8 feat: add autotls to go-peer (#215)
* update deps

* feat: use autotls and remove webtransport

* add missing ProvideHost

* chore: remove hardcoding of log levels

* go-peer: re-enable webtransport

---------

Co-authored-by: Daniel N <2color@users.noreply.github.com>
2025-02-20 12:40:59 +01:00
Daniel Norman
077862a6ee js-peer: upgrade deps (#223)
Co-authored-by: Daniel N <2color@users.noreply.github.com>
2025-02-20 12:24:21 +01:00
Alex Potsides
de94284638 docs: fix typo in readme (#221) 2025-02-20 11:50:48 +01:00
Daniel N
34d63d6ad3 fix: docker image build 2025-02-12 15:17:46 +01:00
Daniel Norman
cbaace1623 fix: bump go version and improve docker image (#213)
* ci: bump go version for build

* go-peer: improve docker file and bump go version

* fix: docker image

---------

Co-authored-by: Daniel N <2color@users.noreply.github.com>
2025-02-12 15:14:10 +01:00
Daniel Norman
39a6f59f89 chore: add gitattributes (#212)
Co-authored-by: Daniel N <2color@users.noreply.github.com>
2025-02-12 13:22:26 +01:00
Daniel Norman
848d31d946 js-peer: add prettier and build gh action
* chore: add prettier for consistent formatting

* chore: run prettier in build command

* chore: update prettier config

* ci: add workflow to build and lint frontend

* ci: run frontend build only on changes to js-peer

* ci: fix build with working directory

* ci: format workflow

---------

Co-authored-by: Daniel N <2color@users.noreply.github.com>
2025-02-04 16:45:25 +01:00
Daniel Norman
d28e52c0e2 go-peer: webrtc-direct on ipv6 (#205)
Co-authored-by: Daniel N <2color@users.noreply.github.com>
2024-11-01 10:18:40 +01:00
Daniel Norman
370dbbacd1 docs: update readme (#204) 2024-11-01 09:36:34 +01:00
Daniel Norman
6e8e03d993 feat: add webrtc-direct listener in go-peer (#172)
* feat: add experimental support in go for webrtc

* chore: update deps

* Apply suggestions from code review

* deps: bump go-libp2p

* feat: increase reservation limits

* chore: go mod tidy

* ci: bump go-version for workflow

* fix: go error

* deps: bump go-libp2p-pubsub

* fix: separate go and rust workflows

* deps: update go deps

* chore: go mod tidy

---------

Co-authored-by: Daniel N <2color@users.noreply.github.com>
2024-11-01 09:31:11 +01:00
Daniel Norman
7f7a54cd73 deps: upgrade to libp2p v2 (#202)
* chore(js): bump libp2p deps

* deps: bump libp2p deps

* chore: simplify config

* chore: remove max connections

---------

Co-authored-by: dozyio <github@dozy.io>
Co-authored-by: Daniel N <2color@users.noreply.github.com>
2024-10-31 17:25:46 +01:00
Daniel N
77f0f6ce9e chore: enable unoptimised images 2024-10-16 11:53:48 +02:00
Daniel N
945e0b33cb chore: fix output mode 2024-10-16 11:51:48 +02:00
dozyio
750150c0e4 feat: direct messages (#175)
* feat: direct messages (#5)

* chore: use Libp2pType

* feat: add direct messaging as a custom service

* chore: move init of directmessage handler

* fix: add await to dm receive

* chore: small simplification (#6)

* chore: small simplification

* chore: remove from field which can be derived

---------

Co-authored-by: Daniel N <2color@users.noreply.github.com>

* chore: signals

* chore: remove menu, add popover

* chore: move markAsRead to hook

* chore: wrap dm receive in try catch

---------

Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com>
Co-authored-by: Daniel N <2color@users.noreply.github.com>
2024-09-17 14:04:24 +02:00
dozyio
21cb6bb27b feat: loading screen (#176)
* feat: loading screen

* chore: casing

---------

Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com>
2024-09-03 17:16:31 +02:00
dependabot[bot]
4008981428 deps: bump @libp2p/circuit-relay-v2 from 1.0.22 to 1.0.25 in /js-peer (#163)
Bumps [@libp2p/circuit-relay-v2](https://github.com/libp2p/js-libp2p) from 1.0.22 to 1.0.25.
- [Release notes](https://github.com/libp2p/js-libp2p/releases)
- [Changelog](https://github.com/libp2p/js-libp2p/blob/main/.release-please.json)
- [Commits](https://github.com/libp2p/js-libp2p/compare/dcutr-v1.0.22...plaintext-v1.0.25)

---
updated-dependencies:
- dependency-name: "@libp2p/circuit-relay-v2"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-26 11:03:21 +02:00
dozyio
9cfaee595f feat: rust peer joins peer discovery topic (#174)
* feat: rust peer discovery over gossipsub

* chore: fmt
2024-07-25 16:13:02 +02:00
dependabot[bot]
4760d9b302 deps: bump @types/node from 20.12.7 to 20.14.8 in /js-peer (#166)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com>
2024-06-24 09:55:54 -05:00
dependabot[bot]
a834022f8d deps: bump @types/react from 18.3.2 to 18.3.3 in /js-peer (#164)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com>
2024-06-17 08:50:38 -05:00
dependabot[bot]
4d972d6247 deps: bump libp2p from 1.5.1 to 1.6.1 in /js-peer (#162)
Bumps [libp2p](https://github.com/libp2p/js-libp2p) from 1.5.1 to 1.6.1.
- [Release notes](https://github.com/libp2p/js-libp2p/releases)
- [Changelog](https://github.com/libp2p/js-libp2p/blob/main/.release-please.json)
- [Commits](https://github.com/libp2p/js-libp2p/compare/libp2p-v1.5.1...libp2p-v1.6.1)

---
updated-dependencies:
- dependency-name: libp2p
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-12 14:12:45 +02:00
dependabot[bot]
4025ed5008 deps: bump @libp2p/webtransport from 4.0.30 to 4.0.32 in js-peer (#161)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com>
2024-06-10 08:33:23 -05:00
dependabot[bot]
4a5466fdcc deps: bump eslint-config-next from 14.2.2 to 14.2.3 in /js-peer (#159)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com>
2024-06-03 04:03:38 -05:00
dependabot[bot]
b5093a2d13 deps: bump github.com/multiformats/go-multiaddr in /go-peer (#155)
Bumps [github.com/multiformats/go-multiaddr](https://github.com/multiformats/go-multiaddr) from 0.12.3 to 0.12.4.
- [Release notes](https://github.com/multiformats/go-multiaddr/releases)
- [Commits](https://github.com/multiformats/go-multiaddr/compare/v0.12.3...v0.12.4)

---
updated-dependencies:
- dependency-name: github.com/multiformats/go-multiaddr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-28 15:00:12 -07:00
dependabot[bot]
0761920fc4 deps: bump react-dom and @types/react-dom in /js-peer (#158)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com>
2024-05-27 11:07:36 -05:00
dependabot[bot]
d205aa1ad6 deps: bump next from 14.2.2 to 14.2.3 in /js-peer (#151)
Bumps [next](https://github.com/vercel/next.js) from 14.2.2 to 14.2.3.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.2.2...v14.2.3)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-23 11:02:55 +02:00