dogsheep / dogsheep/apple-notes-to-sqlite

Support incremental updates

Open
#4 2 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
251
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Running this script can take several hours against a large notes database.

Would be neat if it could run against just the notes that have been modified since it last ran. Could pull the max `updated` date and then keep on looping until it finds one modified before then.

Problem is I don't actually know what order it iterates over the notes in.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the script entry point and the code that iterates over Apple Notes and writes to the SQLite database. Check how the notes' `updated` date is exposed and what iteration order is available. Done means a rerun processes only notes modified since the previous run while still handling the stopping condition correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, sqlite
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.