Coder Social home page Coder Social logo

omnium's Introduction

Installing Omnium for the first time

Make sure you have NodeJS 0.6+ installed (by running node -v).

Clone omnium:

git clone [email protected]:gkoberger/omnium.git --recursive

Inside your new omnium folder, install the dependencies:

npm install

Make sure new_project.sh has the right permission:

chmod u+x new_project.sh

Creating an add-on

Steps to create a cross browser plugin:

  1. Create a new project folder. ./new_project.sh
  2. Fill out the build.json file.
  3. Add .js and .css files to /includes/ (Note: if you need them to be loaded in a particular order, use load_order in build.json)
  4. Run the build command from the main directory. ./builder.js [project name]

Right now it's fragile and a lot won't work- this is only v0.1.

Currently only supports Greasemonkey (Fx3.6) and Jetpack (Fx4+). Chrome support coming soon.

For a good example using all of the features, see gkoberger/bugzillajs.

Questions?

This is woefully underdocumented, so post absolutely any questions in Issues and we'll answer them :)

Or, email us:

  • gkoberger [at] gmail [dot] com
  • mdeboer [at] mozilla [dot] com

Troubleshooting:

  • Make sure you have NodeJS 0.6+ installed (available from various package managers or http://nodejs.org/)
  • Run npm install after you've cloned omnium
  • Make sure new_project.sh has the proper permissions (chmod u+x new_project.sh)
  • Probably only works in OSX right now
  • Make sure you init and update the submodules
  • Jetpack .xpi's will only run in Fx4+; 3.6 requires Greasemonkey
  • A majority of errors will be because of weird jetpack stuff; try running the jetpack stuff inside .builder/jetpack-sdk manually. Eventually most of these problems will go away.

omnium's People

Contributors

gkoberger avatar mikedeboer avatar mnoorenberghe avatar rik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

omnium's Issues

Switch to Web Extensions

Most of what omnium was built to normalize can be easily written with Web Extensions. There's a few discrepancies (some slight differences in manifest.json, for example) that could still be normalized by omnium, however it would make a lot of sense to pretty much start this over from scratch.

Support for other OS

No a way for Windows? I have clone the repo and has installed a node.js software, but I could not find a working command.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.