amilner42 / code-tidbit

Share Programming Knowledge Better
GNU General Public License v3.0
9 stars 1 forks source link

Short Links #207

Open amilner42 opened 7 years ago

amilner42 commented 7 years ago

Upon Tidbit creation, we can have another collection which points numbers -> the full tidbits and does the redirect.

So you'd link: #/s/1 or if we didn't want to use numbers (parallelism problems? We can probably do a write-lock with an atomic-update to INC) then we could do #/s/ABZ1W, some amount of letters that gives us enough possibilities. 4 chars give us support for 1.7 million tutorials, 5 chars for 60 million.