import { ShowcaseServer } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/mod.ts";
A ready-made replica server populated with shares from a local list, able to serve the contents of a single share via HTTP requests. Great for building wikis, websites, and image galleries with friends.
- It will look for the known shares list at
./known_shares.json
- Websocket sync endpoint is at
<hostname>/earthstar-api/v2
Constructors
new
ShowcaseServer(serveOpts: ExtensionServeContentOpts, opts: ReplicaServerOpts)Properties
private
server: ReplicaServer