Simon TIL

This is a review of https://github.com/simonw/til

Code Review

Algo

Code Snippets

root = pathlib.Path(__file__).parent.resolve()
...
def build_database():
    db = sqlite_utils.Database(repo_path / "tils.db")
    for filepath in root.glob("*/*.md"):
        ...

Thoughts

Like Simon's code for simplicity. See the ReACT implementation. Original took a look at this because I was looking to refresh my blog and wanted some inspiration.

Some changes: - since my files are in Dendron, already have updated times

Related

Created 2023-05-17T04:04:29.258000, updated 2023-05-20T16:55:36.461000 · History · Edit