Myster is a fully distributed, old-school P2P application (originally started around 1999).
It scales via virtual overlay networks that segment the broader network by interest, so searches stay within relevant sub-networks instead of flooding everyone.
pom.xml)mvn clean test
Tests run headless by default, skipping tests that require a desktop. To include
the desktop smoke test on a local machine with a GUI:
mvn test -Djava.awt.headless=false
To build artifacts:
mvn package
The authoritative build configuration and targets are in pom.xml.
Packaging runs the JDK's jdeps
on bin/MysterBuild.jar after shading, so application code and bundled libraries
both contribute JDK modules to the runtime shipped on Windows, macOS, and Linux.
The detected module list is written to target/jdeps-modules.txt and passed to
jpackage along with the explicit modules in pom.xml, including java.sql for
Tika metadata. Keep explicit modules for dependencies loaded through reflection or
services, which static analysis can miss. The scan ignores missing optional
third-party classes referenced by bundled libraries; it still detects their JDK
dependencies and fails the build if analysis fails or produces an invalid list.
Use mvn package to run detection before packaging; invoking jpackage:jpackage
alone does not run the scan.
Typical ways to run Myster:
mvn package, run the produced jar from the relevant target/ directory (if an executable jar is produced).docs/design/docs/conventions/Myster uses a two-agent workflow for planning and implementing features:
.github/agents/myster-plan-agent.md)docs/plans/<feature-slug>.mdSpec: docs/agents/planning-agent.md
Implementation Agent (.github/agents/myster-impl-agent.md)
docs/impl_summary/<feature-slug>.mddocs/agents/implementation-agent.mdRelated:
docs/plans/README.mddocs/impl_summary/README.mdThis repository is here to keep the project accessible for anyone curious or interested in working on it.
In theory, Myster can also be used as a foundation for building your own P2P network by defining interest-based overlay networks and layering access control on top.