HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
mozilla-b2g
gaia
JavaScript2012–2016
mozilla-b2g / gaia · Archived

gaia

DEPRECATED - Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project. NOTE: For details of what branches are used for what releases, see

15Distinct people
22Mentions
0Explicit recommenders
2.1KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

DEPRECATED - Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project. NOTE: For details of what branches are used for what releases, see

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year22 dated mentions

Observed mentions: 2012-09-26 15:22:47 UTC to 2016-12-31 19:11:19 UTC.

0369122012-01-01 00:00:00 UTC to 2013-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments20122013-01-01 00:00:00 UTC to 2014-01-01 00:00:00 UTC (exclusive): 12 mentions; 2 submissions, 10 comments2014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments20142015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2016

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20122012-01-01 00:00:00 UTC2013-01-01 00:00:00 UTC110
20132013-01-01 00:00:00 UTC2014-01-01 00:00:00 UTC12210
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC404
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC404
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC110

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
Gaia Gaia is Mozilla's Phone UX for the Boot to Gecko (B2G) project. Boot to Gecko aims to create a complete, standalone operating system for the open web. You can read more about B2G here: http://mozilla.org/b2g follow us on twitter: @Boot2Gecko http://twitter.com/Boot2Gecko join the Gaia mailing list: http://groups.google.com/group/mozilla.dev.fxos and talk to us on IRC: #fxos on irc.mozilla.org Hacking Gaia The Gaia/Hacking page on MDN has all the information that you need to start working on Gaia, including building and running Gaia on a compatible device or desktop computer. Autolander (bot) Autolander is a bot which integrates github and bugzilla workflows. Features available: Automatic pull request to bugzilla attachment linking. Automatic landing, on green integration run, with a R+ from a suggested reviewer and the autoland keyword. Comments in the bug with the landed commit, and marks the bug as fixed. Validates pull request title and commit message formats. Currently only runs a subset of the gaia CI tests which are stable on taskcluster. Ensure you have a green gaia-try run before adding the autoland keyword. See more at: https://github.com/mozilla/autolander The Autolander guide on MDN Tests Unit Tests Unit tests for an app go in apps/<APP>/test/unit/. To run all the unit tests with B2G Desktop: Run DEBUG=1 make Run make test-agent-server & Run B2G Desktop and open the Test Agent app Run make test-agent-test or make test-agent-test APP=<APP> to run unit tests for a specific app More importantly, you can use test-agent-server to watch the files on the filesystem and execute relevant tests when they change: Run DEBUG=1 make Run make test-agent-server & Run B2G Desktop and open the Test Agent app Edit files and when you save them, glance at the console with test-agent-server running Note: If you add new files, you will need to restart test-agent-server. As a convenience, you can also use the gaia-test script to launch the test-agent-server and open the Test Agent app in firefox: Add firefox to your $PATH or set $FIREFOX to your preferred firefox/aurora/nightly binary. Run ./bin/gaia-test to run the test-agent-server and launch firefox. Run make test-agent-test or modify files as described above. For more details on writing tests, see: https://developer.mozilla.org/en/Mozilla/Boot_to_Gecko/Gaia_Unit_Tests Integration Tests Gaia uses marionette-js-runner for ui testing. Tests need to live in apps/<some app>/test/marionette and should be named *_test.js. Gaia's marionette tests run on nodejs and you'll need nodejs>=v0.12 and npm>=v2.0 installed. Shared code for tests lives in plugins at tests/jsmarionette/plugins or in helpers at shared/test/integration. For more details on writing integration tests, see: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Automated_testing/Gaia_integration_tests Running integration tests make test-integration Invoking tests for a specific app APP=<APP> make test-integration Invoking specific test files TEST_FILES="/abs/path/to/some_test.js /abs/path/to/other_test.js" make test-integration Running tests on device You can run tests on device by plugging in your phone and adding the BUILDAPP=device to the make command: BUILDAPP=device make test-integration More things VERBOSE=1 pipes gecko logs to your command line process for debugging. Build System Tests Build system has its own unit test and integration test. Both are running on Node.js Build System Unit Tests To run unit test locally, using following command: $ make build-test-unit Build System Integration Tests To run integration test locally, using following command: $ make build-test-integration Invoking specific test files Both the build unit or integration test can invoke specific test files by TEST_FILES make build-test-unit TEST_FILES=<test file path> make build-test-integration TEST_FILES=<test file path> For example, we could run the keyboard_test.js build integration test in keyboard app with the below command. make build-test-integration TEST_FILES=apps/keyboard/test/build/integration/keyboard_test.js If you would like to run more than one test, we could do the below command. make build-test-integration TEST_FILES="apps/keyboard/test/build/integration/keyboard_test.js apps/keyboard/test/build/integration/keyboard_layout_test.js" Generate JSDOC To generate API reference locally, run make docs command to generate docs. The generated per app API docs will be located in docs folder. You could generate single app doc with this: $ gulp jsdoc:system
Read the full README on GitHub

