{"id":23705751,"url":"https://github.com/pouchdb/pouchdb-fauxton-firefox-addon","last_synced_at":"2025-09-03T11:30:53.595Z","repository":{"id":22132602,"uuid":"25463502","full_name":"pouchdb/pouchdb-fauxton-firefox-addon","owner":"pouchdb","description":null,"archived":false,"fork":false,"pushed_at":"2017-03-07T07:16:27.000Z","size":17,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-04T13:21:54.387Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pouchdb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-20T11:33:01.000Z","updated_at":"2018-09-03T05:56:42.000Z","dependencies_parsed_at":"2022-08-19T15:21:11.836Z","dependency_job_id":null,"html_url":"https://github.com/pouchdb/pouchdb-fauxton-firefox-addon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pouchdb/pouchdb-fauxton-firefox-addon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pouchdb%2Fpouchdb-fauxton-firefox-addon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pouchdb%2Fpouchdb-fauxton-firefox-addon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pouchdb%2Fpouchdb-fauxton-firefox-addon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pouchdb%2Fpouchdb-fauxton-firefox-addon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pouchdb","download_url":"https://codeload.github.com/pouchdb/pouchdb-fauxton-firefox-addon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pouchdb%2Fpouchdb-fauxton-firefox-addon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273436004,"owners_count":25105527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-30T14:57:02.463Z","updated_at":"2025-09-03T11:30:53.302Z","avatar_url":"https://github.com/pouchdb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"pouchdb-fauxton-firefox-addon\n=============================\n\nA Firefox (jetpack) add-on that allows you to inspect all PouchDB\ndatabases on the current web page. It only works in Firefox 34 or later.\n\n\n![pouchdb-fauxton-firefox-addon in action](http://s10.postimg.org/7lyf3r8p5/firefox_pouchdb_fauxton.png)\n![pouchdb-fauxton-firefox-addon error example](http://s1.postimg.org/u5nf6djhr/firefox_nopouchdb.png)\n\nDemo\n----\n\nhttps://ma.rtendevri.es/files/pouchdb-fauxton.xpi\n\nInternals\n---------\n\nMake sure you're familiar with how\n[pouchdb-fauxton-logic](https://github.com/marten-de-vries/pouchdb-fauxton-logic)\nworks before reading this.\n\nThis add-on shows a special version of PouchDB-Fauxton inside a\ndeveloper tool panel in Firefox. This version doesn't directly run\npouchdb-route on the resultive CouchDB request object, but instead uses\nmessage passing to pass it to the add-on. The add-on passes it to the\ncurrent page in the current tab, which *does* run pouchdb-route on it,\nand then the whole thing happens again in reverse. This way, it\ngets to see the PouchDB databases of the current page, not of the\ndeveloper tools.\n\nThe add-on also provides a way to get all the IndexedDB databases in the\ncurrent page, because Firefox doesn't support that natively while it\n*is* the most reliable way to implement `PouchDB.allDbs()`.\n\nBuilding\n--------\n\nGet a copy of [pouchdb-fauxton-logic](https://github.com/marten-de-vries/pouchdb-fauxton-logic)\nand make sure it's accessable under `../pouchdb-fauxton-logic`. Also\nmake sure `npm install` has been ran at least once it that directory.\nThen run:\n\n\t./build-generated-files.sh\n\nTo run/build the extension, I personally use another small script, but\nit's not included because it hard codes quite a few paths:\n\n\t#!/bin/sh\n\tcd ~/Programs/addon-sdk-1.17/\n\tsource bin/activate\n\tcd ~/git/pouchdb-fauxton-firefox-addon\n\tcfx run -b /usr/bin/firefox-trunk #or: cfx xpi\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpouchdb%2Fpouchdb-fauxton-firefox-addon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpouchdb%2Fpouchdb-fauxton-firefox-addon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpouchdb%2Fpouchdb-fauxton-firefox-addon/lists"}