GithubHelp home page GithubHelp logo

habitrpg / habitica Goto Github PK

View Code? Open in Web Editor NEW
11.4K 11.4K 4.0K 1.57 GB

A habit tracker app which treats your goals like a Role Playing Game.

Home Page: https://habitica.com

License: Other

CoffeeScript 0.08% CSS 25.47% HTML 0.05% JavaScript 51.80% Vue 22.01% SCSS 0.58% Handlebars 0.01% Procfile 0.01%
css express habitica hacktoberfest html javascript mongodb node nodejs vue vuejs

habitica's Introduction

Habitica Build Status Code Climate 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. The wiki pages below and the additional pages they link to will tell you how to get started on contributing code and where you can go to seek further help or ask questions:

Habitica's code is licensed as described at https://github.com/HabitRPG/habitica/blob/develop/LICENSE

Found a bug? Please report it to admin email rather than creating an issue (an admin will advise you if a new issue is necessary; usually it is not).

Have any questions about Habitica or its community? See the links in the habitica.com website's Help menu or drop in to Guilds > Tavern Chat to ask questions or chat socially!

habitica's People

Contributors

alys avatar benmanley avatar colegleason avatar crookedneighbor avatar curiousmagpie avatar deilann avatar dependabot-preview[bot] avatar dependabot[bot] avatar djuretic avatar gisikw avatar greenkeeper[bot] avatar gryphonbot avatar guydme avatar hairlessbear avatar hus274 avatar lefnire avatar marcelosizer avatar mathwhiz avatar negue avatar paglias avatar phillipthelen avatar sabrecat avatar shaners avatar snicker avatar stanlindsey avatar switz avatar thehollidayinn avatar verifiedbear avatar weblate avatar yutsuten avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

habitica's Issues

Tasks that pop up every "n" days

Update by wc8: Vote here: Repeat every "n" days
I want to scheduled tasks that happen every 6 weeks (any arbitrary time) that pop up in to my to-do list.

For example
On Aug 1st every year, "clean the gutters"
Once a month "check visa bill"
Once a week "Go shopping for food"
ect..

AutoSave or QuickSave

Can you please add an autosave feature similar to that of Google Products.?

AutoSave would be optimal but if the bandwidth load is too much maybe a Quick Save button next to the user button allowing users to quickly "commit" any changes.

This would be great for users like myself who keep HabitRPG as a pinned tab along with other webapps such as Gmail and GCal. Also reduces the likelihood of adding a lot of tasks and forgetting to log off before closing the tab.

Maybe there is a more D&D/RPG friendly word/icon than save and a disk but here is a quick concept pic.

Image 3

Hundreds of duplicates

This is the second day in a row this has happened to me. I go on the site, it freezes for a few seconds and then duplicates the entries I've recently made.

December 26 2012

Dailies won't reset

Today my dailies do not reset and I haven't lost any health for dailies I didn't do yesterday.

Move Add new Habit/ToDo/Reward to top of lists

I think it would be more efficient to move the add new list item field to the top of the list. This would be especially helpful for persons with lots of to dos to save them scrolling down whenever they want to add an item.

Not reconnecting automatically

Quote:

I noticed that a lot of times if I leave the app and come back it will have an error at the top about having trouble connecting and ask me to reload. This isn't a big deal since I just hit refresh and then click around, but I was just wondering if it's intentional to avoid putting strain on your end of things or is it a bug?

It's a bug. What happens is the app sets up a socket.io connection to the server (derbyjs), and if that connection is broken it's supposed to automatically re-connect. Usually that connection is broken when you close your laptop, or if you visit HabitRPG on your phone, open another app, and come back - stuff like that. Still trying to figure out why it's not reconnecting.

Habits and To-Dos are disappearing.

Sometimes, if I haven't completed a habit or a to-do in a while, they disappear.
I know, because I had "Clean Room" under To-Do yesterday, and today, it's missing.
Is this normal?

Client timezone issues

Consider calculating cron on server & simply displaying the change (if there was one) on the client. This will cut back on initial page load, and also mitigate the following error which was reported:

