{"id":13557343,"url":"https://github.com/karlicoss/hypexport","last_synced_at":"2025-07-30T22:08:57.709Z","repository":{"id":141611438,"uuid":"210234518","full_name":"karlicoss/hypexport","owner":"karlicoss","description":"Export/access your Hypothes.is data: annotations and profile info","archived":false,"fork":false,"pushed_at":"2025-01-24T23:40:27.000Z","size":53,"stargazers_count":43,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T20:05:08.559Z","etag":null,"topics":["backup","data-liberation","export","hypothesis","takeout"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/karlicoss.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2019-09-23T00:41:37.000Z","updated_at":"2025-03-26T20:58:07.000Z","dependencies_parsed_at":"2023-04-19T18:02:32.677Z","dependency_job_id":"9bebd135-f78a-4a38-9dca-2b06aa04b1e2","html_url":"https://github.com/karlicoss/hypexport","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karlicoss%2Fhypexport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karlicoss%2Fhypexport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karlicoss%2Fhypexport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karlicoss%2Fhypexport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karlicoss","download_url":"https://codeload.github.com/karlicoss/hypexport/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246925198,"owners_count":20855853,"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":["backup","data-liberation","export","hypothesis","takeout"],"created_at":"2024-08-01T12:04:17.559Z","updated_at":"2025-04-03T02:30:48.318Z","avatar_url":"https://github.com/karlicoss.png","language":"Python","funding_links":[],"categories":["Python","others"],"sub_categories":[],"readme":"#+begin_src python :dir src :results drawer :exports results\nimport hypexport.export as E; return E.make_parser().prog\n#+end_src\n\n#+RESULTS:\n:results:\nExport/takeout for your personal [[https://hypothes.is][Hypothes.is]] data: annotations and profile information.\n:end:\n\n* Setting up\n1. install with PIP\n   - =pip3 install --user git+https://github.com/karlicoss/hypexport=\n\n   - for export functionality: append =[export]=\n   - for optional extras for logging and faster json processing: append =[optional]=\n   - or any combination of the above, e.g. =[export,optional]=\n\n   - alternatively, use =git clone --recursive=, or =git pull \u0026\u0026 git submodules update --init=. After that, you can use =pip3 install --editable=.\n\n\n2. Follow [[https://hypothes.is/account/developer][these]] instructions to set up the token\n\n* Exporting\n\n#+begin_src python :dir src :results drawer :exports results\nimport hypexport.export as E; return E.make_parser().epilog\n#+end_src\n\n#+RESULTS:\n:results:\n\nUsage:\n\n*Recommended*: create =secrets.py= keeping your api parameters, e.g.:\n\n\n: username = \"USERNAME\"\n: token = \"TOKEN\"\n\n\nAfter that, use:\n\n: python3 -m hypexport.export --secrets /path/to/secrets.py\n\nThat way you type less and have control over where you keep your plaintext secrets.\n\n*Alternatively*, you can pass parameters directly, e.g.\n\n: python3 -m hypexport.export --username \u003cusername\u003e --token \u003ctoken\u003e\n\nHowever, this is verbose and prone to leaking your keys/tokens/passwords in shell history.\n\n\nYou can also import ~hypexport.export~ as a module and call ~get_json~ function directly to get raw JSON.\n\n\nI *highly* recommend checking exported files at least once just to make sure they contain everything you expect from your export. If not, please feel free to ask or raise an issue!\n\n:end:\n\n# TODO FIXME api limitations 10000 annotations?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarlicoss%2Fhypexport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarlicoss%2Fhypexport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarlicoss%2Fhypexport/lists"}