{"id":39332545,"url":"https://github.com/lemonyte/no-code","last_synced_at":"2026-01-18T02:04:16.170Z","repository":{"id":319010317,"uuid":"1077253475","full_name":"lemonyte/no-code","owner":"lemonyte","description":"The best way to write code is to write no code at all.","archived":false,"fork":false,"pushed_at":"2025-12-17T17:15:44.000Z","size":101,"stargazers_count":56,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-21T04:18:20.125Z","etag":null,"topics":["encoding","esolang","esoteric","joke","no-code","python"],"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/lemonyte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-16T02:11:20.000Z","updated_at":"2025-12-17T17:15:41.000Z","dependencies_parsed_at":"2025-10-17T18:51:40.401Z","dependency_job_id":"8ad5a42c-a3ec-4140-8dbc-fc9e79272f17","html_url":"https://github.com/lemonyte/no-code","commit_stats":null,"previous_names":["lemonyte/no-code"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lemonyte/no-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemonyte%2Fno-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemonyte%2Fno-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemonyte%2Fno-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemonyte%2Fno-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lemonyte","download_url":"https://codeload.github.com/lemonyte/no-code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemonyte%2Fno-code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28526560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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":["encoding","esolang","esoteric","joke","no-code","python"],"created_at":"2026-01-18T02:04:14.432Z","updated_at":"2026-01-18T02:04:16.161Z","avatar_url":"https://github.com/lemonyte.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# No Code\n\n\u003e The best way to write code is to write [no code](https://github.com/kelseyhightower/nocode) at all.\n\nWriting code that does nothing is great, but sometimes you still want your code to do *something*.\nThis package allows you to write nothing, and still have your code do something.\n\n## Installation\n\n\u003e [!TIP]\n\u003e It is highly recommended to use a virtual environment for proper installation of the `no.pth` file.\n\n```shell\npython -m pip install git+https://github.com/lemonyte/no-code\n```\n\n[Python 3.10](https://www.python.org/downloads/) or a newer version is required.\n\n## Usage\n\nThis package is intended to be used as a command-line tool.\n\n\u003e [!IMPORTANT]\n\u003e Make sure you are in an activated virtual environment. Using `uv run` tends to break this package.\n\nTo turn your code into no code:\n\n```shell\n$ cat some_code.py\nprint(\"Hello, world! 😁\")\n\n$ no_code some_code.py \u003e no_code.py\n\n$ cat no_code.py\n# coding: no\n​‌‌‌​​​​​‌‌‌​​‌​​‌‌​‌​​‌​‌‌​‌‌‌​​‌‌‌​‌​​​​‌​‌​​​​​‌​​​‌​​‌​​‌​​​​‌‌​​‌​‌​‌‌​‌‌​​​‌‌​‌‌​​​‌‌​‌‌‌‌​​‌​‌‌​​​​‌​​​​​​‌‌‌​‌‌‌​‌‌​‌‌‌‌​‌‌‌​​‌​​‌‌​‌‌​​​‌‌​​‌​​​​‌​​​​‌​​‌​​​​​‌‌‌‌​​​​‌​​‌‌‌‌‌‌​​‌‌​​​‌​​​​​​‌​​‌​​​‌​​​‌​‌​​‌​​​​‌​‌​\n\n```\n\nYou can then run no code as usual:\n\n```shell\n$ python no_code.py\nHello, world! 😁\n\n```\n\nIf, for some reason, you need to turn no code back into Python code:\n\n```shell\n$ yes_code no_code.py \u003e some_code.py\n\n$ cat some_code.py\nprint(\"Hello, world! 😁\")\n\n```\n\n## Troubleshooting\n\nIf you get `SyntaxError: invalid syntax`, make sure the line `# coding: no` is present at the top of your script.\n\nIf you get `SyntaxError: encoding problem: no`, follow the steps below to make sure the `no` encoding is registered on startup:\n\n1. Run `SITE_PACKAGES=$(python -c 'import sysconfig; print(sysconfig.get_path(\"purelib\"))')` to get the path to the Python site-packages directory.\n2. Run `echo \"import no_code\" \u003e \"$SITE_PACKAGES/no.pth\"` to register the `no` encoding on startup.\n\n\u003e [!NOTE]\n\u003e If using PowerShell, use `$SITE_PACKAGES` instead of `SITE_PACKAGES` to assign the variable.\n\nThis issue is commonly encountered when installing `no-code` into the user site-packages.\n\n## More details\n\nNot satisfied with no code? The package also provides two functions to easily convert between something and nothing.\n\n- `no_code.nothing()`: Transform something (a string or bytes-like object) into nothing.\n- `no_code.something()`: Transform nothing into something (a string or bytes-like object).\n\nThe commands `no_code` and `yes_code` also accept input from `stdin` if no file is provided.\n\n```shell\n$ echo \"print(bool(1))\" | no_code | yes_code | python\nTrue\n```\n\n## Credits\n\nInspired by [Kelsey Hightower](https://github.com/kelseyhightower/nocode), based on [INVISIBLE.js](https://aem1k.com/invisible/encoder/) by [Martin Kleppe](https://aem1k.com/).\n\n## License\n\n[MIT License](LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemonyte%2Fno-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemonyte%2Fno-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemonyte%2Fno-code/lists"}