When I turned on my second computer that i didnt use for quite a time, the date setting was wrong. When starting habitrpg, I lost HP because of that. I figured I had to correct my time.

Health being reset to 5

I can't remember what level I was at, but I leveled up and right after my health was refilled from leveling up, it plummeted down to 5. I tried to buy a potion with my credits but again, it went up then back down to 5. I leveled myself up again to get the health back.

Next time I logged in, my health was at 5 and I immediately died because I guess I lost 5 health for not updating my daily tasks today.

site down

Apparently clicking the facebook connect button crashed the site :P

Logged as another user

After creating second account for my girlfriend (on the same computer), I've noticed some strange behaviour. She can log in with her credentials, but the username displayed is "[Edit: removed to protect user]" (it is not her username). We tried to create another account and the bug repeated.

Incremental/Progression Tasks

Edited by wc8: Vote for this feature here: Trello

Would it be possible to develop functionality for Incremental/Progression Tasks?

Hopefully you can come up with a better name for the concept but here is the idea.

Basically some tasks/goals are completed in increments. These could have small calculated rewards for progress made and a greater reward for completing the overall task/goal.

2 examples are;

  • Saving up a specified amount of money.
  • Lose a specified amount of weight.

You could receive a small reward proportionate to the progress made to the overall goal. For the money saving goal you could have an algorithm that calculate a "progress" reward for each sum you put away. For the weight loss goal you would enter in the amount of you want to lose then gain proportionate progress rewards for losing weight or lose health for gaining weight. Additionally you would lose health for not entering any progress updates (positive or negative) for either of the goals within a certain time frame. With this last function there would need to be some in app notification to tell you why you lost the HP.

Accidental authentication as a different user

This is a critical bug. If anyone else experiences this, please chime in. Quote from user:

I didn't log in for one or two weeks, and when I did, I saw your profile logged in. I attached printscreen as a proof. I see that you've changed authorization module recently and I don't know if it's something with the change, cause I didn't log in for a few days, but maybe you would like to know about such bug.

I think you're right, this is due to the authentication change. I went from custom auth (worked well), to derby-auth (didn't work so well), back to original custom auth. I think what happened was when I switched to derby-auth, model was exposed globally rather than encapsulated in scope (a bug), and you may have logged in recently after I logged in, inheriting my model.session.userId. Now that we're back on custom auth, this issue should be gone - at least for everyone who has logged out and logged back in since that switch. Once the global model issue is resolved in derby-auth, I'll swap derby-auth back in and this shouldn't be an issue anymore.

Unable to login via Chrome on Android

As soon as I type in my username and switch to the password field, I get a "disconnected" message alongside my username.

2012-12-31 10 18 59

The "Login" button appears to be grayed out because of this.

If I close out the login pop up, the top of the page says "Offline - Reconnect". If I click "Reconnect" it switches to just "Offline" and then back to "Offline - Reconnect"

I've tried closing the tab, and the browser and retrying, but I get the same result each time.

I just tried rebooting but now it appears you're having web troubles. Just say "Cannot GET /"

Timezones and completion times

I'm just starting to use habitrpg. I do have doubts about the system's machine-learning [1], but I'm willing to give it a whirl. ;)

However, I just went to enter my daily accomplishments and realized that the program thinks it's tomorrow. Clearly you and I are on a different timezones :) While my days aren't 25 hours long [2], the timeframe when I will input my end of day activities will likely vary by several hours, so having the correct timezone is kinda important.

Of course, it may be simpler and more useful to have an editable date/time associated with a given task. That way, when I come home after midnight of my timezone, I can still mark the previous day's activities as having been completed the previous day.

[1] https://github.com/lefnire/habitrpg/wiki/FAQ - How do I customize a task's value?
[2] #26 ; actually peoples' biological clocks can be https://en.wikipedia.org/wiki/Free-running_sleep , but our world typically isn't

non 24-hour days

HabitRPG looks interesting and I was going to try it out, but then I realized that its tied to the 24 hour day cycle. I have a sleep disorder where my days last longer, about 25 hours, and thus my "day", in relation to Earth's, slowly travels around the clock such that I'm sometimes awake at night and sleeping during the day.

