Hacker GitHub

← All repos

qntm/base2048

View on GitHub ↗ ★ 883 JavaScript

Binary encoding optimised for Twitter

20 mentions on Hacker News by 16 people: 3 stories, 17 comments · first 2020-09-20 · latest 2026-02-26

Mentions per year 20 mentions · busiest year 2021 (6)
20082026
  1. …mood otherwise I will rot13 their ass and then force them to use a Drogan’s Decoder Wheel. [1] - https://github.com/qntm/base2048
  2. …-> base2048 -> base131072 [3] ...and so on. [1] - https://irssi.org/documentation/help/otr/ [2] - https://github.com/qntm/base2048 [3] - https://github.com/qntm/base131072
  3. …in conjunction with a stream cipher to add compression. It could go turtles all the way down. [1] - https://github.com/qntm/base2048 [2] - https://github.com/qntm/base32768 [3] - https://github.com/qntm/base65536
    comment by Bender · 2025-09-20 · in Scream cipher
  4. Just putting this here for alternate baseX: https://github.com/qntm/base2048
    comment by daisydaisytts · 2023-12-17 · in How does Base32 (or any Base2^n) work exactly?
  5. …utf in passwords and I have no idea how many password schemes support this beyond what I use. [1] - https://github.com/qntm/base2048 [2] - https://security.stackexchange.com/questions/85663/is-it-a-g... [3] -…
    comment by LinuxBender · 2023-10-23 · in Base64 Encoding, Explained
  6. I use https://github.com/qntm/base2048
    comment by acheong08 · 2023-09-07 · in Show HN: Host a Website in the URL
  7. …until they adapt and evolve. But I am not a developer and maybe this is just not possible. [1] - https://github.com/qntm/base2048
    comment by LinuxBender · 2022-12-18 · in Twitter's anti-Mastodon filter evasion
  8. See also https://github.com/qntm/base2048 . "Base2048 is a binary encoding optimised for transmitting data through Twitter."
  9. I know of one case of Twitter doing client side validation [1]. Maybe there are more? 1 - https://github.com/qntm/base2048#note
    comment by wolf550e · 2022-05-12 · in Twitter Terms of Service Diff
  10. ▲ 96
    Base 2048
    story by isaac21259 · 2022-05-06 · 39 comments
  11. I think the last line is a replay, encoded in base2048: https://github.com/qntm/base2048 But when I tried your replay, it didn't work. Perhaps HN's text editor mangled something.
    comment by rahimnathwani · 2022-04-20 · in Can you be sure to clear a line at Tetris?
  12. …base2048 [0], which can cram 11 bits into each code point, or 110 bytes into 80 characters. [0] https://github.com/qntm/base2048
  13. This is what you're looking for: https://github.com/qntm/base2048 It can store 385 bytes per tweet. This link includes a bit more technical explanation of how Twitter counts characters towards the limit. Apparently, using the entire range…
    comment by ludocode · 2021-06-17 · in Bear plus snowflake equals polar bear
  14. …more useful for Twitter. On the GitHub page the dev helpfully links to the various implementations: https://github.com/qntm/base2048
    comment by alisonatwork · 2021-06-17 · in Bear plus snowflake equals polar bear
  15. ▲ 1
    Base2048: Binary Encoding Optimised for Twitter
    story by vincent_s · 2021-05-15 · 0 comments
  16. …as double, making the previously used base65536 less efficient in the context of a tweet. See https://github.com/qntm/base2048#readme
  17. ▲ 2
    Binary Encoding Optimised for Twitter
    story by dorianmariefr · 2021-05-07 · 0 comments
  18. …tweets (4175 nucleobases * 2 bits per nucleobase / 3080 bits per base2048 tweet = 2.7 tweets). [1] https://github.com/qntm/base2048/
    comment by lifthrasiir · 2021-03-30 · in Moderna mRNA sequence released to GitHub [pdf]
  19. …environments may treat characters after U+1100 with no penalties. See: “Rationale” section at: https://github.com/qntm/base2048#rationale > following some experimentation and examination of the new web client code, we now understand that…
    comment by thih9 · 2020-09-20 · in Base 65536
  20. Superseded by Base2048 [1] by now. [1] https://github.com/qntm/base2048
    comment by lifthrasiir · 2020-09-20 · in Base 65536