{"id":17166734,"url":"https://github.com/willf/nanogenmo-2022","last_synced_at":"2026-01-29T10:02:34.514Z","repository":{"id":66569797,"uuid":"559269040","full_name":"willf/nanogenmo-2022","owner":"willf","description":"Convert Late Early Modern English to Modern English","archived":false,"fork":false,"pushed_at":"2022-11-29T01:37:54.000Z","size":1551,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-23T18:06:46.313Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/willf.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2022-10-29T15:32:26.000Z","updated_at":"2022-11-08T22:10:49.000Z","dependencies_parsed_at":"2023-03-11T23:45:19.553Z","dependency_job_id":null,"html_url":"https://github.com/willf/nanogenmo-2022","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/willf/nanogenmo-2022","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willf%2Fnanogenmo-2022","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willf%2Fnanogenmo-2022/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willf%2Fnanogenmo-2022/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willf%2Fnanogenmo-2022/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willf","download_url":"https://codeload.github.com/willf/nanogenmo-2022/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willf%2Fnanogenmo-2022/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28875446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T09:47:23.353Z","status":"ssl_error","status_checked_at":"2026-01-29T09:47:19.357Z","response_time":59,"last_error":"SSL_read: 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-10-14T23:06:30.284Z","updated_at":"2026-01-29T10:02:34.498Z","avatar_url":"https://github.com/willf.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nanogenmo 2022\n\nUse OpenAI's DaVinci model to convert from a formal text to a modern English version. Often translations from Greek or Latin done in the late 1800s and early 1900s seem very \"stuffy\". Can OpenAI convert this for me?\n\n## Installation\n\nThis assumes you use Poetry to manage Python libraries etc\n\n```bash\n\u003e poetry shell\n```\n\nYou will also need an API key from https://openai.com/api/\n\nYou can put this in a environment variable called `OPENAI_API_KEY` or in a local config file called `.env` which should look like:\n\n```\nOPENAI_API_KEY=sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n```\n\nwhere the value is your OpenAI API key.\n\nAssuming you have a text in Markdown format -- in particular, plainish text with paragraphs separated by two newlines, you can do the following (assuming you also have `tee`, `sed`, and `jq` installed.)\n\n```bash\ncat examples/YOUR_TEXT | poetry run python openapi_completer.py| tee /tmp/juliet.json | jq  -r .conversion | sed G | cat -s \u003e YOUR_CONVERTED_TEXT\n```\n\nYou still may need to massage the output a bit.\n\nThis part:\n\n```\ncat examples/YOUR_TEXT | poetry run python openapi_completer.py\n```\n\nwill send to standard output, for each paragraph, a 'JSONL' record with keys `paragraph` and `conversion`, where `paragraph` is the original paragraph, and `conversion` is the converted paragraph.\n\nThe `openapi_completer.py` script is actually pretty general. You can replace the `prompt.template` file with your own template if you want to try different things. It is left as an exercise for the reader to make the script take command line arguments to allow this in general...\n\nEnjoy!\n\nMade with :heart: by @willf.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillf%2Fnanogenmo-2022","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillf%2Fnanogenmo-2022","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillf%2Fnanogenmo-2022/lists"}