A habit tracker app which treats your goals like a Role Playing Game.
JavaScript CSS HTML CoffeeScript Shell Ruby
Latest commit e65f27f Aug 31, 2016 @SabreCat SabreCat committed on GitHub fix(subscriptions): gift termination date (#7948)
Permalink
Failed to load latest commit information.
.ebextensions fix(EB): consolidate extensions (#7748) Jul 2, 2016
.github fix: correct link in issue template May 29, 2016
common Handle empty market category on Drops page (#7959) Aug 31, 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 2, 2015
migrations chore(challenge): next Take This migration Aug 31, 2016
scripts API v3 [WIP] (#6144) May 23, 2016
tasks Deprecate API v2 (was Revert "Revert "Deprecate API v2"") (#7802) Aug 1, 2016
test fix(subscriptions): gift termination date (#7948) Aug 31, 2016
vagrant_scripts Change install_node.sh to install npm 3 instead. Default RAM for vagr… May 28, 2016
website fix(subscriptions): gift termination date (#7948) Aug 31, 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 Deprecate API v2 (was Revert "Revert "Deprecate API v2"") (#7802) Aug 1, 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 Deprecate API v2 (was Revert "Revert "Deprecate API v2"") (#7802) Aug 1, 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 fix(auth): Facebook on MS Edge Aug 18, 2016
config.json.example feat(analytics): Facebook "Pixel" (#7871) Aug 5, 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.35.0 Aug 30, 2016
package.json 3.35.0 Aug 30, 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.