enola

package module
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2023 License: MIT Imports: 9 Imported by: 0

README

Enola Holmes

This is Sherlock's sister Enola, Modern shiny CLI tool written with Golang to help you: 🔎 Hunt down social media accounts by username across social networks

Install

Minimum go1.19 required.

go install github.com/theyahya/enola/cmd/enola@latest

Usage

enola {username}
Enola demo

Contributing

You can fork the repository, improve or fix some part of it and then send a pull requests. Or simply open and issue if there's a bug or you have a feature in mind.

License

This software is released under the MIT License.

Documentation

Index

Constants

View Source
const (
	ErrDataFileIsNotAValidJson = "the data file cannot be read due to invalid JSON format"
	ErrSiteNotFound            = "the requested site is not supported"
)
View Source
const RequestTimeout time.Duration = time.Second * 20

Variables

This section is empty.

Functions

This section is empty.

Types

type Enola

type Enola struct {
	Data map[string]Website
	Site string
	Ctx  context.Context
}

func New

func New(ctx context.Context) (Enola, error)

func (*Enola) Check

func (s *Enola) Check(username string) (<-chan Result, error)

func (*Enola) List

func (s *Enola) List() map[string]Website

func (*Enola) ListCount

func (s *Enola) ListCount() int

func (*Enola) SetSite

func (s *Enola) SetSite(site string) *Enola

type Result

type Result struct {
	Name  string `json:"name"`
	URL   string `json:"url"`
	Found bool   `json:"found"`
}

type Website

type Website struct {
	ErrorType         string      `json:"errorType"`
	ErrorMessage      interface{} `json:"errorMsg"`
	URL               string      `json:"url"`
	UrlMain           string      `json:"urlMain"`
	UsernameClaimed   string      `json:"username_claimed"`
	UsernameUnclaimed string      `json:"username_unclaimed"`
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL