Anywhere Door hops
Every short code opens straight onto its long URL — one click, no maze. Deep links resolve locally and count a bell-ring on arrival.
Fresh from the 4D pocket · gadget-powered links
Step through with any long URL and come out the other side with a short one — Snowflake IDs, Base62 codes, Memory-Bread dedup and Time-Furoshiki expiry. Dorayaki optional, delight guaranteed.
https://example.com/a/very/long/path/you-do-not-want-to-sharedora.ly/7chars
Snowflake IDs · Base62 · Furoshiki TTL · Pocket guard — shareable anywhere
Gadget shelf — the lineup
Every short code opens straight onto its long URL — one click, no maze. Deep links resolve locally and count a bell-ring on arrival.
Feed the lab a URL it has already memorized and it recalls the same code instead of minting a twin. One URL, one name — like it studied overnight.
Wrap a link in a TTL and it ages exactly on schedule. Record and cache share the same lifetime, so nothing lingers past its time.
A 1M-entry Bloom filter fronts the store: unknown codes are turned away at the pocket mouth, and every claimed hit is verified inside.
Inside the pocket — the method
Sewn by the Time Furoshiki
(ts − epoch) << 22 | worker << 12 | seq
A 64-bit, time-ordered identity. Worker IDs are range-checked 0–1023, the clock is guarded against moving backwards, and 16k concurrent IDs stay unique.
Folded pocket-size
encode(id) → [0-9A-Za-z]
BigInt-safe encoding — never Number — so large IDs keep their precision. Auto codes take the last 7 characters with retry-on-collision.
Named with Memory Bread
alias ? reserve : generate
Your gadget name is validated and reserved behind a uniqueness check; duplicates raise a conflict instead of silently overwriting.
Filed in the 4D Pocket
record + ttl cache + bloom.put(code)
The record carries createdAt and expiresAt; the cache TTL mirrors it exactly. The Bloom filter learns each code for cheap negative lookups.
Pocket rules — lessons, kept
Every rule below was earned debugging the original Java service. They hang by the Door so the lab never repeats them.
Ten bits means 0–1023. Anything else is turned away at the Door — never silently overflows into the timestamp.
If the clock moves backwards, ID minting stops instead of duplicating. Doraemon respects the timeline.
Careless truncation destroyed uniqueness and could crash. Full codes by default; shortened only with collision retries.
The cache TTL is cut from the same Furoshiki as the record — no stale ghosts lingering after expiry.
Asked at the Door
The finale
Push a long link through, name it like a gadget, and share something as delightful as where it leads.
Ring the bell