A TODO syncing engine and spec for letting others make cool apps
Files
Orta Therox
main Default
README.md

attodo #

An open spec for to-do apps on atproto, using spaces for sharing. Any app that implements it reads and writes the same data, so you can use one app on your Mac, another in the terminal and a third on the web, and share lists with people who use something else entirely.

The data model follows Things 3: areas, projects, headings, to-dos, checklists and tags, plus Inbox, Today, Upcoming, Anytime, Someday and Logbook.

Status: Draft 0. Under discussion, not stable. Lexicons live under at.todos.*, published from todos.at.

What's here #

Path What it is
SPEC.md The spec: spaces and sharing, data model, merge rules, views, repeats, sync engine
lexicons/at/todos/ The lexicons: four space types and the records they hold (listed below)

How it works, briefly #

  • Private to-dos live in a personal space, one per account.
  • Shared ones live in shared spaces, one per group of people: an area shared with a friend, or a set of projects shared with a company.
  • To see what someone shares with you, add their handle. If they haven't shared anything with you yet, you can ask, and they approve and pick which lists you get.
  • Each member writes only to their own repo. A to-do is the field-by-field merge of every member's record for it, and the latest write to each field wins.
  • Personal things about shared to-dos (reminders, your Today order, your own tags) live in plans in your personal space, so other members never see them.
  • There are no servers beyond atproto. Apps talk only to people's PDSes and keep a full local copy, so they work offline, and a web app can be a folder of static files that outlives its developer.

Start with SPEC.md §2.

Lexicons #

A space type defines a kind of space and which records it can hold. A record is what apps write. Every name is under at.todos..

The work #

Areas, projects and to-dos. They live in both personal and shared spaces. Everyone who edits one writes their own copy, and apps merge the copies field by field (SPEC §4, §5).

Lexicon Kind Written by For
area record anyone who edits it an ongoing area of responsibility that groups projects and to-dos
project record anyone who edits it a project with notes, a deadline and a status
heading record anyone who edits it a titled section inside a project
item record anyone who edits it a to-do
checklistItem record anyone who edits it one line of a to-do's checklist
tag record anyone who edits it a tag, optionally nested under another

Your private data #

Readable only by you (SPEC §4.9).

Lexicon Kind Written by For
personalSpace space type you your private space, one per account
plan record you your own layer over any to-do, project or space: reminders, Today order, personal tags, and your own When for shared to-dos

Sharing lists #

A shared space holds lists for one group of people (SPEC §3.2, §3.4).

Lexicon Kind Written by For
sharedSpace space type the owner lists shared with specific people, where every member sees everything
spaceInfo record the owner the shared space's title, description and colour
join record each member accepting a shared space, so all of the member's apps can find it

Finding lists and asking for access #

Each account that shares has one directory and, optionally, one requests space, both found from its handle alone (SPEC §3.3).

Lexicon Kind Written by For
directory space type the owner an index of the account's shared spaces, readable by everyone it shares at least one with
directoryEntry record the owner one shared space in the directory: its URI only, never its title
requests space type the owner where people ask for access: anyone can write, only the owner can read
request record the person asking one request for access, with an optional message
decision record the owner approving or refusing a request, visible only to the owner

Shared definitions #

Lexicon Kind Written by For
defs definitions — types the records share: status, schedule, repeat rule, local dates and times, positions, object references, tombstones