Use latest store modules from npm Update README Update docs Update examples Update benchmarks Update dependencies Add Getting Started guide Add new a screenshot Add a new live demo Add persistency tests for snapshot saving/loading and events Add network stress tests (but skip them by default as they're very heavy and lengthy) Add browser benchmarks Add log() alias for eventlog() database Add possibility to create database if it doesn't exist yet Add support for orbitdb addresses Add a test for starting replication when peers connect Add debug build Use IPFS nodeID as default user id Use ipfs-pubsub-room Handle closing of databases properly Handle cache errors Clean up tests, re-organize code files Clean up code style Support for CLI Remove obsolete scripts
51 lines
1.9 KiB
HTML
51 lines
1.9 KiB
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<link href="browser.css" rel="stylesheet">
|
|
</head>
|
|
|
|
<body>
|
|
<div id="logo">
|
|
<pre>
|
|
_ _ _ _ _
|
|
| | (_) | | | |
|
|
___ _ __| |__ _| |_ __| | |__
|
|
/ _ \| '__| '_ \| | __| / _\` | '_\
|
|
| (_) | | | |_) | | |_ | (_| | |_) |
|
|
\___/|_| |_.__/|_|\__| \__,_|_.__/
|
|
|
|
Peer-to-Peer Database for the Decentralized Web
|
|
<a href="https://github.com/orbitdb/orbit-db" target="_blank">https://github.com/orbitdb/orbit-db</a>
|
|
</pre>
|
|
</div>
|
|
<h2>Open or Create Local Database</h2>
|
|
<i>Open a database locally and create it if the database doesn't exist.</i>
|
|
<br><br>
|
|
<input id="dbname" type="text" placeholder="Database name"/>
|
|
<button id="create" type="button" disabled>Open</button>
|
|
<select id="type">
|
|
<option value="eventlog">Eventlog</option>
|
|
<option value="feed">Feed</option>
|
|
<option value="keyvalue">Key-Value</option>
|
|
<option value="docstore">DocumentDB</option>
|
|
<option value="counter">Counter</option>
|
|
</select>
|
|
<input id="public" type="checkbox" checked> Public
|
|
|
|
<h2>Open Remote Database</h2>
|
|
<i>Open a database from an OrbitDB address, eg. /orbitdb/QmfY3udPcWUD5NREjrUV351Cia7q4DXNcfyRLJzUPL3wPD/hello</i>
|
|
<br>
|
|
<i><b>Note!</b> Open the remote database in an Incognito Window or in a different browser. It won't work if you don't.</i>
|
|
<br><br>
|
|
<input id="dbaddress" type="text" placeholder="Address"/>
|
|
<button id="open" type="button" disabled>Open</button>
|
|
<input id="readonly" type="checkbox" checked> Read-only
|
|
<br><br>
|
|
<div id="status">Init</div>
|
|
<div id="output"></div>
|
|
<div id="writerText"></div>
|
|
<script type="text/javascript" src="bundle.js" charset="utf-8"></script>
|
|
<link href="https://fonts.googleapis.com/css?family=Abel" rel="stylesheet">
|
|
</body>
|
|
</html>
|