GithubHelp home page GithubHelp logo

kevcui / 1secmail Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 4.0 24 KB

:mailbox_with_mail: 1secmail disposable temp mail service from terminal

License: MIT License

Shell 100.00%
mail tempmail disposable-email disposable-emails temporary-email temporary-emails bash bash-script cli 1secmail

1secmail's Introduction

1secmail CI

Use 1secmail disposable temp mail service from terminal

Table of Contents

Feature

  • Fast access to 1secmail service from terminal
  • Randomly generating email login
  • Easy to remember user name created by Faker
  • Simple integration to any CI process due to Bash script

Dependency

How to use

Usage

Usage:
  ./1secmail [-u <inbox>|-i <id>|-r|-s|-t|-b]

Options:
  no option        Randamly get an inbox
  -u <inbox>       Optional, get an inbox by its mail address
  -i <id>          Optional, show mail by its id
  -r               Optional, show the most recent mail
  -s               Optional, show available domains
  -t               Optional, show plain text without using w3m
  -b               Optional, show data URL with base64 encoded message
  -h | --help      Display this help message

Examples

  • Generate a random inbox with faker-cli:
$ ./1secmail
[]
[email protected]
  • Generate a random inbox without faker-cli:
$ ./1secmail
[]
[email protected]
$ ./1secmail -u '[email protected]'
[
  {
    "id": 84113380,
    "from": "[email protected]",
    "subject": "Please confirm your email address",
    "date": "2020-09-13 18:23:44"
  }
]
  • Show mail 84113380 detail:
$ ./1secmail -u '[email protected]' -i 84113380
<HTML content in w3m>
...
$ ./1secmail -u '[email protected]' -r
<HTML content in w3m>
...
  • Show all available domains:
$ ./1secmail -s

Run tests

$ bats test/1secmail.bats

Similar projects

Want more temp mail service? Check out:

Want to send anonymous emails? Check out:

You may like them!


Buy Me A Coffee

1secmail's People

Contributors

kevcui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.