Skip to content

bgrins/tofino-2

Repository files navigation

Project Tofino

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

Dependencies

brew install node --with-full-icu
npm install --global gulp-cli

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

npm install

Tasks

The following gulp tasks are implemented.

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

The following tasks will most likely not need to be used externally, but as dependencies.

  • electron-download - Downloads a target of electron to use. Should automatically be called after the first npm install, so shouldn't be needed.
  • clean-package - Removes ./dist directory.
  • build - Builds the client/renderer code.
  • build-dev - Builds the client/renderer code in development mode.

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.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published