/tofino

Project Tofino is a browser interaction experiment.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Project Tofino

Linux Build Status Windows Build Status Coverage Status

Project Tofino is a browser interaction experiment.

The kinds of things we use browsers for on PCs and mobile devices are different than they were when the current "tabs across the top" browsers were designed. We believe we can do a lot better by focusing on the tasks and activities users engage browsers for. Project Tofino is one of our explorations.

This project is extremely immature. It's currently at the "OK, lets throw some stuff together to see what happens" stage. Please adjust your expectations accordingly. The tools we're using are not a statement on the set of technologies we'll use to build a final product if these ideas pan out. We're looking for the quickest way to build the experiments we want, not a long-term technical strategy.

If you like a wild ride and you've got another browser for real work, we'd love to have your comments on what works and what doesn't. But right now the "what works" list is a lot shorter than the "what doesn't" list, so maybe check back in a few weeks when there's more to look at.

We blog here: https://medium.com/project-tofino

We hang out on Slack here: https://project-tofino.slack.com (you can get an invite at http://tofino-slack-invite.mozilla.io)

Build

Windows

Linux

Install node 5 through the package manager of your Linux distribution or if not available see https://nodejs.org/en/download/.

OSX

brew install node --with-full-icu

Every time you update from the git repository you may need to install or update any new node dependencies:

npm install

Developing

  • npm start - Runs the build. Builds the client/renderer code via webpack in production mode. Should be rather similar to a packaged build.
  • npm run dev - Runs the build in development with hot module reloading via webpack.
  • npm run package - Creates a distributable package.

Testing

Currently runs eslint and ui tests with mocha.

npm test

Contributing

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

See CONTRIBUTING.md for further notes.

This project is very new, so we'll probably revise these guidelines. Please comment on a bug before putting significant effort in if you'd like to contribute.

The code uses examples from many different places, but the foundation was started from a set of posts from Paul Frazee:

License

This software is licensed under the Apache License Version 2. See LICENSE for details.