{"id":20288035,"url":"https://github.com/peponi/fxos-app-contacts-couchdb-sync","last_synced_at":"2026-06-06T12:31:16.703Z","repository":{"id":30975048,"uuid":"34533275","full_name":"peponi/fxos-app-contacts-couchdb-sync","owner":"peponi","description":"a FirefoxOS WebApp to synchronize Contacts with a CouchDB","archived":false,"fork":false,"pushed_at":"2019-10-25T13:45:15.000Z","size":156,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-26T19:06:25.639Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peponi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-24T17:53:04.000Z","updated_at":"2019-10-25T13:45:17.000Z","dependencies_parsed_at":"2022-09-21T10:31:39.156Z","dependency_job_id":null,"html_url":"https://github.com/peponi/fxos-app-contacts-couchdb-sync","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peponi/fxos-app-contacts-couchdb-sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peponi%2Ffxos-app-contacts-couchdb-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peponi%2Ffxos-app-contacts-couchdb-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peponi%2Ffxos-app-contacts-couchdb-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peponi%2Ffxos-app-contacts-couchdb-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peponi","download_url":"https://codeload.github.com/peponi/fxos-app-contacts-couchdb-sync/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peponi%2Ffxos-app-contacts-couchdb-sync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33983046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"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-11-14T14:43:45.279Z","updated_at":"2026-06-06T12:31:16.679Z","avatar_url":"https://github.com/peponi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)\n\n## What's that\n\nThis is a [WebApp](https://developer.mozilla.org/en-US/Apps/Fundamentals/Quickstart/Build/Intro_to_open_web_apps) in a [Tron_Legacy](https://en.wikipedia.org/wiki/Tron:_Legacy) style for the [FirefoxOS](https://en.wikipedia.org/wiki/Firefox_OS) operating system, to synchronize contacts with a remote [CouchDB](http://couchdb.apache.org).\n\n![Screen Shot](screenshot.png)\n \n### Firmware upgrade links:\n\n* all you need for for *ZTE Open*, *Alcatel One Touch Fire*, *Keon* \u0026 *Flame* on [www.mexmod.com](http://www.mexmod.com)\n* all you need for Geekphones on [downloads.geeksphone.com](http://downloads.geeksphone.com)\n* all you need for Sony FXP on [fxpblog.co](http://fxpblog.co/firefox/nightly)\n*  see a huge list of build for several devices up to FFOS 2.0 on [firefoxosbuilds.org](https://firefoxos.mozilla.community/devices) \n* [upgrade to](https://hacks.mozilla.org/2014/01/upgrading-your-zte-open-to-firefox-1-1-or-1-2-fastboot-enabled/) **FFOS1.2**\n* [upgrade to](http://opendirective.net/blog/2014/04/success-firefox-os-1-4-built-and-running-on-zte-open/) **FFOS1.4/FFOS1.5**\n* upgrade/reset to FFOS1.1/FFOS1.0  ([firmware for ZTE open](http://www.ztedevice.com/support/smart_phone/b5a2981a-1714-4ac7-89e1-630e93e220f8.html) )\n\n### Info\n\n* find all old, current and upcoming FirefoxOS devices on [firefoxosdevices.org](https://firefoxosdevices.org)\n* there is also an npm [cli tool to manage FirefoxOS builds](https://www.npmjs.com/package/fxosbuilds)\n\n## CouchDB setup (if you want to sync your data to your [CouchDB](https://couchdb.apache.org))\n\nyou need to enable [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) to sync data fromt your phone to the DB\n\n*CouchDB doesn't come with CORS enabled by default. This is a problem for libraries like PouchDB, which depend on being able to access CouchDB ...*\n\njust do the following in your terminal\n\n```\nHOST=http://adminname:password@couchdb_ip_address:5984 # or whatever you got\n\ncurl -X PUT $HOST/_config/httpd/bind_address -d '\"0.0.0.0\"'\ncurl -X PUT $HOST/_config/httpd/enable_cors -d '\"true\"'\ncurl -X PUT $HOST/_config/cors/origins -d '\"*\"'\ncurl -X PUT $HOST/_config/cors/credentials -d '\"true\"'\ncurl -X PUT $HOST/_config/cors/methods -d '\"GET, PUT, POST, HEAD, DELETE\"'\ncurl -X PUT $HOST/_config/cors/headers -d '\"accept, authorization, content-type, origin, referer, x-csrf-token\"'\n```\n\nvia: [github.com/pouchdb/add-cors-to-couchdb](https://github.com/pouchdb/add-cors-to-couchdb#what-it-does)\n\n# User story\n\n**as a  FFOS1.1 user** I want to export all my contacts  \n**so thant** I can upgrade my operating system and import all contacts to the new OS\n\n### Acceptance criteria:\n\n* contacts can be read from FirefoxOS\n  * v1.1 ✔\n  * v1.2 ✔\n  * v1.3 ✔\n* contacts can be send to CouchDB ✔\n  * check if contact already exist on CouchDB - by comparing phone or email or name\n  * if contact already exist or has been synced update synced contactlist with blue '✔' or red '⨯'\n* contacts can be fetch from CouchDB ✔\n* contacts can be import in FirefoxOS ✔\n  * check if contact already exist on FirefoxOS - by comparing phone or email or name ✔\n\n### FirefoxOS API\n\n* https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/API/Contacts_API\n* https://developer.mozilla.org/en-US/Apps/Fundamentals/gather_and_modify_data/Updating_phone_contacts_from_the_web\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeponi%2Ffxos-app-contacts-couchdb-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeponi%2Ffxos-app-contacts-couchdb-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeponi%2Ffxos-app-contacts-couchdb-sync/lists"}