Until the devs add it directly to Mastodon, I created tooot.to to make it easier
to link from websites outside of Mastodon into your Mastodon instance. You can
put tooot.to/
before any profile URL in the wild and it will let you click
through to your own server more easily. e.g.
https://tooot.to/https://mastodon.social/web/@TodePond or
https://tooot.to/https://hachyderm.io/web/@computerfact@botsin.space
As well, you can share a tooot.to
URL of any profile handle so it's easier for
others coming from other sites. e.g. I'm at https://tooot.to/@colel@hachyderm.io
Features
- Prefix
tooot.to/
Redirections- From handles:
@colel@hachderm.io
- From mispelled handles:
colel@hachderm.io
orhachderm.io@colel
- From your logged in /web/ URLs:
https://hachderm.io/web/@colel
- From handles:
- QR Code generation for easy IRL sharing
- Local HTTP only cookie for preferred instance
- No JavaScript necessary to use
Start the project:
deno task start
This will watch the project directory and restart as necessary.
- Look into the
REDIRECTORS
in _404.tsx route
- Look into the
setPrefCookie
in shared/setPrefCookie.tsx, or - Look into the
getToootCookies
in shared/getToootCookies.tsx
- Look into the
generate_qr_code
in the Rust lib
TODO:
- Make QR codes not blurry (should be pixel aligned)
- Move
tooot.to/@toLabel
text to QR Code from handoff.tsx