{"id":16772605,"url":"https://github.com/jonlabelle/tmpmail","last_synced_at":"2025-03-16T16:33:38.455Z","repository":{"id":148059662,"uuid":"350626825","full_name":"jonlabelle/tmpmail","owner":"jonlabelle","description":"Temporary email from the terminal.","archived":false,"fork":false,"pushed_at":"2021-03-25T02:28:34.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T03:29:25.462Z","etag":null,"topics":["email","privacy","shell","tmpmail"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/jonlabelle.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-23T08:00:58.000Z","updated_at":"2021-05-25T12:02:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb5c4576-f29e-4ae8-961e-15ae1ce4c1a2","html_url":"https://github.com/jonlabelle/tmpmail","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonlabelle%2Ftmpmail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonlabelle%2Ftmpmail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonlabelle%2Ftmpmail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonlabelle%2Ftmpmail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonlabelle","download_url":"https://codeload.github.com/jonlabelle/tmpmail/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243896602,"owners_count":20365401,"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","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":["email","privacy","shell","tmpmail"],"created_at":"2024-10-13T06:43:20.692Z","updated_at":"2025-03-16T16:33:38.437Z","avatar_url":"https://github.com/jonlabelle.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tmpmail\n\n[![lint](https://github.com/jonlabelle/tmpmail/actions/workflows/lint.yml/badge.svg)](https://github.com/jonlabelle/tmpmail/actions/workflows/lint.yml)\n\n\u003e *Temporary email from the terminal.*\n\n## What does it do?\n\n[tmpmail] creates a temporary email address for *receiving* messages right from\nthe terminal. It's a command-line utility written in POSIX sh and uses the\n[1secmail API].\n\n## Dependencies\n\n[w3m](https://www.commandlinux.com/man-page/man1/w3m.1.html), [curl](https://curl.se), [jq](https://stedolan.github.io/jq/)\n\n... and of course [tmpmail].\n\n## Installation\n\n### Downloading\n\nFirst, you'll need to clone [this repository](https://github.com/jonlabelle/tmpmail) or [download the zip](https://github.com/jonlabelle/tmpmail/archive/refs/heads/master.zip).\n\n```bash\ngit clone https://github.com/jonlabelle/tmpmail.git\n```\n\n### Installing\n\nInstalling will grab latest version of [tmpmail] and symlink it to\n`~/bin/tmpmail`. `cd` to the `tmpmail/` directory and run the install script\nwith the `-i` option:\n\n```bash\nbash install.sh -i\n```\n\n### Uninstalling\n\nTo uninstall the `~/bin/tmpmail` symlink, `cd` to the `tmpmail/` directory and\nrun the install script with the `-u` option:\n\n```bash\nbash install.sh -u\n```\n\n## Usage\n\n```text\ntmpmail -h | --version\ntmpmail -g [ADDRESS]\ntmpmail [-t | -b BROWSER] -r | ID\n\nWhen called with no option and no argument, tmpmail lists the messages in the\ninbox and their numeric IDs. When called with one argument, tmpmail shows the\nemail message with specified ID.\n\n-b, --browser BROWSER\n        Specify BROWSER (default: w3m) that is used to render the HTML of the\n        email.\n\n-g, --generate [ADDRESS]\n        Generate a new email address, either the specified ADDRESS, or randomly\n        create one.\n\n-h, --help\n        Show help.\n\n-r, --recent\n        View the most recent email message.\n\n-t, --text\n        View the email as raw text, where all the HTML tags are removed.\n        Without this option, HTML is used.\n\n--version\n        Show version.\n```\n\n## Examples\n\n```bash\n# To create a temporary/random email inbox:\ntmpmail --generate\n\n# To use a custom email inbox:\ntmpmail --generate mycustomemail@1secmail.com\n\n# To list messages and their numeric ID:\ntmpmail\n\n# To display the most recent received email:\ntmpmail --recent\n\n# To open a specific message:\ntmpmail \u003cemail_id\u003e\n\n# To view email as raw text without HTML tags:\ntmpmail --text \u003cemail_id\u003e\n\n# To open email with a specific browser (default is w3m):\ntmpmail --browser \u003cbrowser\u003e \u003cemail_id\u003e\n```\n\n[tmpmail]: https://github.com/sdushantha/tmpmail\n[1secmail API]: https://www.1secmail.com/api/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonlabelle%2Ftmpmail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonlabelle%2Ftmpmail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonlabelle%2Ftmpmail/lists"}