Go library and CLI for fetching social media profiles across 50+ platforms.
go install github.com/codeGROOVE-dev/sociopath/cmd/sociopath@latestsociopath https://github.com/torvalds # Fetch profile
sociopath -r https://linktr.ee/johndoe # Follow social links recursively
sociopath --guess torvalds # Discover profiles by username
sociopath --email [email protected] # Look up by email (Gravatar, etc.)| Flag | Description |
|---|---|
-r |
Follow social links recursively (max depth: 3) |
--guess |
Discover related profiles on other platforms |
--email |
Look up profiles by email address |
--browser |
Extract cookies from browser for authenticated platforms |
--no-cache |
Disable HTTP caching (default: 75-day TTL) |
-v, --debug |
Enable verbose logging |
Developer: GitHub, GitLab, Codeberg, Gitee, StackOverflow, HackerNews, Lobsters, Dev.to, Hashnode, Qiita, Zenn, CSDN, Juejin, V2EX, Crates.io, DockerHub, HexPM, RubyGems, LeetCode, HackerOne, Bugcrowd, ORCID, HuggingFace, Keybase, Sessionize, SlideShare
Social: Twitter/X*, LinkedIn*, Instagram*, TikTok*, Mastodon, BlueSky, Reddit, VKontakte, Weibo, Micro.blog
Content: YouTube, Twitch, Bilibili, Medium, Substack, Habr
Other: Linktree, Gravatar, Google, Steam, Strava, Goodreads, Douban, Holopin, IntenseDebate, Disqus, ArsTechnica, Mail.ru
* Requires --browser flag for authentication
JSON to stdout:
{
"Platform": "github",
"URL": "https://github.com/torvalds",
"Username": "torvalds",
"Name": "Linus Torvalds"
}Guessed profiles include confidence scores and match reasons.
import "github.com/codeGROOVE-dev/sociopath/pkg/sociopath"
profiles, _ := sociopath.FetchRecursiveWithGuess(ctx, url, sociopath.WithBrowserCookies())
for _, p := range profiles {
fmt.Printf("%s (%.0f%% confidence)\n", p.URL, p.Confidence*100)
}