Skip to content

Releases: dotMavriQ/Obsitica

INITIAL RELEASE

03 Nov 17:38
e853aad
Compare
Choose a tag to compare

Obsitica Plugin - Version 1.0.0 Release Notes

Release Date: October 27, 2024

Overview

Obsitica is an Obsidian plugin that integrates Habitica with Obsidian, allowing you to track your habits and dailies directly within your Obsidian vault. This plugin combines the power of Habitica's gamified habit tracking with the flexibility of Obsidian's note-taking and journaling capabilities.

Current Features

1. Generate Habits & Dailies

  • Description: Fetch your completed habits and dailies from Habitica and insert them into your daily journal notes in Obsidian.
  • How It Works:
    • Command: Use the "Generate Habits & Dailies" command from the command palette or via the shortcut Ctrl+Shift+H (Cmd+Shift+H on Mac).
    • Data Retrieval: The plugin utilizes the Habitica API to securely fetch your tasks, including habits and dailies.
    • Data Insertion: Inserts a formatted list of your completed habits and dailies into the currently open daily journal note.
    • Requirements:
      • Your Habitica User ID and API Token must be set in the plugin settings.
      • The command must be run within a note located in your specified journal folder and named in the YYYY-MM-DD.md format.

2. Customizable Journal Folder

  • Description: Specify the folder where your daily journal notes are stored.
  • How It Works:
    • Settings: In the Obsitica settings tab, you can set the "Journal Folder Name" to match your preferred folder.
    • Case-Insensitive: The folder name check is case-insensitive, accommodating folder names like "Journal", "JOURNAL", or "journal".
    • Usage: The plugin uses this folder name to locate your daily journal notes and ensure commands are executed in the correct context.

3. Obsitica Sidebar View

  • Description: Access plugin information and future features via the Obsitica sidebar.
  • Tabs:
    • ℹ️ Info Tab:
      • Displays plugin details, version, and available shortcuts.
      • Provides a brief overview and additional information about the plugin.
    • 🔎 Data Quality Diagnostics (Coming Soon):
      • Placeholder for future functionality to analyze data quality within Obsidian.
    • ⬆️ Frontmatter Glossary (Coming Soon):
      • Placeholder for future functionality to manage frontmatter properties across your notes.
  • How It Works:
    • The sidebar is activated when the plugin is loaded.
    • You can navigate between tabs using the emoji icons.
    • The Info Tab is fully implemented in this release.

4. Enhanced User Interface

  • Custom Styles: The plugin includes a styles.css file to enhance the appearance of the sidebar and its components.
  • Frontmatter Collapse: Provided CSS to ensure the frontmatter section is collapsed by default when opening notes.

How It Delivers These Features

  • Integration with Habitica API:
    • Utilizes Habitica's public API to securely fetch user data.
    • Requires users to input their Habitica User ID and API Token in the plugin settings.
  • Commands and Hotkeys:
    • Provides commands accessible via the command palette.
    • Includes keyboard shortcuts for quick access to core functionalities.
  • Settings Configuration:
    • Accessible settings tab within Obsidian to configure plugin options.
    • Allows users to specify their journal folder name and Habitica credentials.
  • User Interface Enhancements:
    • Custom CSS styles improve the visual appeal and user experience.
    • The sidebar view offers easy navigation between different plugin features.

Planned Features for Future Implementation

1. Data Quality Diagnostics (🔎)

  • Description: Analyze and report on the data quality of your notes within Obsidian.
  • Planned Functionality:
    • Identify missing or inconsistent frontmatter properties.
    • Highlight notes that lack certain tags or links.
    • Provide actionable suggestions to improve note-taking consistency.

2. Frontmatter Glossary (⬆️)

  • Description: Manage and standardize frontmatter properties across your notes.
  • Planned Functionality:
    • Create and maintain a glossary of frontmatter keys and their intended uses.
    • Provide templates or suggestions when creating new notes.
    • Automate the addition of standardized frontmatter to existing notes.

3. Two-Way Sync with Habitica

  • Description: Enable two-way synchronization between Habitica and Obsidian.
  • Planned Functionality:
    • Allow creating and updating Habitica tasks from within Obsidian.
    • Reflect changes made in Obsidian back to Habitica in real-time.
    • Provide conflict resolution strategies when discrepancies arise.

4. Improved Mobile Support

  • Description: Enhance the plugin's usability on mobile devices.
  • Planned Functionality:
    • Optimize the sidebar view and UI elements for smaller screens.
    • Ensure all features are accessible and functional on mobile versions of Obsidian.

Installation and Setup

1. Download the Plugin

  • Clone or download the Obsitica plugin repository from GitHub.

2. Build the Plugin

  • Navigate to the plugin directory in your terminal.

  • Install dependencies:

    npm install
  • Build the plugin:

    npm run build

3. Install in Obsidian

  • Copy the following files to your Obsidian plugins directory:

    YourVault/.obsidian/plugins/obsitica/
    
    • main.js
    • manifest.json
    • styles.css (optional, for custom styles)
    • main.js.map (optional, for debugging)

4. Enable the Plugin

  • Open Obsidian.
  • Navigate to Settings > Community Plugins.
  • Disable Safe Mode if it's enabled.
  • Enable the Obsitica plugin.

Configuration

