Start Anytype and open object by ID

WHAT DO YOU RECOMMEND

Add a command-line option to launch Anytype and open a specific object

HOW COULD IT BE DONE

  1. Add CLI option, ex. “–object-id”
  2. Add another CLI option, “–new-window”
  3. Use --object-id to route client to that object
  4. If --new-window is set, open that object in a new window
  5. Add a field with object id (non-editable) to object relations menu or add any other option to get ID of an object

For example
./anytype – new-window --object-id=bafyreiffok5otmotr3t7ki5fenwy2wuejabj2sgidfsqf45522i4vj3igy

REAL WORLD USE CASES

This will allow for creating shortcuts to specific objects, for example:

  1. Scratchpad note
  2. Work tasks
  3. Shopping list
    etc…

On linux desktop environments it is possible to set custom shortcuts for any command
On Windows it will allow to create desktop shortcuts leading directly to a specific object.

ADDITIONAL CONTEXT

In absence of tabs (especially pinned tabs), this option allows to reduce amount of actions needed to get to a specific frequently needed object.

These options will also help to reduce friction when working on some long document - like note for example, or a big post, and need to quickly write something down in another document (scratchpad) or add a new task to a specific collection of tasks.