-
Notifications
You must be signed in to change notification settings - Fork 8
feat: js-peer-workshop #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this PR! However, it is missing the en/js/setup.md
file that explains the commands to run to start a new project that uses js-libp2p and the en/js/deps.py
script that checks for all of the commands needed to create/compile/run a js project that uses js-libp2p. I can't test it any further until those are there.
Thank you for the review, working on it! |
Hello @dhuseby QnA
As for the latest commits inculcates following changes:
Further TODOs
Console Output:Lesson 1: (Identity & Swarm Basics)Lesson 2 (TCP Transport)Lesson 3 (Ping Protocol) |
revamp lesson.md in a comprehensive way.
@Nkovaturient Hey there! I'll help create the set up/checks and deps for js. As well I think there is quite a bit of work needed for each lesson. Is there a chance you can split each lesson into its own seperate PR? it'll be easier to manage and review 😄 |
Created a PR to edit the docker files and configs to structure for the workshop flow. |
Update/js peer workshop
…ectivity-workshop into feat/js-peer-workshop
Update lesson 2 dockerfiles
…nt/universal-connectivity-workshop into feat/js-peer-workshop
Updates03-ping-protocol/check.py
04-circuit-relay-v2
05-identify-protocol
06-gossipsub-module
General Setup/Pattern
Core features are setup just Lesson 4 and 5 are under active development ..🚧 |
Update/js peer workshop lesson 2
finished lesson 2, added more relevant info and fixed docker. added checker as well. Will continue fixing the next lessons |
Update/js peer workshop lesson 3
update lesson 1
update lesson 2
perhaps this will help you figure out the structure of the content: https://github.com/libp2p/workshop/blob/main/WORKSHOP_AUTHORING.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still need to clean some stuff up.
Hey @dhuseby
Thanks for the Workshop_Authoring_MD, will go through it. |
Merge PR #8 from Nkovaturient/feat/lesson-3-fixes
* fix(l5): Identify-Protocol-checkpoint * feat: Add Lesson 5 (Identify Protocol) for JavaScript track - Complete lesson implementation with libp2p identify protocol - Fixed PeerId generation and private key handling - Added Docker containerization with proper networking - Included comprehensive validation with check.py - Updated workshop.yaml to support JavaScript lessons - All tests passing: Node.js direct, Docker Compose, Python checker Resolves: JavaScript Lesson 5 implementation Testing: Validated with multiple test methods * Add js-libp2p support and complete lesson paths for js in workshop.yaml * Revert "fix(l5): Identify-Protocol-checkpoint" This reverts commit 85ca2c3. --------- Co-authored-by: Hany Almnaem <[email protected]>
* Added Lesson 03 & 04 with dockerization * Updated peer-id generation logic * minor changes to lesson03 app/index.js
@dhuseby |
…nt/universal-connectivity-workshop into addlesson6-on-workshop
…ovaturient/universal-connectivity-workshop into addlesson6-on-workshop" This reverts commit 6ab5765, reversing changes made to 669e5a9.
* feat: enhance GossipSub lesson with multi-peer demonstration Transform basic GossipSub lesson into comprehensive multi-peer demo: - Replace single-peer setup with realistic 2-peer network - Demonstrate actual peer-to-peer message exchange - Add professional educational documentation - Implement proper mesh formation and validation - Show bidirectional GossipSub messaging in action Educational improvements: - Students experience real decentralized messaging - See authentic libp2p peer discovery and connection - Understand GossipSub mesh topology formation - Validate actual pub/sub message propagation The lesson now demonstrates true GossipSub capabilities instead of basic topic subscription, providing realistic P2P learning. * feat: implement coordinated multi-peer GossipSub demonstration
✨ Add Js-peer Workshop Lessons 1 & 2 with Robust Automation and Testing
Description
This PR introduces the first two lessons of the Js-peer Universal Connectivity Workshop. These lessons are designed to teach new developers how to build robust, event-driven peer-to-peer applications using js-libp2p. The structure, validation, and automation closely follow the standards set by the Rust workshop, ensuring a high-quality, reproducible learning experience.
Integration Highlights
Lesson 1: Identity & Swarm Basics
check.py
script and Docker Compose.Lesson 2: TCP Transport
Automation & Testing
test_lesson.sh
) for automated lesson validation.Structure & Consistency
en/js/
with a clear, repeatable directory structure.Relevant Resources