blob: f41cf2666232ede9543831658cc1b4fa42af7e14 [file]
<!DOCTYPE html>
<html lang="en" manifest="{{ site.baseurl }}/manifest.appcache">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ title }}</title>
<link rel="alternate" title="{{ site.description }}" type="application/rss+xml" href="{{ site.baseurl }}/feed.xml">
<link rel="stylesheet" href="{{ site.baseurl }}/static/css/pouchdb.min.css" />
<link rel="me" href="https://fosstodon.org/@pouchdb" />
<meta name="theme-color" content="#6ccb99">
<meta name="msapplication-TileColor" content="#6ccb99">
<link rel="icon" href="{{ site.baseurl }}/static/favicon.ico" type="image/x-icon"/>
</head>
<body data-spy="scroll" data-target="#sidebar">
<header role="banner">
<a
href="https://github.com/apache/pouchdb"
target="_blank"
rel="noopener noreferrer"
>
<div class="ribbon">GitHub</div>
</a>
<div class="container">
<a class="logo" href="{{ site.baseurl }}/">
<div class="logo-img"></div>
<span class='sr-only'>PouchDB</span>
</a>
<ul class='nav nav-header nav-pills' role="navigation">
<li>
<a class='btn btn-link btn-lg' href="{{ site.baseurl }}/blog/">Blog</a>
</li>
<li>
<a class='btn btn-link btn-lg' href="{{ site.baseurl }}/guides/">Guides</a>
</li>
<li>
<a class='btn btn-link btn-lg' href="{{ site.baseurl }}/api.html">API</a>
</li>
<li>
<a class='btn btn-link btn-lg' href="{{ site.baseurl }}/learn.html">Learn</a>
</li>
<li>
<div id="asf-dropdown-container" class="dropdown">
<button class="btn btn-link btn-lg dropdown-toggle" type="button" id="asf-dropdown" data-toggle="dropdown">
ASF
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="asf-dropdown">
<li role="presentation">
<a href="https://www.apache.org/" target="_blank" rel="noopener noreferrer" role="menuitem" tabindex="-1">Foundation</a>
</li>
<li role="presentation">
<a href="https://www.apache.org/licenses/" target="_blank" rel="noopener noreferrer" role="menuitem" tabindex="-1">License</a>
</li>
<li role="presentation">
<a href="https://www.apache.org/events/current-event.html" target="_blank" rel="noopener noreferrer" role="menuitem" tabindex="-1">Events</a>
</li>
<li role="presentation">
<a href="https://privacy.apache.org/policies/privacy-policy-public.html" target="_blank" rel="noopener noreferrer" role="menuitem" tabindex="-1">Privacy</a>
</li>
<li role="presentation">
<a href="https://www.apache.org/security/" target="_blank" rel="noopener noreferrer" role="menuitem" tabindex="-1">Security</a>
</li>
<li role="presentation">
<a href="https://www.apache.org/foundation/sponsorship.html" target="_blank" rel="noopener noreferrer" role="menuitem" tabindex="-1">Sponsorship</a>
</li>
<li role="presentation">
<a href="https://www.apache.org/foundation/thanks.html" target="_blank" rel="noopener noreferrer" role="menuitem" tabindex="-1">Thanks</a>
</li>
<li role="presentation">
<a href="https://www.apache.org/foundation/policies/conduct.html" target="_blank" rel="noopener noreferrer" role="menuitem" tabindex="-1">Code of Conduct</a>
</li>
</ul>
</div>
</li>
<li>
<a class='btn btn-primary btn-lg' href="{{ site.baseurl }}/download.html">Download <strong>v{{ site.version }}</strong></a>
</li>
</ul>
</div>
</header>
{% if page.url != "/" %}
<div class="band band-inverse">
<div class="container">
<h1 class="margin-bottom-none">{{ title }}
{% if edit != false %}
<span class="margin-bottom-none">
{% include edit_button.html %}
</span>
{% endif %}
</h1>
{% if sub_title %}
<h4>{{ sub_title}}</h4>
{% endif %}
</div>
</div>
{% endif %}
<div role="main">
{{ content }}
</div>
<div class="band">
<div class="container">
<div class="social_logo_band">
<a
href="https://bsky.app/profile/pouchdb.bsky.social"
target="_blank"
rel="noopener noreferrer"
>
<img
class="icon"
src="{{ site.baseurl}}/static/img/friends/bluesky.svg"
alt="PouchDB's Bluesky"
/>
</a>
<a
href="https://fosstodon.org/@pouchdb"
target="_blank"
rel="noopener noreferrer"
>
<img
class="icon"
src="{{ site.baseurl}}/static/img/friends/mastodon.svg"
alt="PouchDB's Mastodon"
/>
</a>
<a
href="https://github.com/rvagg/node-levelup"
target="_blank"
rel="noopener noreferrer"
>
<img
class="icon"
src="{{ site.baseurl}}/static/img/friends/leveldb.svg"
alt="Node Levelup"
/>
</a>
<a
href="https://github.com/apache/pouchdb"
target="_blank"
rel="noopener noreferrer"
>
<img
class="icon"
src="{{ site.baseurl}}/static/img/friends/github.svg"
alt="PouchDB's Github Repo"
/>
</a>
<a
href="https://couchdb.apache.org/"
target="_blank"
rel="noopener noreferrer"
>
<img
class="icon"
src="{{ site.baseurl }}/static/img/friends/couchdb.svg"
alt="CouchDB"
>
</a>
</div>
</div>
</div>
<footer class="band band-inverse">
<div class="container">
<div class="row">
<div class="col-sm-3">
<h3 class="nav-head">Learn</h3>
<ul class="nav nav-silent">
<li><a href="{{ site.baseurl }}/getting-started.html">Getting Started</a></li>
<li><a href="{{ site.baseurl }}/api.html">API Guide</a></li>
<li><a href="https://github.com/apache/pouchdb/wiki">Wiki</a></li>
</ul>
</div>
<div class="col-sm-3">
<h3 class="nav-head">Discuss</h3>
<ul class="nav nav-silent">
<li><a href="https://bsky.app/profile/pouchdb.bsky.social">Bluesky</a></li>
<li><a href="https://fosstodon.org/@pouchdb">Mastodon</a></li>
<li><a href="https://github.com/apache/pouchdb/discussions">GitHub Discussions</a></li>
<li><a href="https://join.slack.com/t/couchdb/shared_invite/zt-3aqucllea-C92fkzW5oO_VhllRCqFbcw">Slack</a></li>
<li><a href="http://stackoverflow.com/questions/tagged/pouchdb">StackOverflow</a></li>
</ul>
</div>
<div class="col-sm-3">
<h3 class="nav-head">Contribute</h3>
<ul class="nav nav-silent">
<li><a href="https://github.com/apache/pouchdb/blob/master/CONTRIBUTING.md">Contributing</a></li>
<li><a href="https://github.com/apache/pouchdb">Source</a></li>
<li><a href="https://github.com/apache/pouchdb/issues">Issues</a></li>
<li><a href="https://github.com/apache/pouchdb/blob/master/LICENSE">Apache License</a></li>
<li><a href="https://lists.apache.org/list.html?dev@pouchdb.apache.org">Dev Mailing List</a></li>
</ul>
</div>
<div class="col-sm-3">
<a
href="https://www.apache.org/"
target="_blank"
rel="noopener noreferrer"
class="apache_logo_footer"
>
<img
src="{{ site.baseurl }}/static/img/friends/Apache_PoweredBy.svg"
alt="Apache Software Foundation"
>
</a>
</div>
</div>
</div>
<div class="container apache_footer">
<div>
Apache PouchDB (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
</div>
<img
class="incubator_logo"
src="{{ site.baseurl }}/static/img/friends/apache_incubator_black.svg"
alt="Apache Software Foundation Incubator Logo"/>
<div>
Apache PouchDB, PouchDB, Apache, the Apache logo, and the Apache PouchDB project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
</div>
<div>
All other marks mentioned may be trademarks or registered trademarks of their respective owners.
</div>
</div>
</footer>
<script type="text/javascript" src="{{ site.baseurl }}/static/js/jquery.min.js"></script>
<script type="text/javascript" src="{{ site.baseurl }}/static/js/bootstrap.min.js"></script>
<script type="text/javascript" src="{{ site.baseurl }}/static/js/code.min.js"></script>
<script type="text/javascript" src="{{ site.baseurl }}/static/js/pouchdb.min.js"></script>
<script type="text/javascript" defer>
$('[data-toggle="tooltip"]').tooltip();
function onCached(e) {
if (applicationCache.status === 1) {
giveIntro();
}
}
function giveIntro() {
console.log('%c\n..............................................................................\n.?I...........~+: ............................................................\n.???.........++++.............................................................\n:????+......+++++.............................................................\n.??????+++++++++:.................................H...........D..B............\n...????++++++++...................................H...........D..B............\n...=????++++++.......PPPPP...OOOO...U....U...CCCC.HHHHH...DDDDD..BBBBB........\n...?????+++++++......P...:P.OO...O..U....U..C.....H...H..D....D..B....B.......\n..???????+++++++ ....P. ..P.O....O..U....U.CC.....H...H..D....D..B....B.......\n..?????????????......P...:P.OO...O..U....U..C.....H...H..D....D..B....B.......\n...I??????????~......PPPPP...OOOO...=UUUUU...CCCC.H...H...DDDDD..BBBBB........\n....?????????~.......P.... ...................................................\n.....???????+........P........................................................\n......??????..................................................................\n..............................................................................\n..............................................................................\n..............................................................................', 'color: #4ec084');
console.log('%c\nPouchDB itself is hosted at PouchDB.com!\nTo get started, try typing:\nvar db = new PouchDB(\'mydb\');', 'color: #4ec084');
}
function offerToReload() {
$('.js-update-notification')
.removeClass('btn-update-hidden')
.on('click', function(){
window.location.reload();
});
}
if (navigator.serviceWorker) {
navigator.serviceWorker.register('{{ site.baseurl }}/serviceWorker.js')
.then(function (registration) {
registration.addEventListener('updatefound', function () {
var newWorker = registration.installing;
registration.installing.addEventListener('statechange', function () {
if (newWorker.state == 'installed' && navigator.serviceWorker.controller) {
offerToReload();
}
});
});
giveIntro();
})
.catch(function(error) {
console.log('ServiceWorker registration failed: ', error);
});
} else if (window.applicationCache) {
applicationCache.addEventListener('cached', onCached, false);
applicationCache.addEventListener('noupdate', giveIntro, false);
applicationCache.addEventListener('updateready', offerToReload, false);
}
</script>
<button type="button" class="js-update-notification btn btn-primary btn-update btn-update-hidden">
Content updated, reload now? ↻
</button>
</body>
</html>