{"id":20644259,"url":"https://github.com/senselogic/prettify","last_synced_at":"2026-04-07T20:31:48.574Z","repository":{"id":114210199,"uuid":"91590069","full_name":"SenseLogic/PRETTIFY","owner":"SenseLogic","description":"Source code prettifier.","archived":false,"fork":false,"pushed_at":"2026-04-05T15:04:58.000Z","size":126,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-04-05T17:11:55.523Z","etag":null,"topics":["beautifier","c","code","cpp","css","d","formatter","html","js","json","less","php","prettifier","sass","scss","source","xml"],"latest_commit_sha":null,"homepage":null,"language":"D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SenseLogic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-05-17T15:09:22.000Z","updated_at":"2026-04-05T15:05:01.000Z","dependencies_parsed_at":"2025-03-09T14:44:24.681Z","dependency_job_id":"1e0d0ec2-69ac-43af-bcf0-1ff593e7723a","html_url":"https://github.com/SenseLogic/PRETTIFY","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SenseLogic/PRETTIFY","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenseLogic%2FPRETTIFY","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenseLogic%2FPRETTIFY/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenseLogic%2FPRETTIFY/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenseLogic%2FPRETTIFY/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SenseLogic","download_url":"https://codeload.github.com/SenseLogic/PRETTIFY/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenseLogic%2FPRETTIFY/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31528317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["beautifier","c","code","cpp","css","d","formatter","html","js","json","less","php","prettifier","sass","scss","source","xml"],"created_at":"2024-11-16T16:15:34.010Z","updated_at":"2026-04-07T20:31:48.563Z","avatar_url":"https://github.com/SenseLogic.png","language":"D","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://github.com/senselogic/PRETTIFY/blob/master/LOGO/prettify.png)\n\n# Prettify\n\nSource code prettifier.\n\n## Features\n\n* Make source code files with the following extensions adhere to [Coda](https://github.com/senselogic/CODA) spacing rules :\n  * C : .c .h\n  * C++ : .cxx .hxx .cpp .hpp\n  * C# : .cs\n  * CSS : .css .less .pepss .sass .scss .styl\n  * JavaScript : .js .jsx .ts .tsx .json\n  * HTML : .htm .html .xml .twig\n  * D : .d\n  * Dart : .dart\n  * PHP : .php\n  * Rust : .rs\n\n## Installation\n\nInstall the [DMD 2 compiler](https://dlang.org/download.html) (using the MinGW setup option on Windows).\n\nBuild the executable with the following command line :\n\n```bash\ndmd -m64 prettify.d\n```\n\n## Command line\n\n```bash\nprettify [options] file_path_filter\n```\n\n### Options\n\n```bash\n--backup BACKUP_FOLDER/ : store the original files in this folder\n--output OUTPUT_FOLDER/ : store the fixed files in this folder\n```\n\n### Examples\n\n```bash\nprettify \".//*.d\"\n```\n\nPrettifies all D files in the current folder and its subfolders.\n\n```bash\nprettify --backup BACKUP_FOLDER/ \"*.php\"\n```\n\nPrettifies all PHP files after having stored the original files in \"BACKUP_FOLDER/\".\n\n```bash\nprettify --output OUTPUT_FOLDER/ \"*.js\"\n```\n\nPrettifies all JavaScript files and store the fixed files in \"OUTPUT_FOLDER/\".\n\n## Limitations\n\n- Tabs are systematically converted to four spaces.\n- The lexer does not support verbatim strings, raw string literals, interpolated strings and regular expressions.\n\n## Version\n\n1.0\n\n## Author\n\nEric Pelzer (ecstatic.coder@gmail.com).\n\n## License\n\nThis project is licensed under the GNU General Public License version 3.\n\nSee the [LICENSE.md](LICENSE.md) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenselogic%2Fprettify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsenselogic%2Fprettify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenselogic%2Fprettify/lists"}