Giter VIP home page Giter VIP logo

reddit-gnomes's Introduction

reddit gnomes

a chrome extension for loading UI experiments on reddit.com

view the individual plugins for more info

installation

git clone https://github.com/madbook/reddit-prototype-readnext.git

for development you'll also need to:

cd reddit-read-next
npm install
grunt
  1. go to chrome://extensions in chrome.
  2. make sure the Developer mode option is checked.
  3. click Load unpacked extension....
  4. browse to the dist/ folder in this repo's folder.
  • for development load the build/ folder instead!
  1. go look at reddit!

updating

To pull down the latest, run git pull in the root folder. If you are running the

git pull

for development you'll need to rebuild as well.

Then reload the extension:

  1. go to chrome://extensions in chrome.
  2. click the Reload link under this extension

development

npm start

npm start runs the default grunt task once, then watches the .jsx and .less files used and re-builds. nothing fancy.

I've added a grunt task to automate reloading the plugin. It depends on chrome-cli. If you have homebrew, installing it is easy:

brew install chrome-cli --build-from-source

If you don't want to install chrome-cli, you'll have to reload the plugin manually using steps above. You'll probably also get some errors when using grunt watch. If they are annoying or causing problems, you can just comment out the chrome_extension_reload task in the watch config section of Gruntfile.js.

adding plugins

each plugin is a folder in the plugins/ directory. the plugin loader will attempt to load two files:

  1. plugin.jsx (or plugin.js)
  2. plugin.less (or plugin.css)

see the test/ and prefs/ plugins for reference until I write a more thorough description of how plugins should be authored.

reddit-gnomes's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

umbrae

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.