GithubHelp home page GithubHelp logo

ruddfawcett / hedwig Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 136 KB

Hedwig is middleware for Hoot, the command line tool that sends push notifications to your phone from the console.

License: MIT License

JavaScript 100.00%

hedwig's Introduction

Hedwig

Hedwig is middleware for Hoot, the command line tool that sends done notifications to your phone from the console. Hoot is a simple command line tool to alert you when a Terminal process has finished, with a push notification right to your device!

Use

To use Hedwig for local use or Hoot testing, do the following:

git clone [email protected]:ruddfawcett/hedwig.git
cd hedwig && npm install

That will install the required modules that Hedwig uses.

To start the server, just run node index.js, and the app should be available on http://localhost:5000.

Development

In order to setup Hedwig, you will need the following:

  • A Parse app, with the application ID and the JavaScript client key. Make sure that "client push" is enabled.
  • A Postgre database named hoot, or something similar. You will need the extension CITEXT installed on it.

You can use the users.sql file in db/users.sql to setup the users database in Postgres. Then insert a user in the database that you can test with:

INSERT INTO users (email, password) VALUES ('YOUR_EMAIL', 'SHA1_PASSWORD');

Heroku

You can run your own custom version of Hedwig on a Heroku app -- just remember to replace:

var database_url = keys['DATABASE_URL']; // with
var database_url = process.env.DATABASE_URL;

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ruddfawcett/hedwig.

License

The gem is available as open source under the terms of the MIT License.

hedwig's People

Contributors

ruddfawcett avatar

Stargazers

 avatar

Watchers

James Cloos 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.