Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liamg/guerrilla
:incoming_envelope::bust_in_silhouette: Guerilla Mail CLI + Go module
https://github.com/liamg/guerrilla
cli disposable-email guerrillamail privacy
Last synced: 4 months ago
JSON representation
:incoming_envelope::bust_in_silhouette: Guerilla Mail CLI + Go module
- Host: GitHub
- URL: https://github.com/liamg/guerrilla
- Owner: liamg
- License: mit
- Created: 2022-08-01T18:47:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-25T08:57:48.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T12:45:23.081Z (4 months ago)
- Topics: cli, disposable-email, guerrillamail, privacy
- Language: Go
- Homepage: https://www.guerrillamail.com/
- Size: 117 KB
- Stars: 30
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :incoming_envelope::bust_in_silhouette: guerrilla
A command-line tool (and Go module) for [https://www.guerrillamail.com/](https://www.guerrillamail.com/).
Create a temporary email address in the terminal to quickly sign up for services and receive verification emails.
![Screenshot of Guerrilla command-line receiving emails](demo.gif)
Built based on the [official API documention](https://docs.google.com/document/d/1Qw5KQP1j57BPTDmms5nspe-QAjNEsNg8cQHpAAycYNM/edit?hl=en).
## Usage: CLI
Install with Go:
```
go install github.com/liamg/guerrilla/cmd/guerrilla@latest
```No configuration or authentication required, just run:
```
$ guerrilla
```...and start receiving emails!
## Usage: Go Module
```go
package mainimport (
"fmt"
"github.com/liamg/guerrilla/pkg/guerrilla"
)func main() {
client, _ := guerrilla.Init()
poller := guerrilla.NewPoller(client)for email := range poller.Poll() {
fmt.Printf("Email received: Subject=%s\nBody=%s\n\n", email.Subject, email.Body)
}
}
```