Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
hornet.com
Advanced tools
Readme
Unofficial browser API wrapper for queer social network hornet.com.
Written in TypeScript, tested with Jest.
This project was made by some enthusiast who had 3 free hours in evening, please feel free to fork and maintain it, since I'm not really interested in continuing developing it.
npm install hornet.com
import HornetAPI from 'hornet.com'
const api = new HornetAPI('your-token')
Find your session token using one of the following methods:
hornet-web-auth
encoded with percent-encoding, decode it, parse json and use value from "at" key. Example: {"at":"yourtoken-here","r":true,"pid":123456,"u":"yourusername","ip":true}
storage:current-user
, parse json and use value from "session.access_token" key. Example: {"session":{"access_token":"yourtoken-here","external_access_token":<...>,"valid_until":<...>,"account":<...>,"profile":<...>,"settings":<...>,"totals":<...>,"filters":<...>,"onboarding_objective_set":<...>,"public_share_moment_toggle":<...>,"honey_account":<...>,"hornet_points_account":<...>,"entitlements":<...>,"user_video_audience_options":<...>,"currentLocation":<...>}}
Not really work-in-progress since there is no work and no progress on this section, but you got the idea.
You can find examples in ./examples/
Web 74.15.3
. You can find up-to-date version code just by looking into Network tab in your browser, under x-client-version
header in any request to hornet API. Change it by setting xClientVersion
property on HornetAPI instance:const api = new HornetAPI('your-token')
api.xClientVersion = `Web 12.34.5`
Otherwise you will be getting weird errors and sometimes even fabricated responses to keep backwards compatability
tsc
, not swc
FAQs
Unofficial browser API wrapper for queer social network [hornet.com](https://hornet.com).
The npm package hornet.com receives a total of 0 weekly downloads. As such, hornet.com popularity was classified as not popular.
We found that hornet.com demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.