import { GlitchServer } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/mod.node.ts";
A ready-made replica server populated with shares from a local list, and HTTP sync.
- It will look for the known shares list at
./known_shares.json
- The sync endpoint is at
<hostname>/earthstar-api/v2
Constructors
new
GlitchServer(opts: ReplicaServerOpts)Properties
private
server: ReplicaServer