Set Habitica Credentials

  • Go to Settings > Obsitica.
  • Enter your Habitica User ID and Habitica API Token.
    • You can find these in your Habitica account settings under API Settings.

Specify Journal Folder Name

  • Set the Journal Folder Name to match the folder where your daily journal notes are stored.
  • Note: This folder name is case-insensitive due to the recent update.

Usage

Generate Habits & Dailies

  • Open a daily journal note within your specified journal folder.
  • Ensure the note follows the YYYY-MM-DD.md naming convention.
  • Use the command palette (press Ctrl+P or Cmd+P) and select Generate Habits & Dailies, or use the shortcut Ctrl+Shift+H (Cmd+Shift+H on Mac).
  • The plugin will fetch your completed habits and dailies from Habitica and insert them into the note.

Access the Obsitica Sidebar

  • Open the Obsitica sidebar by clicking on the Obsitica icon in the sidebar.
  • Navigate between tabs:
    • ℹ️ Info Tab: View plugin information and shortcuts.
    • 🔎 Data Quality Diagnostics: (Coming Soon).
    • ⬆️ Frontmatter Glossary: (Coming Soon).

Feedback and Contributions

Feedback, bug reports, and contributions are highly welcome. Please submit issues or pull requests via the GitHub repository:

Acknowledgments

  • Obsidian Community: For their support and contributions.
  • Habitica Developers: For providing an excellent API to integrate with.
  • Special Thanks: To my partner for collaborating on our journey with Habitica.

Note: This release focuses on integrating Habitica's habit and daily tracking into Obsidian's journaling workflow. Future updates will expand on data analysis and management features to further enhance productivity and note-taking efficiency.


Thank you for using Obsitica! If you have any questions or need further assistance, feel free to reach out.

Happy Note-Taking and Habit Tracking! 📓✅

Pre-Release 0.4

27 Oct 12:57
Compare
Choose a tag to compare
Pre-Release 0.4 Pre-release
Pre-release

Obsitica v0.4 Pre-release Notes

Overview

Obsitica is an Obsidian plugin that integrates Habitica data into your daily journal entries. With Obsitica, you can seamlessly import your Habitica tasks, habits, and other relevant data directly into Obsidian, enhancing your productivity and keeping your notes and tasks in sync.

This pre-release version introduces the core functionality of the plugin, including Habitica API integration and a customizable sidebar with emoji tabs for future features.

New Features

🎉 Habitica API Integration

  • Automatic Data Insertion: Fetches your Habitica user data and appends it to your daily journal note upon opening Obsidian.
  • User Profile Data: Includes basic user information from Habitica.
  • JSON Formatting: Data is currently appended in JSON format for clarity.

📌 Custom Sidebar with Emoji Tabs

  • Sidebar Integration: Adds a new sidebar panel on the right side of Obsidian.
  • Emoji Tabs: Features multiple tabs represented by emojis for easy navigation.
    • 📆 Calendar View (Placeholder)
    • 📝 Notes View (Placeholder)
    • 💡 Ideas View (Placeholder)
  • Expandable Architecture: Designed to easily add more views in future updates.

⚙️ Settings Panel

  • Habitica Credentials: Enter your Habitica User ID and API Token securely within Obsidian.
  • User-Friendly Interface: Accessible via the Obsidian settings under the "Obsitica" tab.

Installation Instructions

  1. Download the Plugin:

    • Clone or download the repository from GitHub.
    • Alternatively, download the latest pre-release files (main.js, manifest.json, styles.css).
  2. Install the Plugin:

    • Copy the downloaded files into your Obsidian vault's plugins folder:
      YourVault/.obsidian/plugins/obsitica/
      
    • If the plugins or obsitica folder doesn't exist, create them.
  3. Enable the Plugin:

    • Open Obsidian.
    • Navigate to Settings > Community plugins.
    • Disable Safe Mode if it's enabled.
    • Find Obsitica in the list of plugins and toggle it on.
  4. Configure the Plugin:

    • Go to Settings > Obsitica.
    • Enter your Habitica User ID and API Token.
    • Save your settings.

Known Issues

  • Data Formatting: Habitica data is appended in raw JSON format. Future versions will include better formatting options.
  • Placeholder Views: The sidebar tabs currently display placeholder content. Functional views will be implemented in upcoming releases.
  • Error Handling: Limited error handling is present. Users might not receive detailed feedback on errors.

Upcoming Features

  • Data Quality Checker: A new tab for checking the consistency and quality of your data.
  • Verbose Terminal View: An integrated terminal-like interface for detailed logs and interactions.
  • Improved Data Presentation: Enhanced formatting for Habitica data within journal entries.
  • Expanded Sidebar Functionality: Additional tabs and features based on user feedback.

Contribution

Contributions are welcome! If you're interested in helping improve Obsitica:

  • Report Issues: Found a bug? Open an issue on GitHub.
  • Suggest Features: Have an idea? We'd love to hear it.
  • Pull Requests: Feel free to fork the repository and submit pull requests.

Acknowledgements

  • Author: dotMavriQ
  • Version: 0.4.0
  • License: MIT License

Feedback

Your feedback is invaluable. Please share your thoughts and experiences by opening an issue on GitHub or contacting me directly.


Note: This is a pre-release version intended for testing and feedback. Features are subject to change, and there may be bugs. Please backup your data before use.