Skip to content

Simple reverse engineering of various Snowflake IDs.

License

Notifications You must be signed in to change notification settings

gscbravo/snowshed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snowshed

About

Simple reverse engineering of various Snowflake IDs.

Snowflake ID Types

  • twitter
    • timestamp (42 bits)
    • machine id (10 bits)
    • sequence number (12 bits)
  • discord
    • timestamp (42 bits)
    • worker id (5 bits)
    • process id (5 bits)
    • increment (12 bits)
  • mastodon
    • timestamp (48 bits)
    • sequence data (16 bits)

Usage

go install github.com/gscbravo/snowshed@latest
showshed -t TYPE

Valid types are listed above in the section under "Snowflake ID Types".

TODO

  • More Snowflake IDs when I'm aware of them

Releases

No releases published

Packages

No packages published

Languages