Skip to content

federated-wiki/fedwiki-java

 
 

Repository files navigation

fedwiki-java

Read federated wiki pages from the internet with Java. Uses the Jackson library for JSON (locally downloaded jars) and the built-in HttpClient from JDK 11+.

To run locally:

sh run.sh

To run a test script locally:

sh test.sh

commands

The provided main program reads and executes commands from standard input. Commands are unique in their first letter so that is all that is required.

  • case words motivating words for subsequent commands.
  • next sequence through the items of the current page.
  • test word confirm that word is present in current item.
  • find word advance through items until word is found
  • link resume following the first link in the current item.
  • back word backup lineup to page with word in title.
  • exit stop command execution and exit main.

roadmap

Additional capabilites will be added as needs or curiosity motivates.

  • Resolve links based on provided context by the "collaborative linking" semantic. ✔︎
  • Retain recently viewed pages in a managed lineup. ✔︎
  • Accumulate sites as they are encountered to form a neighborhood.
  • Search for pages based on neighborhood sitemaps.
  • Provide implementations for selected plugins.
  • Read about pages for available plugins from the origin site.

About

Reading FedWiki pages from Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 82.3%
  • HTML 15.0%
  • Shell 2.7%