{"id":15229084,"url":"https://github.com/natikgadzhi/notoma","last_synced_at":"2026-05-17T13:38:26.453Z","repository":{"id":37215365,"uuid":"256903710","full_name":"natikgadzhi/notoma","owner":"natikgadzhi","description":"Use Notion as your blogging editor, with any static gen blog engine. Notoma converts Notion pages to Markdown files.","archived":true,"fork":false,"pushed_at":"2022-12-09T05:52:51.000Z","size":462,"stargazers_count":49,"open_issues_count":27,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-24T12:25:42.052Z","etag":null,"topics":["cli","command-line","hexo","jekyll","markdown-editor","notion","notion-blog","notion-editor","notion-markdown","static-site"],"latest_commit_sha":null,"homepage":"https://nategadzhi.github.io/notoma/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/natikgadzhi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-19T03:17:12.000Z","updated_at":"2024-03-18T02:44:48.000Z","dependencies_parsed_at":"2023-01-25T17:01:20.466Z","dependency_job_id":null,"html_url":"https://github.com/natikgadzhi/notoma","commit_stats":null,"previous_names":["nategadzhi/notoma"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natikgadzhi%2Fnotoma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natikgadzhi%2Fnotoma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natikgadzhi%2Fnotoma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natikgadzhi%2Fnotoma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natikgadzhi","download_url":"https://codeload.github.com/natikgadzhi/notoma/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235227462,"owners_count":18956137,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cli","command-line","hexo","jekyll","markdown-editor","notion","notion-blog","notion-editor","notion-markdown","static-site"],"created_at":"2024-09-29T00:07:02.674Z","updated_at":"2026-05-17T13:38:26.447Z","avatar_url":"https://github.com/natikgadzhi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# notoma\n\nOne-way sync tool from Notion to Obsidian via Notion API. Notoma is designed for regular ongoing incremental updates. If you need a one-time update, Obsidian-native Notion importer will work faster.\n\n## Features\n\n- Sync Notion pages and databases to Obsidian-flavored markdown\n- Incremental updates — only sync pages modified since last run\n- Database → Obsidian Bases (`.base` files) conversion\n- Attachment handling with automatic download\n- Rate limiting to respect Notion API limits\n\n## Prerequisites\n\n- Go 1.24+ (for local development)\n- A Notion integration token ([create one here](https://www.notion.so/my-integrations))\n\n## Building Locally\n\n```bash\n# Clone the repository\ngit clone https://github.com/natikgadzhi/notoma.git\ncd notoma\n\n# Build using Make (outputs to build/)\nmake build\n\n# Verify it works\n./build/notoma --help\n```\n\nOr build manually:\n\n```bash\ngo mod download\ngo build -o build/notoma ./cmd/notoma\n```\n\n## Building with Docker\n\n```bash\nmake docker\n\n# Or manually:\ndocker build -t notoma .\n\n# Run it\ndocker run --rm notoma --help\n```\n\n## Make Targets\n\n```bash\nmake build   # Build binary to build/\nmake test    # Run tests\nmake clean   # Remove build artifacts\n```\n\n## Configuration\n\n### 1. Set up your Notion token\n\nCreate a `.env` file (or set environment variables):\n\n```bash\ncp .env.sample .env\n# Edit .env and add your NOTION_TOKEN\n```\n\n### 2. Create a config file\n\nCreate `config.yaml`:\n\n```yaml\nsync:\n  roots:\n    - url: \"https://www.notion.so/myworkspace/Personal-Wiki-abc123...\"\n      name: \"Personal Wiki\"\n    - url: \"https://www.notion.so/myworkspace/def456...?v=xyz789...\"\n      name: \"Reading List\"\n\noutput:\n  vault_path: \"/path/to/obsidian-vault\"\n  attachment_folder: \"_attachments\"\n\nstate:\n  file: \"/path/to/notoma-state.json\"\n\noptions:\n  download_attachments: true\n```\n\n\n## Usage\n\n```bash\n# Full sync\n./notoma sync --config config.yaml\n\n# Preview changes without writing files\n./notoma sync --config config.yaml --dry-run\n\n# Force full resync (ignore state)\n./notoma sync --config config.yaml --force\n\n# Show version\n./notoma version\n```\n\n### With Docker\n\n```bash\ndocker run --rm \\\n  -e NOTION_TOKEN=\"your-token\" \\\n  -v $(pwd)/config.yaml:/config.yaml:ro \\\n  -v /path/to/vault:/vault \\\n  notoma sync --config /config.yaml\n```\n\n## Development\n\n```bash\n# Run tests\ngo test ./...\n\n# Run tests with race detection\ngo test -race ./...\n\n# Format code\ngo fmt ./...\n\n# Run linter (requires golangci-lint)\ngolangci-lint run\n```\n\n## Contributing\n\nThis project uses a task-driven multi-agent development workflow. Tasks are tracked as markdown files in the `tasks/` directory:\n\n```\ntasks/\n├── backlog/      # Not yet started\n├── in-progress/  # Currently being worked on\n└── done/         # Completed and merged\n```\n\nAll code changes go through pull requests. See `CLAUDE.md` for the full development workflow.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatikgadzhi%2Fnotoma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatikgadzhi%2Fnotoma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatikgadzhi%2Fnotoma/lists"}