This is a simple project to get familiar with http4s.
- HTTP server
- http4s
- Development:
sbt ~reStart
via sbt-revolver
- Storage
- Doobie with H2
- Templates
- ScalaTags
- commonmark-java to render Markdown
- Markdown wiki
- One level pages (e.g. http://host/PageName)
- page names must start with uppercase, can have letters and numbers
- Search
- full text (case sensitive)
- limited to n results, without pagination
The database is in memory, as this is mostly a toy. If you want persitence, you can edit Wiki.xa
properties.
You need Java 11 or later (e.g. OpenJRE 11), and sbt.
Start the service with:
sbt run
Then connect to http://localhost:8080/
Please see LICENSE.