{"id":48976257,"url":"https://github.com/harlanheilman/notion-notebook","last_synced_at":"2026-04-18T09:07:53.201Z","repository":{"id":349286826,"uuid":"1201714354","full_name":"HarlanHeilman/notion-notebook","owner":"HarlanHeilman","description":"Keep your computational work documented. Auto-syncs Jupyter notebooks to Notion.","archived":false,"fork":false,"pushed_at":"2026-04-05T05:57:40.000Z","size":375,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-05T07:52:01.708Z","etag":null,"topics":["automation","documentation","jupyter","notion"],"latest_commit_sha":null,"homepage":"https://github.com/HarlanHeilman/notion-notebook","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HarlanHeilman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-04-05T03:51:42.000Z","updated_at":"2026-04-05T05:54:08.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/HarlanHeilman/notion-notebook","commit_stats":null,"previous_names":["harlanheilman/notion-notebook"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/HarlanHeilman/notion-notebook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarlanHeilman%2Fnotion-notebook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarlanHeilman%2Fnotion-notebook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarlanHeilman%2Fnotion-notebook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarlanHeilman%2Fnotion-notebook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HarlanHeilman","download_url":"https://codeload.github.com/HarlanHeilman/notion-notebook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarlanHeilman%2Fnotion-notebook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31962894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","documentation","jupyter","notion"],"created_at":"2026-04-18T09:07:52.167Z","updated_at":"2026-04-18T09:07:53.191Z","avatar_url":"https://github.com/HarlanHeilman.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# notion-notebook\n\nExport Jupyter notebooks to a Notion page on save: structured cells, image uploads, optional inline **Figures** table (append-only plot history per sync), and git-aware metadata.\n\n## Install\n\n```bash\nuv sync\n```\n\n## Configure\n\nSet environment variables or `~/.notion_matplotlib/config.json` (see `notion_notebook.config.Config`):\n\n- `NOTION_TOKEN` — integration secret\n- `NOTION_PAGE_ID` — target page id or URL fragment\n\n## Use in a notebook\n\n```python\nfrom notion_notebook import NotebookExporter\n\nexporter = NotebookExporter(\n    notion_token=\"ntn_...\",\n    notion_page_id=\"your-page-id-or-url\",\n    notebook_path=\"/absolute/path/to/notebook.ipynb\",  # optional if ipynbname can resolve\n)\nexporter.start()\n```\n\nCall `exporter.manual_sync()` for an immediate run, or `exporter.stop()` to tear down the file watcher.\n\n## CLI\n\nThe `notion-notebook` console script prints a short usage hint; primary use is the Python API in notebooks.\n\n## Development\n\n```bash\nuv run pytest\nuv run ty check\nuv run ruff check src/ tests/\n```\n\nAfter editing notebook Python in this repo, use `uv run ty check` and `uv run ruff check notebooks/` as well when those files change.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharlanheilman%2Fnotion-notebook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharlanheilman%2Fnotion-notebook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharlanheilman%2Fnotion-notebook/lists"}