Giter Club home page Giter Club logo

pouchdb-fauxton-chrome-extension's Introduction

usage: This fork repair the extension on modern chromium, you can load this repository directly from chrome, it is already built. The extension is currently pending a chrome webstore review.

set this line in your code to let the extension observe your local DBs window.PouchDB = PouchDB;

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).

pouchdb-fauxton-chrome-extension in action

Demo

Internals

Make sure you're familiar with how 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 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.

pouchdb-fauxton-chrome-extension's People

Contributors

lifeisstrange avatar marten-de-vries avatar remithomas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.