What Hacker News says

22 sources

Ask HN: What might be the future of open-source offline-first email apps?

Most people are happy to leave email to the big players, most notably Gmail. But many of us would like this aspect of the Internet to remain meaningfully decentralized, as it was in the beginning. And some of us would prefer not to rely on proprietary software for this crucial task. Probably the most well-known open-source email application is Thunderbird. But it's clearly on life support, and at least in my experience, it has never been very robust. Plus, it's an old-school desktop application, and while some of us (myself currently included) prefer that, most people prefer to do email in a web browser and on a mobile device. There are open-source webmail applications like Roundcube, but at least last time I looked, they required frequent round trips to the server, albeit with some JavaScript enhancement. In modern parlance, they're not
Read the rest
offline-first. So is there already a good open-source, offline-first email application that can run on multiple platforms (i.e. not something like K9Mail for Android)? If not, what might be the best way to go about developing one? I'm guessing the best starting point would be the email application from Gaia [1], part of the now abandoned Firefox OS. [1]: https://github.com/mozilla-b2g/gaia
27 points · Open discussion
* deploying apps is super easy - either host them on a web server or push them from firefox's webIDE, and remote debugging using the firefox devtools just works. * hacking core apps is totally doable. You need a rooted device to update them though. Currently the best ones would be nexus 5 or sony z3(c). * everything that is displayed is html/js/css. What you call "framework" here is part of the system app (https://github.com/mozilla-b2g/gaia/tree/master/apps/system). It's a fairly large app, but it's where a lot of the fun stuff is!
In Mozilla to open first-world front in Firefox OS war
From a very practical point of view, webOS is/was webkit based, while we obviously wanted to leverage our own rendering engine (gecko). webOS also is not 100% web technologies (the "window manager" is native code iirc), and overall we had different ideas on how to improve the web platform to build an OS. I don't know much about Enyo, but one important thing is that we think that no framework should be needed to build apps for firefoxOS. But I'd like to know if enyo apps can run on fxos. The UI of the phone itself (called gaia, https://github.com/mozilla-b2g/gaia/) is pretty much framework-less. webOS didn't make it as a platform for various reasons: lack of devices, no strong community for instance. Mozilla is in a way better position here.
In Ask HN: What makes Firefox OS better than webOS?
#1 https://github.com/mozilla-b2g/gaia feel free to work on it. Any contribution will be appreciated. 2# this is not marketed as a substitute to iPhone or even Android. It's mean for people that can't afford high end phones. People that if the choice is a $25 phone without contacts sync or a $100 phone with sync they will take the former. 3# A lot of people are working hard on this project improving it every day. Dismissing it like that for a quite minor thing, yes minor, seems quite childish to me.
In Firefox OS 1.3
Yup, we have a shared helper in Firefox OS on top of IndexedDB that all the apps use (localStorage is as close to banned as it can be) (https://github.com/mozilla-b2g/gaia/blob/master/shared/js/as...) However thats fine when you are building your own apps, but I meant as a long term solution to the web platform, if localStorage needs disabled on one platform in favour of a propietary API, maybe its best to replace it with a non proprietary web api
In A new breed of Chrome Apps
(Mozilla developer speaking) I've tested FirefoxOS builds for more "high-end" devices (in quotes, because it is nothing like my Galaxy Nexus and your Nexus 4), namely the Geeksphone Peak and the Nexus S (a guy in my office is doing the port on his spare time, so I could play with it for a bit). In terms of scrolling/panning/zooming, say, in a list, in the browser or on the home screen, the phone is basically at 60fps the time, the only slowdown I found were some GC pauses from time to time when doing some weird stuff (opening/closing apps like crazy to stress test the thing, basically, could slow the phone down) or browsing heavy webpages (in terms of js and CSS). From dual core and up, the phone is really nice (I personally found the Geeksphone Keon to be too low in terms of specs, the experience was too far from my Android 4.2 device).
Read the rest
Apps are coming (I would not have bet on a decent app map, but Nokia's solution is very decent, tbh, altough we certainly need more than a nice map app), hopefully we have something to announce later this year (I don't work on FirefoxOS specifically, I know as much as you do). I also know we also started working heavily on supporting hi-dpi devices [1]. [1]: The branch where the hi-dpi work is happening https://github.com/mozilla-b2g/gaia/tree/v1.1.0hd
In Verizon backs Ubuntu smartphone

Showing the 15 most recent of 22 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.