{"id":22740234,"url":"https://github.com/a-type/cipher-font","last_synced_at":"2025-10-28T06:40:58.968Z","repository":{"id":78415124,"uuid":"48658758","full_name":"a-type/cipher-font","owner":"a-type","description":"A font generator which modifies a font to render ciphered text in readable glyphs.","archived":false,"fork":false,"pushed_at":"2015-12-27T20:18:13.000Z","size":136,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T03:41:27.097Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/a-type.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}},"created_at":"2015-12-27T20:07:50.000Z","updated_at":"2021-05-02T07:15:37.000Z","dependencies_parsed_at":"2023-03-16T10:15:41.906Z","dependency_job_id":null,"html_url":"https://github.com/a-type/cipher-font","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/a-type/cipher-font","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-type%2Fcipher-font","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-type%2Fcipher-font/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-type%2Fcipher-font/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-type%2Fcipher-font/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-type","download_url":"https://codeload.github.com/a-type/cipher-font/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-type%2Fcipher-font/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281397336,"owners_count":26493908,"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","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-12-10T23:07:58.050Z","updated_at":"2025-10-28T06:40:58.926Z","avatar_url":"https://github.com/a-type.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cipher-font\r\n\r\n## Usage\r\n\r\n``` javascript\r\nvar cipher = require('cipher-font');\r\n\r\ncipher(\r\n    'path/to/source_font.otf',\r\n    'path/to/output_font.otf',\r\n    'optional seed string'\r\n)\r\n.then((cipherMapping) =\u003e {\r\n    // the mapping is an object where\r\n    // characters map as keys to ciphered characters\r\n    \r\n    console.log('A is now ' + cipherMapping['A'] + '!');\r\n});\r\n```\r\n\r\nWhen you've ciphered your string, use the generated font to render it. The user should see the original text, but a scrape of the text will still read as ciphered.\r\n\r\nObviously this is not incredibly secure (it's the most basic of cryptography), but it's about as advanced as I think I can take this concept unless I have a better idea, and it should fool most bots which aren't really looking for it.\r\n\r\nOr maybe you have more prank-related ideas? I'm not saying you should set your friend's default editor font to a generated font, only that it's a possibility which may send him digging into his keyboard language settings to figure out why the wrong letters are coming out.\r\n\r\n## Mapped Characters\r\n\r\nThe library currently just maps any characters in the following string:\r\n\r\n``` javascript\r\n' .?!,:;abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-type%2Fcipher-font","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-type%2Fcipher-font","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-type%2Fcipher-font/lists"}