{"id":24830416,"url":"https://github.com/willswire/teemoji","last_synced_at":"2026-02-27T19:15:09.478Z","repository":{"id":274372570,"uuid":"922705242","full_name":"willswire/teemoji","owner":"willswire","description":"like tee but with emojis 🍵","archived":false,"fork":false,"pushed_at":"2026-01-15T05:59:19.000Z","size":668,"stargazers_count":197,"open_issues_count":4,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-15T12:03:42.520Z","etag":null,"topics":["coreml","emoji","macos","tee"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/willswire.png","metadata":{"files":{"readme":"README.md","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,"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-01-26T22:04:59.000Z","updated_at":"2026-01-13T03:38:48.000Z","dependencies_parsed_at":"2025-02-26T04:24:40.414Z","dependency_job_id":"ac209d0b-67ff-47b3-b7ff-765c80c111b1","html_url":"https://github.com/willswire/teemoji","commit_stats":null,"previous_names":["willswire/teemoji"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/willswire/teemoji","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willswire%2Fteemoji","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willswire%2Fteemoji/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willswire%2Fteemoji/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willswire%2Fteemoji/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willswire","download_url":"https://codeload.github.com/willswire/teemoji/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willswire%2Fteemoji/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29909425,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T17:28:36.873Z","status":"ssl_error","status_checked_at":"2026-02-27T17:28:20.970Z","response_time":57,"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":["coreml","emoji","macos","tee"],"created_at":"2025-01-30T23:50:21.531Z","updated_at":"2026-02-27T19:15:09.462Z","avatar_url":"https://github.com/willswire.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# teemoji\n\n\u003cimg width=\"500\" alt=\"teemoji in action!\" src=\"https://github.com/user-attachments/assets/acdb7614-c3d3-4704-b6d2-e270f44ca67a\" /\u003e\n\n**teemoji** is a command-line tool inspired by the classic [`tee`](https://en.wikipedia.org/wiki/Tee_(command)) utility. Unlike `tee`, `teemoji` leverages a Core ML model to predict and prepend an appropriate emoji to each incoming line of text, adding a touch of fun and context to your command-line workflows.\n\n## Features\n\n- **Emoji Prediction:** Uses a Core ML model to intelligently select emojis based on the input text.\n- **Standard I/O Support:** Reads from standard input and writes to both standard output and specified files.\n- **File Handling Options:** Choose to append to existing files or overwrite them.\n- **Easy Integration:** Seamlessly fits into your existing shell pipelines.\n\n## Installation\n\nYou can install `teemoji` via [Homebrew](https://brew.sh/):\n\n```bash\nbrew install willswire/tap/teemoji\n```\n\n## Usage\n\n`teemoji` works similarly to the standard `tee` command but with the added functionality of prepending emojis to each line.\n\n### Basic Usage\n\nPipe the output of a command into `teemoji` to see emojis added to each line and simultaneously write to a file.\n\n```bash\ncat input.txt | teemoji output.txt\n```\n\n### Append to Files\n\nUse the `-a` or `--append` flag to append the output to existing files instead of overwriting them.\n\n```bash\ncat input.txt | teemoji -a output.txt another.log\n```\n\n### Display Help\n\nGet help information about `teemoji`'s options and usage.\n\n```bash\nteemoji --help\n```\n\n### Options\n\n- `-a`, `--append`: Append to the given FILE(s), do not overwrite.\n- `-h`, `--help`: Display help information.\n\n## Example\n\nSuppose you have a file named `messages.txt` and you want to log its contents with emojis:\n\n```bash\ncat messages.txt | teemoji --append log.txt\n```\n\nThis command will read each line from `messages.txt`, prepend an emoji based on the content, display it on the terminal, and append it to `log.txt`.\n\n## Development\n\nIf you're interested in contributing or building `teemoji` from source:\n\n1. **Clone the Repository:**\n\n   ```bash\n   git clone https://github.com/willswire/teemoji.git\n   cd teemoji\n   ```\n\n2. **Build the Project:**\n\n   Ensure you have Swift 6.0 and Xcode 15 installed.\n\n   ```bash\n   just build\n   ```\n\n## License\n\nDistributed under the MIT License. See [`LICENSE`](https://github.com/willswire/teemoji/blob/main/LICENSE) for more information.\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request for any improvements or feature requests.\n\n## Acknowledgements\n\n- Built with [Swift](https://swift.org/) and [Core ML](https://developer.apple.com/documentation/coreml).\n- Inspired by the classic `tee` utility.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillswire%2Fteemoji","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillswire%2Fteemoji","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillswire%2Fteemoji/lists"}