Skip to content

codeGROOVE-dev/sociopath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sociopath

Go Reference Go Report Card

Go library and CLI for fetching social media profiles across 50+ platforms.

Install

go install github.com/codeGROOVE-dev/sociopath/cmd/sociopath@latest

Usage

sociopath 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.)

Options

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

Platforms

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

Output

JSON to stdout:

{
  "Platform": "github",
  "URL": "https://github.com/torvalds",
  "Username": "torvalds",
  "Name": "Linus Torvalds"
}

Guessed profiles include confidence scores and match reasons.

Library

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)
}

About

recursive social media profile discovery tool

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages