MCPcopy
hub / github.com/HabitRPG/habitica

github.com/HabitRPG/habitica @v5.48.6 sqlite

repository ↗ · DeepWiki ↗ · release v5.48.6 ↗
1,896 symbols 5,606 edges 1,223 files 38 documented · 2%
README

⚠️ No AI-Generated Code Policy

This repository prohibits the submission of code generated by large language models (LLMs), AI coding assistants, or automated generation tools. All code must be authored entirely by humans. AI-assisted commits will be rejected during pull request reviews.

Habitica Build Status

Habitica is an open-source habit-building program that treats your life like a role-playing game. Level up as you succeed, lose HP as you fail, and earn Gold to buy weapons and armor!

Want to contribute code to Habitica? We're always looking for assistance on any issues in our repo with the "Help Wanted" label. The wiki pages below and the additional linked pages will tell you how to start contributing code and where you can seek further help or ask questions: * Guidance for Blacksmiths - an introduction to the technologies used and how the software is organized. * Setting up Habitica Locally - how to set up a local install of Habitica for development and testing.

Interested in contributing to Habitica’s mobile apps? Visit the links below for our mobile repositories. * Android: https://github.com/HabitRPG/habitica-android * iOS: https://github.com/HabitRPG/habitica-ios

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 create an issue (an admin will advise you if a new issue is necessary; usually it is not).

Creating a third-party tool? Please review our API Usage Guidelines to ensure that your tool is compliant and maintains the best experience for Habitica players.

Have any questions about Habitica or contributing? See the links in the Habitica website's Help menu. There’s FAQ’s, guides, and the option to reach out to us with any further questions!

Extension points exported contracts — how you extend this code

ConversationSummaryMessageEntry (Interface)
* This is the Type we get from our API
website/client/src/pages/private-messages/privateMessages.d.ts
InboxMessage (Interface)
(no doc)
website/server/models/typedefs.d.ts
ConversationEntry (Interface)
* The Visual (Sidebar) Entry
website/client/src/pages/private-messages/privateMessages.d.ts
PrivateMessageEntry (Interface)
* Loaded Private Messages, partial type
website/client/src/pages/private-messages/privateMessages.d.ts
SharedMessageProps (Interface)
(no doc)
website/client/src/pages/private-messages/privateMessages.d.ts

Core symbols most depended-on inside this repo

t
called by 2292
website/common/script/i18n.js
t
called by 631
test/helpers/api-unit.helper.js
generateUser
called by 419
test/helpers/api-integration/v3/object-generators.js
sync
called by 342
test/helpers/api-integration/api-classes.js
updateOne
called by 338
test/helpers/api-integration/api-classes.js
authWithHeaders
called by 233
website/server/middlewares/auth.js
ownsItem
called by 132
website/common/script/content/gear/gear-helper.js
apiError
called by 125
website/server/libs/apiError.js

Shape

Function 1,690
Method 129
Class 72
Interface 5

Languages

TypeScript100%

Modules by API surface

website/client/src/router/index.js35 symbols
website/client/src/store/actions/tasks.js27 symbols
website/common/script/libs/errors.js24 symbols
website/common/script/ops/buy/abstractBuyOperation.js23 symbols
website/client/src/store/actions/user.js23 symbols
website/common/script/content/constants/schedule.js19 symbols
website/client/src/router/static-routes.js19 symbols
website/client/src/mixins/payments.js19 symbols
website/client/src/mixins/notifications.js19 symbols
test/helpers/api-integration/api-classes.js18 symbols
website/client/src/store/actions/guilds.js15 symbols
test/helpers/api-unit.helper.js14 symbols

Dependencies from manifests, versioned

@babel/core7.22.10 · 1×
@babel/plugin-proposal-optional-chaining7.21.0 · 1×
@babel/preset-env7.22.10 · 1×
@babel/register7.22.15 · 1×
@froxz/vite-plugin-s31.6.0 · 1×
@google-cloud/trace-agent7.1.2 · 1×
@parse/node-apn5.2.3 · 1×
@slack/webhook6.1.0 · 1×
@vitejs/plugin-vue22.3.3 · 1×
@vitest/browser3.0.5 · 1×
@vue/test-utils1.0.0-beta.29 · 1×
accepts1.3.8 · 1×

Datastores touched

BlockerCollection · 1 repos
ChallengeCollection · 1 repos
ChatCollection · 1 repos
CouponCollection · 1 repos
EmailUnsubscriptionCollection · 1 repos
GroupCollection · 1 repos
IapPurchaseReceiptCollection · 1 repos
InboxCollection · 1 repos

For agents

$ claude mcp add habitica \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact