A habit tracker app which treats your goals like a Role Playing Game.
JavaScript CSS HTML CoffeeScript Shell Ruby
Latest commit 7c579bf Jul 27, 2016 @audiolion audiolion committed with crookedneighbor 7837-Update API Docs (#7839)
* Updated API Docs for api-v3

* Updated API Docs for top-level

* Updates relating to @crookedneighbor comments

* Updated type and field of 'to' param.
Failed to load latest commit information.
.ebextensions fix(EB): consolidate extensions (#7748) Jul 1, 2016
.github fix: correct link in issue template May 29, 2016
common fix(path): correct i18n import Jul 26, 2016
database_reports Merge remote-tracking branch 'remotes/Alys/eyewear1' into develop Nov 29, 2014
debug-scripts feat: Add debug scripts to easilly get all pets/mounts/gear Mar 15, 2016
dist Merge branch 'develop' of github.com:HabitRPG/habitrpg into rebalancing Mar 6, 2015
keys/google change Google iap-live for Android mobile app gem purchases, at negue… Dec 3, 2015
migrations feat(content): July 2016 Subscriber (#7833) Jul 26, 2016
scripts API v3 [WIP] (#6144) May 23, 2016
tasks chore(tests): Add sanity test for proper babel routes Jul 26, 2016
test chore(tests): Add sanity test for proper babel routes Jul 27, 2016
vagrant_scripts Change install_node.sh to install npm 3 instead. Default RAM for vagr… May 28, 2016
website 7837-Update API Docs (#7839) Jul 27, 2016
.babelrc API v3 [WIP] (#6144) May 23, 2016
.bowerrc API v3 [WIP] (#6144) May 23, 2016
.buildpacks refactor(tasks) improve UI consistency Nov 27, 2014
.codeclimate.yml Only list javascript in .codeclimate.yml Aug 2, 2015
.eslintignore Revert "Deprecate API v2" (#7801) Jul 17, 2016
.eslintrc Shortname (#7655) Jun 16, 2016
.gitignore API v3 [WIP] (#6144) May 23, 2016
.nodemonignore chore(tests): Don't restart test server when modifying test file Jun 28, 2016
.nvmrc chore: Upgrade node Mar 5, 2016
.travis.yml API v3 [WIP] (#6144) May 23, 2016
Dockerfile Separate call to upgrade npm so that it occurs before any other installs Jun 17, 2016
Gruntfile.js Revert "Deprecate API v2" (#7801) Jul 17, 2016
LICENSE Fix grammar mistakes in license file Jun 21, 2016
Procfile API v3 [WIP] (#6144) May 23, 2016
README.md feat: Add debug scripts to easilly get all pets/mounts/gear Mar 15, 2016
VAGRANT.md HabitRPG -> Habitica text changes Jul 31, 2015
Vagrantfile.example Change install_node.sh to install npm 3 instead. Default RAM for vagr… May 28, 2016
apidoc.json chore: Remove versioning from apidoc May 25, 2016
bower.json Real-time Chat (#7664) Jul 2, 2016
config.json.example Real-time Chat (#7664) Jul 2, 2016
docker-compose.dev.yml docker maintenance Jan 11, 2016
docker-compose.yml docker maintenance Jan 11, 2016
gulpfile.js API v3 [WIP] (#6144) May 23, 2016
karma.conf.js API v3 [WIP] (#6144) May 23, 2016
npm-shrinkwrap.json 3.25.1 Jul 26, 2016
package.json chore(tests): Add sanity test for proper babel routes Jul 27, 2016

README.md

Habitica Build Status Code Climate Coverage Status Bountysource

Habitica is an open source habit building program which treats your life like a Role Playing Game. Level up as you succeed, lose HP as you fail, earn money to buy weapons and armor.

We need more programmers! Your assistance will be greatly appreciated.

For an introduction to the technologies used and how the software is organized, refer to Contributing to Habitica - "Coders (Web & Mobile)" section.

To set up a local install of Habitica for development and testing, see Setting up Habitica Locally, which contains instructions for Windows, *nix / Mac OS, and Vagrant.

Then read Guidance for Blacksmiths for additional instructions and useful tips.

Debug Scripts

In the ./debug-scripts/ folder, there are a few files. Here's a sample:

grant-all-equipment.js
grant-all-mounts.js
grant-all-pets.js

You can run them by doing:

node debug-scripts/name-of-script.js

If there are more arguments required to make the script work, it will print out the usage and an explanation of what the script does.