{"id":20056961,"url":"https://github.com/benbinbin/highlights2json","last_synced_at":"2026-01-29T12:34:33.183Z","repository":{"id":109435591,"uuid":"530967080","full_name":"Benbinbin/highlights2json","owner":"Benbinbin","description":"Convert book highlights from various sources to the same JSON format for more easily reuse by developers.","archived":false,"fork":false,"pushed_at":"2022-09-07T03:01:06.000Z","size":661,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-07T13:04:51.689Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://highlights2json.benbinbin.com","language":"Vue","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/Benbinbin.png","metadata":{"files":{"readme":"README.md","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,"publiccode":null,"codemeta":null}},"created_at":"2022-08-31T06:50:48.000Z","updated_at":"2022-09-03T01:48:26.000Z","dependencies_parsed_at":"2023-04-23T04:31:24.547Z","dependency_job_id":null,"html_url":"https://github.com/Benbinbin/highlights2json","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Benbinbin/highlights2json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benbinbin%2Fhighlights2json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benbinbin%2Fhighlights2json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benbinbin%2Fhighlights2json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benbinbin%2Fhighlights2json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Benbinbin","download_url":"https://codeload.github.com/Benbinbin/highlights2json/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benbinbin%2Fhighlights2json/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28877875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-11-13T12:57:06.376Z","updated_at":"2026-01-29T12:34:33.175Z","avatar_url":"https://github.com/Benbinbin.png","language":"Vue","funding_links":["https://ko-fi.com/benbinbin"],"categories":[],"sub_categories":[],"readme":"[![Highlights2JSON](./public/images/highlights2json.svg)](https://github.com/Benbinbin/highlights2json)\n\n# Highlights2JSON\n\nThis project aims to convert book highlights from various sources to the same JSON format for more easily reuse by developers.\n\n:sparkles: All your data just retain on your browser (it will not be send to backend server, because this tool just run based on the frontend), so feel free to use it.\n\n## How to use\n\nVisit one of the websites listed below :point_down: to use this tool:\n\n:link: https://highlights2json.benbinbin.com\n\n:link: https://highlights2json.vercel.app/\n\n\n### Input\n\nVisit the website shown above :point_up: and drag and drop the file(s) to the input region, just a second, you will get the output JSON file(s)\n\nnow the supported formats and files list below:\n\n* HTML file export from [Kindle app](https://www.amazon.com/kindle-dbs/fd/kcp)\n\n* Markdown file export from [纸间书摘（原书伴app）](https://www.xmnote.com/)\n\n:loudspeaker: if you have some suggestion feel free to open an [issue](https://github.com/Benbinbin/highlights2json/issues/new) in Github or contact with me by email \u003ca href=\"mailto:benthomsonbin@gmail.com\"\u003ebenthomsonbin@gmail.com\u003c/a\u003e\n### Output\n\nThe output JSON file will contains some properties as follow:\n\n:warning: some properties maybe missing based on the content of the input file and format\n\n```json\n// the format of json\n// show as the \"key\": \"value\" pair\n// the \"key\" is property name\n// the \"value\" is the data type\n// like \"[string]\" represent the value is an array with the element which type is string\n{\n  \"id\": \"any\", // a identify code of this entry in database\n  // the input file name\n  \"name\": \"string\",\n  // some metadata of the book\n  \"metadata\": {\n    \"isbn\": \"number\",\n    \"title\": \"string\",\n    \"date\": \"string\", // publish date of the book\n    \"authors\": \"[string]\",\n    \"translators\": \"[string]\",\n    \"press\": \"string\",\n    \"covers\": \"[string]\", // a urls list of the book cover images\n    \"types\": \"[string]\",\n    \"tags\": \"[string]\",\n    \"stars\": \"number\",\n    \"links\": \"[string]\", // a urls list about the book\n  },\n  \"introduction\": \"string\", // the introduction of the book\n  \"review\": \"string\", // your review of the book,\n  // the category data structure is a tree\n  // each node contain three property:\n  // * value: the (string) value of this node\n  // * depth: the (number) level of this node\n  // * children: the sub nodes array\n  \"category\": \"object\",\n  \"highlights\": [{\n    \"chapter\": \"string\",\n    \"color\": \"string\",\n    \"type\": \"string\",\n    \"tags\": \"[string]\",\n    \"location\": \"number\",\n    \"content\": \"string\",\n    \"comment\": \"string\",\n    \"created\": \"string\" // highlight created time\n  }],\n}\n```\n\n## License\n\n[MIT](./LICENSE)\n\n## Feedback\n\nIf you have any problem or suggestion about this project, feel free to open an [issue](https://github.com/Benbinbin/highlights2json/issues/new) in Github or contact with me by email \u003ca href=\"mailto:benthomsonbin@gmail.com\"\u003ebenthomsonbin@gmail.com\u003c/a\u003e\n\n## Donate\n[![ko-fi](./public/images/kofi.svg)](https://ko-fi.com/benbinbin)\n\n[![ko-fi](./public/images/afdian.svg)](https://afdian.net/a/benbinbin)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenbinbin%2Fhighlights2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenbinbin%2Fhighlights2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenbinbin%2Fhighlights2json/lists"}