Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.
/ tempomail Public archive

Generate a custom Email Address in 1 Second and receive Emails.

License

Notifications You must be signed in to change notification settings

kavishgr/tempomail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: "No longer maintained. I don't know where to start with this repository. The Go code here is of poor quality. I was just learning back then."

tempomail

tempomail is a standalone binary that allows you to create a temporary email address in 1 Second and receive emails. It uses 1secmail's API. No dependencies required!

Note: Only accepting plain text for now.

Installation

From Binary

Download the pre-built binaries for different platforms from the releases page. Extract them using tar, move it to your $PATH and you're ready to go.

# download release from https://github.com/kavishgr/tempomail/releases/
▶ tar -xzvf linux-amd64-tempomail.tgz
▶ mv tempomail /usr/local/bin/
▶ tempomail -h

From Github

git clone https://github.com/kavishgr/tempomail.git
cd tempomail
go build .
mv tempomail /usr/local/bin/ #OR $HOME/go/bin
tempomail -h

Usage

By default, all emails are saved in /tmp/1secmails/. It only has only one flag --path to specify a directory to store your emails:

Usage of tempomail:
  -path string
    	specify directory to store emails (default "/tmp/1secmails/")

Press CTRL+c or SIGTERM to quit and all emails will be deleted.

Does it need improvement ?

Open an issue.

TODO

  • Download Attachments[in progress]
  • Parse formatted emails[maybe in the future]