Menu ▾ ▴

Tree [007602] master /
 History

HTTPS access


File Date Author Commit
 .agents 2026-10-31 addertheblack addertheblack [861a2f] Enhance thumbnail handling in search tabs: impl...
 .github 2026-09-02 addertheblack addertheblack [a1ae99] Update Java version to 26 in project configurat...
 .settings 2026-09-17 addertheblack addertheblack [e7aae5] Fix windows thumbnail bug
 docs 2026-10-31 addertheblack addertheblack [55d741] Add client window server header: display server...
 src 2026-11-01 addertheblack addertheblack [007602] Add tests for PromiseFutureList: verify replay ...
 .classpath 2026-09-17 addertheblack addertheblack [e7aae5] Fix windows thumbnail bug
 .gitignore 2026-10-31 addertheblack addertheblack [ae092e] Remove Myster.iws project file and update .giti...
 .project 2024-04-14 addertheblack addertheblack [b1f864] Pretty much completely rewrite the tracker again
 CODE_OF_CONDUCT.md 2017-07-14 Andrew Trumper Andrew Trumper [e1e1bf] Create CODE_OF_CONDUCT.md
 LICENSE 2017-07-14 Andrew Trumper Andrew Trumper [4eb07c] Create LICENSE
 MANIFEST.MF 2023-12-02 Andrew Trumper Andrew Trumper [623956] Refactored standard protocol suite code
 Myster.iml 2026-11-01 addertheblack addertheblack [65241a] Refactor metadata extraction: replace BufferedI...
 Myster.ipr 2026-11-01 addertheblack addertheblack [65241a] Refactor metadata extraction: replace BufferedI...
 MysterVersionHistory.mys 2026-09-13 addertheblack addertheblack [cecf8f] Enhance multi-source download functionality wit...
 README.md 2026-10-31 addertheblack addertheblack [c4fced] Add client window server header: display server...
 TODO.txt 2026-10-31 addertheblack addertheblack [861a2f] Enhance thumbnail handling in search tabs: impl...
 create_mac_icon.sh 2023-12-23 andrew andrew [f9bcac] Add MacOS specific fixes
 myster_coding_conventions.xml 2023-12-11 Andrew Trumper Andrew Trumper [4d6caa] Finish removing all libraries
 pom.xml 2026-11-01 addertheblack addertheblack [65241a] Refactor metadata extraction: replace BufferedI...
 program_icon.icns 2023-12-23 andrew andrew [f9bcac] Add MacOS specific fixes
 program_icon.ico 2023-12-11 Andrew Trumper Andrew Trumper [effde7] Make Myster use preferences on startup
 program_icon.png 2023-12-30 addertheblack addertheblack [1739c8] Add linux maven target

Read Me

Myster

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.

Prerequisites

  • Java (use the version specified in pom.xml)
  • Maven

Build & test

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.

Run

Typical ways to run Myster:

  • From an IDE: import the project as Maven and run the appropriate main class/run configuration.
  • From the command line: after mvn package, run the produced jar from the relevant target/ directory (if an executable jar is produced).

Documentation

  • Design docs (living docs describing the current implementation): docs/design/
  • Coding conventions (including Javadoc guidance): docs/conventions/

Agent-driven development workflow

Myster uses a two-agent workflow for planning and implementing features:

  1. Planning Agent (.github/agents/myster-plan-agent.md)
  2. Produces implementation plans in docs/plans/<feature-slug>.md
  3. Spec: docs/agents/planning-agent.md

  4. Implementation Agent (.github/agents/myster-impl-agent.md)

  5. Executes plans, updates code/Javadoc/design docs
  6. Writes summaries to docs/impl_summary/<feature-slug>.md
  7. Spec: docs/agents/implementation-agent.md

Related:

  • Plans: docs/plans/README.md
  • Implementation summaries: docs/impl_summary/README.md

Background

This 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.