All Projects → sdushantha → Tmpmail

sdushantha / Tmpmail

Licence: mit
A temporary email right from your terminal written in POSIX sh

Programming Languages

shell
77523 projects
Roff
2310 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to Tmpmail

Asus Fan Control
🌀 Fan control for ASUS devices running Linux.
Stars: ✭ 120 (-95.51%)
Mutual labels:  posix, aur
disposable-email-domains
Daily updated repository for https://github.com/disposable/disposable
Stars: ✭ 200 (-92.51%)
Mutual labels:  disposable-email, temporary-email
distrobox
Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
Stars: ✭ 4,371 (+63.71%)
Mutual labels:  posix, posix-sh
cmdr
POSIX-compliant command-line UI (CLI) parser and Hierarchical-configuration operations
Stars: ✭ 94 (-96.48%)
Mutual labels:  commandline, posix
Cobra
A Commander for modern Go CLI interactions
Stars: ✭ 24,437 (+815.24%)
Mutual labels:  commandline, posix
smoosh
The Symbolic, Mechanized, Observable, Operational SHell: an executable formalization of the POSIX shell standard.
Stars: ✭ 86 (-96.78%)
Mutual labels:  posix, posix-sh
disposable-email-domain-list
A list of disposable email domains, cleaned and validated by scanning MX records.
Stars: ✭ 68 (-97.45%)
Mutual labels:  disposable-email, temporary-email
Acme.sh
A pure Unix shell script implementing ACME client protocol
Stars: ✭ 24,723 (+825.96%)
Mutual labels:  posix, posix-sh
Vcsh
config manager based on Git
Stars: ✭ 1,836 (-31.24%)
Mutual labels:  posix, posix-sh
Gitin
commit/branch/workdir explorer for git
Stars: ✭ 1,815 (-32.02%)
Mutual labels:  commandline
Macos Downloader
Command line tool for downloading macOS installers and beta updates
Stars: ✭ 162 (-93.93%)
Mutual labels:  commandline
Ansible Aur
Ansible module to manage packages from the AUR
Stars: ✭ 149 (-94.42%)
Mutual labels:  aur
Shell Tricks
Simple bash tricks which make your life easier.
Stars: ✭ 153 (-94.27%)
Mutual labels:  posix
Quant
QUIC implementation for POSIX and IoT platforms
Stars: ✭ 162 (-93.93%)
Mutual labels:  posix
Wifi Password
Quickly fetch your WiFi password and if needed, generate a QR code of your WiFi to allow phones to easily connect
Stars: ✭ 2,325 (-12.92%)
Mutual labels:  commandline
Reactopt
A CLI React performance optimization tool that identifies potential unnecessary re-rendering
Stars: ✭ 1,975 (-26.03%)
Mutual labels:  commandline
Ctop
Top-like interface for container metrics
Stars: ✭ 12,188 (+356.48%)
Mutual labels:  commandline
Neofetch
🖼️ A command-line system information tool written in bash 3.2+
Stars: ✭ 13,768 (+415.66%)
Mutual labels:  commandline
You Dont Need Gui
Stop relying on GUI; CLI **ROCKS**
Stars: ✭ 4,766 (+78.5%)
Mutual labels:  commandline
Nohost
A web server in your web browser
Stars: ✭ 164 (-93.86%)
Mutual labels:  posix

A temporary email right from your terminal written in POSIX sh


tmpmail is a command line utility written in POSIX sh that allows you to create a temporary email address and receive emails to the temporary email address. It uses 1secmail's API to receive emails.

By default w3m is used to render the HTML emails on the terminal. But if you prefer another text based web browser or would rather view the email in a GUI web browser such as Firefox, simply use the --browser argument followed by the command needed to launch the web browser of your choice.




Dependencies

  • w3m
  • curl
  • jq

Installation

Install locally

# Download the tmpmail file and make it executable
$ curl -L "https://git.io/tmpmail" > tmpmail && chmod +x tmpmail

# Then move it somewhere in your $PATH. Here is an example:
$ mv tmpmail ~/bin/

AUR

tmpmail is available on the AUR, which is currently being maintained by Benjamin Bädorf

$ yay -S tmpmail-git

Nixpkgs

tmpmail is also available in the nix package collection (only unstable currently), which is maintained by legendofmiracles

Either add it to your system packages, install it with nix-env or try it out in a ephemeral nix-shell nix-shell -p tmpmail

Docker

requirements:

$ docker build -t mail .; # Dockerfile available in source code
$ docker run -it mail /bin/bash; 

Usage

$ tmpmail --help
tmpmail
tmpmail -h | --version
tmpmail -g [ADDRESS]
tmpmail [-t | -b BROWSER] -r | ID

When called with no option and no argument, tmpmail lists the messages in
the inbox and their numeric IDs.  When called with one argument, tmpmail
shows the email message with specified ID.

-b, --browser BROWSER
        Specify BROWSER (default: w3m) that is used to render the HTML of
        the email
-g, --generate [ADDRESS]
        Generate a new email address, either the specified ADDRESS, or
        randomly create one
-h, --help
        Show help
-r, --recent
        View the most recent email message
-t, --text
        View the email as raw text, where all the HTML tags are removed.
        Without this option, HTML is used.
--version
        Show version

Examples

Create random email

$ tmpmail --generate
[email protected]

Create custom email

View the inbox

$ tmpmail
[ Inbox for [email protected] ]

83414443   [email protected]   Test Email

View the email

$ tmpmail 83414443

View the most recent email

$ tmpmail -r

View emails as pure text

$ tmpmail -t 83414443
To: [email protected]
From: [email protected]
Subject: Test Email

Hello World

[Attachments]
https://is.gd/aBCdEf [apple.jpg]
https://is.gd/AbCDeF [ball.jpg]

Credits

This script is heavily inspired by Mitch Weaver's 1secmail script

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].