{"id":16431429,"url":"https://github.com/stephencelis/syn","last_synced_at":"2026-03-07T05:04:55.960Z","repository":{"id":12755866,"uuid":"15429130","full_name":"stephencelis/syn","owner":"stephencelis","description":"Syntax control for the command line","archived":false,"fork":false,"pushed_at":"2015-09-29T11:58:44.000Z","size":510,"stargazers_count":379,"open_issues_count":4,"forks_count":12,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-10T03:57:03.394Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/stephencelis.png","metadata":{"files":{"readme":"README.markdown","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}},"created_at":"2013-12-25T03:52:41.000Z","updated_at":"2025-03-02T17:49:19.000Z","dependencies_parsed_at":"2022-09-10T17:01:34.640Z","dependency_job_id":null,"html_url":"https://github.com/stephencelis/syn","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/stephencelis/syn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephencelis%2Fsyn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephencelis%2Fsyn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephencelis%2Fsyn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephencelis%2Fsyn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephencelis","download_url":"https://codeload.github.com/stephencelis/syn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephencelis%2Fsyn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30208730,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T03:24:23.086Z","status":"ssl_error","status_checked_at":"2026-03-07T03:23:11.444Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-10-11T08:30:10.708Z","updated_at":"2026-03-07T05:04:55.945Z","avatar_url":"https://github.com/stephencelis.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# syn\n\nSyntax control for the command line.\n\n**syn** uses OS X's natural language processing tools to tokenize and\nhighlight text (from standard input) that matches specified tags.\n\n\u003cimg src='doc/demo.gif' alt='(Animated demo)'/\u003e\n\nInspired by [iA Writer][1].\n\n[1]: http://ia.net/writer\n\n## Install\n\n**syn** requires OS X 10.7 or above.\n\n``` sh\n$ curl -LOs https://github.com/stephencelis/syn/releases/download/v0.2.2/syn \\\n  \u0026\u0026 chmod 755 syn \\\n  \u0026\u0026 mv syn /usr/local/bin\n```\n\nOr clone/download the repository and run `make install` (requires\n[Xcode][2] to be installed).\n\n[2]: https://developer.apple.com/xcode\n\n## Usage\n\n_E.g._,\n\n``` sh\n# find pesky adverbs\n$ syn --adverbs \u003c nanowrimo.txt\n# highlight nouns and noun-likes\n$ syn --nouns --pronouns --personal-names --place-names \u003c nanowrimo.txt\n# peruse the classics\n$ curl -Ls http://www.gutenberg.org/ebooks/11231.txt.utf-8 | \\\n  syn -A | \\\n  less -r\n# generate listicles\n$ syn -a -ftable \u003c moby-dick.txt | \\\n  cut -d ' ' -f4 | sort -f | uniq -ci | sort -nr | head -10 | tr a-z A-Z\n 441 OLD\n 430 OTHER\n 305 SUCH\n 290 GREAT\n 275 LAST\n 238 LITTLE\n 215 SAME\n 199 OWN\n 199 GOOD\n 191 WHITE\n```\n\n_-h_,\n\n```\nusage: syn [tags] [-f \u003cformatter=ansi\u003e] [-vh]\nTags:\n    -n, --nouns                      Match nouns\n    -V, --verbs                      Match verbs\n    -a, --adjectives                 Match adjectives\n    -A, --adverbs                    Match adverbs\n    -N, --pronouns                   Match pronouns\n    -d, --determiners                Match determiners\n    -p, --particles                  Match particles\n    -P, --prepositions               Match prepositions\n    -1, --numbers                    Match numbers\n    -c, --conjunctions               Match conjunctions\n    -i, --interjections              Match interjections\n    -C, --classifiers                Match classifiers\n    -I, --idioms                     Match idioms\n    -H, --personal-names             Match personal (human) names\n    -l, --place-names                Match place names (locations)\n\nConfiguration:\n    -f, --formatter                  One of 'ansi', 'table', or 'json'\n\n    -v, --version                    Show version\n    -h, --help                       Show this screen\n```\n\n## License\n\n**syn** is available under the MIT license. See the LICENSE file for\nmore information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephencelis%2Fsyn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephencelis%2Fsyn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephencelis%2Fsyn/lists"}