From dfcf52f30cdbde3a4e1400024b0c27451d179e5d Mon Sep 17 00:00:00 2001 From: s Date: Sat, 8 Nov 2025 02:44:13 -0500 Subject: feat: add unauthenticated client support and new osint/x commands --- internal/models/osint.go | 11 +++++++++++ internal/models/x.go | 30 ++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) (limited to 'internal/models') diff --git a/internal/models/osint.go b/internal/models/osint.go index 6096df8..9f714c4 100644 --- a/internal/models/osint.go +++ b/internal/models/osint.go @@ -36,3 +36,14 @@ type BreachForumSearchResponse struct { MaxHits int `json:"max_hits"` Results interface{} `json:"results"` } + +type OpenDirectorySearchParams struct { + URL string + Filename string + Extension string + Exclude string + Size int + From int +} + +type OpenDirectorySearchResponse map[string]interface{} diff --git a/internal/models/x.go b/internal/models/x.go index b4e6eac..07c3117 100644 --- a/internal/models/x.go +++ b/internal/models/x.go @@ -49,3 +49,33 @@ type TweetsStreamResponse struct { Complete *Complete `json:"complete,omitempty"` Error string `json:"error,omitempty"` } + +type FirstFollower struct { + Number int `json:"number"` + Username string `json:"username"` + Name string `json:"name"` +} + +type FirstFollowersResponse struct { + Username string `json:"username"` + Followers []FirstFollower `json:"followers"` + Credits struct { + Remaining int `json:"remaining"` + Unlimited bool `json:"unlimited"` + } `json:"credits"` +} + +type NotableFollower struct { + Username string `json:"username"` + FollowerCount string `json:"follower_count"` + Score float64 `json:"score"` +} + +type NotableFollowersResponse struct { + Username string `json:"username"` + Followers []NotableFollower `json:"followers"` + Credits struct { + Remaining int `json:"remaining"` + Unlimited bool `json:"unlimited"` + } `json:"credits"` +} -- cgit v1.2.3