Of course, I'm an exception, but it would be nice to have an app like HabitRPG which was not tied to real time per se, but was more like turn-based. Do you have any comments in this regard, either concrete or conceptual

Social widgets link to 'personal' page

Since we do not have accounts yet, I think it's somewhat of a security issue that the social widgets for Facebook and Twitter actually share our 'personal' URL. They should instead point to to the main website.

Tags or categories

Greetings,

Probably it make sense adding support for tagging or categorizing tasks? It might help to organize things better.

Thanks,
- V

Text wrapping issue in Titles and Descriptions

I am noticing that text is being wrapped within item titles and descriptions - normally this would not be a problem, but it is wrapping individual characters as opposed to entire words. Screenshots attached.
image
image

Infinite gold

You can set negative cast for reward and gain as much gold as you want

I'm dead, no token left

can't figure out the tokens, I make bad habits click so much time, it show me i have 2 token to reborn.

it is not clear the cost of once reborn, I reborn about 4 or 5 times then totally dead.

Forgot password feature we need it too.

ability to reset account from death modal

when death modal is up, if you don't have tokens you can't access the background account drop-down to reset account. This is just an issue of Bootstrap Modal & the way I have things structured in HTML, I'm not trying to thwart anyone. Will work on this.

It would undo a day's worth of completed tasks

