1
0
Filesystem in User Space for Favro.
Go to file
2024-11-16 18:39:05 +01:00
.gitea/workflows 🤖 Repository layout updated to latest version 2024-11-16 18:39:05 +01:00
favro_sync 🤖 Bumped version to 0.1.6 2024-10-31 22:40:10 +01:00
test [Client]: Support collections 2024-10-02 16:23:15 +02:00
.gitignore 🤖 Repository layout updated to latest version 2024-09-26 17:49:27 +02:00
LICENSE 🤖 Repository layout updated to latest version 2024-09-26 17:49:27 +02:00
README.md 🤖 Repository layout updated to latest version 2024-10-26 13:35:36 +02:00
requirements_test.txt Fixed dependencies 2024-09-27 00:27:21 +02:00
requirements.txt CardFileFormatter: Tags and assignments WIP 2024-09-28 12:37:19 +02:00
ruff.toml 🤖 Repository layout updated to latest version 2024-10-31 22:38:57 +01:00
setup.py 🤖 Repository layout updated to latest version 2024-10-26 13:35:36 +02:00

Favro Sync.

Filesystem in User Space for Favro.

Synchronize your local notes and your Favro.

Uses the Favro API. Rate limiting depends upon your organization's payment plan.

Uses python-fuse library.

Features:

  • Local access to cards in todolist.
  • Read card features:
    • Title
    • Description
    • Tags
    • Assignees
    • Dependencies
    • Custom fields
  • Change card features:
    • Title
    • Description
  • Obsidian compatibility:
    • Mountable within your vault.
    • Link to cards by either card number or card title.
    • Tags and dependencies are integrated.

Limitations:

  • Only cards in todolist is fetched at the moment.
  • Tasks (checklists on cards) cannot be updated or changed.
  • Images cannot be updated or changed.
  • You cannot create new cards, nor any other files.

Usage

  1. Install dependencies pip install -r requirements.txt
  2. Setup secrets: FAVRO_ORGANIZATION_ID, FAVRO_USERNAME, FAVRO_PASSWORD.
  3. Run python -m favro_sync <MOUNT_DIR>. Use the --help argument to get an overview of all supported flags (there is a lot, because python-fuse implements a whole bunch automatically.)

Architecture

  • FavroFuse
  • Markdown Parser/Renderer
  • FavroClient
    • CardCache

Work in Progress

Following features are work in progress:

  • Frontmatter: Writable Tags
  • Frontmatter: Writable assigned members
  • Frontmatter: Writable Tasks.
    1. Save updated TaskList along with card (using PUT cards)
    2. Get the Card's TaskList.
    3. Remove all TaskList's except for the latest (how to determine latest?)
    4. That's three requests just to save a freaking list of tasks!
  • Frontmatter: Writable Dependencies.
  • Usability: Richer directory structure
  • Usability: Allow users to toggle Obsidian mode, instead of being default.
  • Precision: Get the correct last-modified date.
  • Performance: Improve cache behaviour. User and tags can have much longer cache times.
  • Performance: Parallelize requests.
    • Paginated pages can be easily parallelize.
  • Frontmatter: Arbitrary structured data (Custom Fields)? Read-only.
  • Frontmatter: Readable Dependencies. As vault links in Obsidian mode.

Dependencies

All requirements can be installed easily using:

pip install -r requirements.txt

Full list of requirements:

License

MIT License

Copyright (c) 2024 Jon Michael Aanes

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.