Giter Club home page Giter Club logo

backtick's Introduction

Backtick is a console for bookmarklets and scripts, packaged as a Chrome extension. For a better explanation, try out the demo at backtick.io/. The extension is free to use, but it will occasionally nag you to install the $5 Backtick license.

MIT Licensed 2013 Joel Besada

Developing

The code is open for you to play around with and contribute to, if you wish. Here's some instructions on how to get up and running.

Dependencies

To compile Backtick, you'll need to install the following dependencies on your system:

With that installed, run these two commands to download the NPM and Bower packages:

  npm install
  bower install
Building

To build all the files, just run grunt in the root folder. This will put all built files into the dist/ folder.

To load the built extension files from the dist/ folder into Chrome, follow these instructions.

You can also use grunt serve if you want to run the code inside a web page instead of an extension. This gives you an option to more quickly develop "front-end" features of Backtick, with auto compiling and live reloading. You can't test any extension-specific code with this, however.

Testing

There are a couple of tests in the test/ folder. Use grunt test to run this on a web page. This also uses live reload, so you can write code or new tests and the page will automatically refresh.

Vagrant

If you'd like to use Vagrant instead, there is a Vagrantfile for setting everything up for building the extension. If you haven't already, download Vagrant and VirtualBox, and then do the following:

git clone https://github.com/JoelBesada/Backtick.git
cd Backtick
vagrant up

After making changes to the source files, you can rebuild dist/ as follows:

# either run it as one command:
vagrant ssh -- 'bash -l -c "cd /vagrant/ ; grunt build"'

# or do it interactively
vagrant ssh
cd /vagrant
grunt build

Why are you open sourcing this?

Because that's just something I like to do to contribute back to the community. It also forces me to write cleaner code. (Well, in theory at least.)

But wait, couldn't I just clone this repo and remove the nag dialog?

Yes, you absolutely could. That's why I've made it extra easy for you, just flip that boolean to true and you're good to go. However, a nicer option would be to actually buy the license to support the continued development of Backtick.

backtick's People

Contributors

dergachev avatar joelbesada avatar

Watchers

 avatar  avatar  avatar

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.