{"id":49888278,"url":"https://github.com/vdemeester/go-org-readwise","last_synced_at":"2026-05-15T19:33:26.221Z","repository":{"id":321228960,"uuid":"1085015363","full_name":"vdemeester/go-org-readwise","owner":"vdemeester","description":"Very very simple project that sync from readwise API to a set of org files in a folder","archived":false,"fork":false,"pushed_at":"2025-11-19T10:51:01.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-19T11:09:30.905Z","etag":null,"topics":["emacs","org-mode","readwise"],"latest_commit_sha":null,"homepage":"","language":"Go","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/vdemeester.png","metadata":{"files":{"readme":"README.org","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":null,"dco":null,"cla":null}},"created_at":"2025-10-28T13:26:17.000Z","updated_at":"2025-11-19T10:51:04.000Z","dependencies_parsed_at":"2025-10-28T15:27:21.915Z","dependency_job_id":"0fd3ce5b-4d46-4046-90f7-75147f3d6255","html_url":"https://github.com/vdemeester/go-org-readwise","commit_stats":null,"previous_names":["vdemeester/go-org-readwise"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vdemeester/go-org-readwise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdemeester%2Fgo-org-readwise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdemeester%2Fgo-org-readwise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdemeester%2Fgo-org-readwise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdemeester%2Fgo-org-readwise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vdemeester","download_url":"https://codeload.github.com/vdemeester/go-org-readwise/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdemeester%2Fgo-org-readwise/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33076210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["emacs","org-mode","readwise"],"created_at":"2026-05-15T19:33:24.248Z","updated_at":"2026-05-15T19:33:26.213Z","avatar_url":"https://github.com/vdemeester.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"#+TITLE: go-org-readwise\n\nThis is a very very simple project that sync from readwise API to a\nset of org files in a folder. It implements just what is needed from\nthe [[https://readwise.io/api_deets][Readwise API]] to work.\n\n* Building and Running\n\nThis project uses Nix flakes for development and builds.\n\n** With Nix\n\n*** Building\n\n#+begin_src bash\n# Build the project\nnix build\n\n# The binary will be available in ./result/bin/\n./result/bin/go-org-readwise --help\n#+end_src\n\n*** Running\n\n#+begin_src bash\n# Run directly with nix run\nnix run . -- -targetFolder /path/to/org/files -apiKeyFile /path/to/key\n\n# Or using environment variable for API key\nREADWISE_KEY=your_key nix run . -- -targetFolder /path/to/org/files\n\n# Archive URLs using monolith (requires monolith to be installed)\nREADWISE_KEY=your_key nix run . -- -targetFolder /path/to/org/files -archiveURLs\n#+end_src\n\n*** Development Shell\n\n#+begin_src bash\n# Enter development shell with Go and other dependencies\nnix develop\n\n# Inside the dev shell, use standard Go commands\ngo build\ngo test -v ./...\ngo run . -targetFolder /path/to/org/files\n#+end_src\n\n** Without Nix\n\nIf you have Go installed, you can use standard Go commands:\n\n#+begin_src bash\n# Build\ngo build -v ./...\n\n# Run tests\ngo test -v ./...\n\n# Run the tool\ngo run . -targetFolder /path/to/org/files -apiKeyFile /path/to/key\n\n# Run with URL archiving\ngo run . -targetFolder /path/to/org/files -apiKeyFile /path/to/key -archiveURLs\n#+end_src\n\n* Features\n\n** URL Archiving\n\nThe tool supports archiving document URLs using the [[https://github.com/Y2Z/monolith][monolith]] command-line tool. When enabled with the =-archiveURLs= flag:\n\n- Archives are stored in a =.archive= folder within the target directory\n- Archive files use the same denote naming convention as the org files, with =.html= extension\n- The org file includes an =#+property: ARCHIVE:= header linking to the archived HTML file\n- If archiving fails (e.g., monolith not installed or URL unreachable), the sync continues with a warning\n\n*Requirements:* The =monolith= command must be installed and available in your PATH.\n\n* Readwise API\n\nWe are /only/ going to implement the export part of the API as, this should be the only one\nwe need.\n\n#+begin_quote\nIf you want to pull all of the highlights from a user's account into your service (eg\nnotetaking apps, backups, etc) this endpoint is all you need!\n#+end_quote\n\n\n* Tasks\n\n** TODO Explore =v3= API\n\nIn theory I could rely on the =v3= API to get documents that are \"archived\" but have no\nhighlights. Not sure this is something I want to do though.\n\nI doesn't have highlight so… I would have to query both.\n\nSee https://readwise.io/reader_api.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdemeester%2Fgo-org-readwise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvdemeester%2Fgo-org-readwise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdemeester%2Fgo-org-readwise/lists"}