A very performant and light (2mb in memory) link shortener and tracker. Written in Rust and React and uses Postgres/SQLite.

update footer and allow 32 char shortcode

Changed files
+2 -3
frontend
src
components
src
-1
docker-compose.yml
···
-
version: '3.8'
services:
db:
image: postgres:15-alpine
+1 -1
frontend/src/components/Footer.tsx
···
</Button>
<Button variant="ghost" size="icon">
-
<a href="https://l.nekomimi.pet/twitter?source=shortener" target="_blank" rel="noopener noreferrer">
+
<a href="https://l.nekomimi.pet/bsky?source=shortener" target="_blank" rel="noopener noreferrer">
<SiBluesky className="h-4 w-4" />
</a>
<span className="sr-only">Twitter</span>
+1 -1
src/handlers.rs
···
use uuid::Uuid;
let uuid = Uuid::new_v4();
-
encode(uuid.as_u128() as u64).chars().take(8).collect()
+
encode(uuid.as_u128() as u64).chars().take(32).collect()
}
pub async fn register(