{"id":22042733,"url":"https://github.com/akeil/rescript","last_synced_at":"2025-09-05T11:51:04.826Z","repository":{"id":68959378,"uuid":"328255941","full_name":"akeil/rescript","owner":"akeil","description":"Handwriting recognition for reMarkable notes","archived":false,"fork":false,"pushed_at":"2021-03-17T07:06:13.000Z","size":76,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T16:11:07.852Z","etag":null,"topics":["cli","handwriting-recognition","myscript","remarkable-tablet"],"latest_commit_sha":null,"homepage":"","language":"Go","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/akeil.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":"2021-01-09T22:12:18.000Z","updated_at":"2024-04-15T05:46:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"4008ba87-edf5-4db2-8376-810674daa056","html_url":"https://github.com/akeil/rescript","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akeil%2Frescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akeil%2Frescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akeil%2Frescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akeil%2Frescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akeil","download_url":"https://codeload.github.com/akeil/rescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252979616,"owners_count":21835091,"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","handwriting-recognition","myscript","remarkable-tablet"],"created_at":"2024-11-30T12:13:22.295Z","updated_at":"2025-05-08T01:22:44.493Z","avatar_url":"https://github.com/akeil.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reScript\n\n*Handwriting recognition for reMarkable notes.*\n\nThis is a small tool to extract text from handwritten notes created on the\n[reMarkable](https://remarkable.com/) tablet.\n\nIt uses the reMarkable cloud API\nand the [MyScript](https://myscript.com/) handwriting recognition ReST API.\n\n## Configuration and Setup\nYou need to enable \"cloud sync\" for your remarkable tablet\nto make your notes available for this tool.\n\nWhen first run, *reScript* will ask for a \"one time code\"\nwhich can be obtained at https://my.remarkable.com/:\n\n```\n$ rescript\nEnter one time code from https://my.remarkable.com/:\n_\n```\n\nYou also need a [MyScript developer](https://developer.myscript.com/)\naccount, specifically an `application key` and `HMAC key` which needs to be\nadded to the configuration file at `~/.config/hwr-conf.yaml`:\n\n```yaml\ndatadir: /home/USERNAME/.local/share/hwr\ncachedir: /home/USERNAME/.cache/hwr\nappkey: bbd1419d-aa40-4803-9607-5115c3085de9\nhmackey: 33b89262-dde1-4f92-a183-034255db6895\n```\n\nThe `datadir` and `cachedir` both contain sensitivity values, namely the\nauthentication token for the reMarkable API, all downloaded notes\nand cached handwriting recognition results.\n\n## Usage\nOnly one use case is supported:\n\n```\n$ rescript NAME_OF_NOTE -l LANGUAGE -f FORMAT\n```\n\n`NAME_OF_NOTE` is the display name of the notebook you want to convert into\ntext. It is case-insensitive and supports partial matches.\nIF multiple notebooks match, all of them will be converted.\n\nThe `LANGUAGE` must be one of the\n[languages supported by MyScript](https://developer.myscript.com/docs/interactive-ink/1.4/overview/text-languages/).\nThe parameter is optional and defaults to `en`.\n\n`FORMAT` specifies the output format. It is either `txt` for plain text\nor `md` for markdown.\nThe parameter is optional and defaults to plain text.\n\nThe result is written to a file named after the notebook\nin the current directory.\n\n**Example:**\n\n```\n$ rescript handwr\n… download notebook \"Handwriting Recognition\"\n… recognize handwriting for \"Handwriting Recognition\"\n✓ write \"Handwriting Recognition\" to \"Handwriting Recognition.md\"\n✓ Done.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakeil%2Frescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakeil%2Frescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakeil%2Frescript/lists"}