https://github.com/pouchdb/pouchdb-fauxton-chrome-extension
Unmaintained: see #17
https://github.com/pouchdb/pouchdb-fauxton-chrome-extension
Last synced: 5 months ago
JSON representation
Unmaintained: see #17
- Host: GitHub
- URL: https://github.com/pouchdb/pouchdb-fauxton-chrome-extension
- Owner: pouchdb
- Created: 2014-10-20T11:33:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-05-11T20:30:33.000Z (about 5 years ago)
- Last Synced: 2024-04-12T18:02:37.150Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 26
- Watchers: 9
- Forks: 6
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pouchdb-fauxton-chrome-extension
================================A chrome extension that allows you to view all PouchDB databases on the
current web page. IndexedDB backed databases are supported only (but
that's the default anyway).
Demo
----[Not available anymore in the Chrome Web Store](https://chrome.google.com/webstore/detail/pouchdb-fauxton/hbhhpaojmpfimakffndmpmpndcmonkfa)
Internals
---------Make sure you're familiar with how
[pouchdb-fauxton-logic](https://github.com/marten-de-vries/pouchdb-fauxton-logic)
works before reading this.This extension shows a special version of PouchDB-Fauxton inside a
developer tool panel in Chrome. This version doesn't directly run
pouchdb-route on the resultive CouchDB request object, but instead uses
message passing to pass it to the extension. The extension passes it
to the current page in the current tab, which *does* run pouchdb-route
on it, and then the whole thing happens again in reverse. This way, it
gets to see the PouchDB databases of the current page, not of the
developer tools.Building
--------Get a copy of [pouchdb-fauxton-logic](https://github.com/marten-de-vries/pouchdb-fauxton-logic)
and make sure it's accessable under `../pouchdb-fauxton-logic`. Also
make sure `npm install` has been ran at least once it that directory.
Then run:./build-generated-files.sh
The result is a complete unpacked extension you can load using
Chrome/Chromium.