This happened to me two or three times where I would go on the site and it would revert my account to the state it was hours ago (undo purchases and undo task/habits/daily completions. This is really annoying since you have to remember what you did.

Level up algorithm

Adding a discussion for what algorithm should be used to determine "Till Next Level" (TNL). The current algo is Tibia's Formula. This gets really steep over time, so I think the best bet would be a simple linear algo lvl*100.

Also, users currently gain 1 point (modified by task difficulty) at a time, so TNL is divided by 5 to accomodate. Rather than having TNL=20, expGain=1 for example, I need to remove the /5 and multiply expGain by 10 -- so it looks like a typical RPG setup: TNL=100, expGain=10.

So my tasks are: replace the current algorithm (Tibia) with standard linear growth, then remove the TNL/5 and instead set expGain*10. Then I'll close this ticket.

If anyone has objections or wants to suggest a different algorithm setup, here's a JSFiddle for algo comparisons, and a great discussion on leveling algorithms

Undo Button?

Edited by wc8: Vote for this feature here: Undo Button
After signing up and going through the tour I still didn't understand how the plus and minus icons played into the system, so I tried double-clicking on Take The Stairs's minus icon to do something (delete the task?) and realized that it knocked back my health. I then tried to correct this by double-clicking the plus icon, but it just boosted my EXP. After both misguided attempts I received notifications, but neither included an Undo link.

Could you please add an Undo link to the notifications that popup?

Gold Placement

Maybe place the gold and silver in the header, next to the health and EXP bar?
If my browser (Google Chrome) isn't zoomed out to 75%, the images overlap a bit on the Rewards heading.
goldscreenshot

(Oh, and another thing, could anyone explain to me how the Chrome extension is supposed to work? I input the time-eating sites I go to, save, then go to a site to see if my HP drops, and...it doesn't. Is it supposed to work after you linger on it for five minutes?
Oh, and I found HabitRPG through the Chrome extension, but couldn't figure out how to work it. Almost deleted it, until I realized it was an accessory for the site. (Thought it was an independent app...) You might want to mention that, if you can, for the stupid people like me. XD)

Reset wont hide the store items again

It's not really a big deal but i was testing the app and i got to the point where i had the items from the store (sword, etc). I reset the account to start for real, and the items were still there.

Progress sharing

So, I've seen "groups" on the roadmap, but am most interested in seeing the ability to share your progress/daily completion with friends. What work has been done on this thus far? (I'd be happy to contribute code for it, just want to make sure I'm not repeating work you've already done.)

My particular use case is a friend who will be monitoring my progress, so the easiest thing would be for him to be able to log in and see my account dashboard.

Duplicate and blank dailies

There seems to be a problem where a bunch of duplicate and blank habits, dailies, and todos pop up. It's very confusing. I'll try to delete a duplicate and it will delete the original with it. I'm using the latest version of Mozilla Firefox (17.0.1). I do use the NoScript addon, which is known to cause some problems, but it doesn't seem to be the case this time.

Also, is there an offline version of this? Thanks!

Business Model Discussion

[Edit: see the Wiki for TL;DR]

I have a question regarding usage of "tokens"...are these going to be your method of making money? I am a bit concerned about the implementation of this, but am very happy your code is at least open-source. Is this just kind of a placeholder, though, or is it your profit model? It seems ads or another model would be a bit wiser if you actually want long-term growth. Also, I would hope that your overall goal would be to actually motivate people to improve themselves rather than attempting to arcade/gamble us into spending.

Furthermore, I was just playing around with the app this morning, toggling things, breaking things, seeing how everything works by quickly making changes, and I've already spent all my tokens before actually even using the webapp. :( I thought there was a reset option in the upper right, but I can't even get to it now as the tokens javascript popup prevents me from using the "login/logout" controls...feeling a bit miffed at the moment and I figured I'd just let you know, as you seem like someone who probably would take feedback into consideration. This is not a tool I'll be using at all unless this is fixed (which would be a real shame, as it is beautiful), and I'm sure there are plenty of others who feel similarly.

Can my account at least be reset so I can play around properly and test other features? Also, if you aren't going to change the token structure, you should warn people about it, as in BIG FAT RED LETTERS, haha.

Thanks - if you improve this, I'll keep submitting my feedback for you!

Complex Todos

May be folded/unfolded.

For instance...

A "C++" courserra course

  • templates
  • STL
  • etc

Pros:

  • Better progress tracking;
  • More involving;
  • A user is being rewarded for each step during the process of task execution and probably some extra reward once the Todo is completed

Many thanks. Very nice project,
- V

The system is going berserk

I turn on my computer, go on habitrpg (Chrome) and I instantly see my health drop from 45/50 to 8/11 with the notification at the top right hand corner that I lost "11 HP". I thought this was weird but disregarded since I was a few EXP away from leveling and regaining all my health. I go check the things I've done so far on my itinerary, level up, continue checking tasks while after checking "Habits" tasks my EXP jumps from 4/80 to 3/80 to 4/80 and back - it's stuck - and out of nowhere my HP drastically drops again. And to make things worse some of my Daily tasks changed: I has three tasks called "Take pills: 1" "Take pills: 2" "Take pills: 3" reminding me to take them three times during the day and, again, out of nowhere all three change to "Take pills: 1". I hope this is just some one-time bug that only I experienced.

Cleared Completed tasks show as empty tasks

After completing a few tasks and then clearing completed tasks I returned to the remaining view and there are empty tasks in place of the completed tasks.

Completed view is empty.

Refreshing page has not removed the empty placeholder tasks but I am now missing some of my tasks. Logging out and back in to Habit RPG has not affected the issue. Nor closing and relaunching the browser.

See screenshots below for example. First screenshot shows the initial issue. Second screenshot shows the empty tasks and now missing tasks.

Image 1

Image 2

System Info:
Windows 7 Ultimate 64-bit (fully patched)
Google Chrome Version 23.0.1271.97 m

Could do with keeping the tour items

Once I had finished the tour I had forgot what the habits did.. and I had already deleted the example ones.. so I had no idea how to find out what a habit was..

could do with maybe a little ? next to habits to hover over to bring up an explanation... or maybe a way to reset to the example life from the beginning..

Also when I see the buttons I think hmm what does this do so click it.. this automatically starts taking my hp off and then I would have to reset.. just think overall usability could be improved with some hover over docs..

Overall though this is a huge help to my project and I just wanted to say thanks for releasing it and your article on the frameworks

deleteable accounts

Edited by wc8: Vote for this feature here: Delete Account Option
I don't see any delete account button. I would appreciate it very much if my account was deleted. I love the idea. I just don't want my e-mail stuck on something I can't take off.

Login sometimes fails

The result is no login, with an empty user profile bar in the top right. The annoying workaround currently is to logout, refresh the page, and log back in. See discussion at #7

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.