tangled
alpha
login
or
join now
nekomimi.pet
/
simplelink
A very performant and light (2mb in memory) link shortener and tracker. Written in Rust and React and uses Postgres/SQLite.
0
fork
atom
overview
issues
pulls
pipelines
update footer and allow 32 char shortcode
nekomimi.pet
11 months ago
5e83c121
6ebaba50
options
unified
split
Changed files
+2
-3
docker-compose.yml
frontend
src
components
Footer.tsx
src
handlers.rs
-1
docker-compose.yml
···
1
1
-
version: '3.8'
2
1
services:
3
2
db:
4
3
image: postgres:15-alpine
+1
-1
frontend/src/components/Footer.tsx
···
36
36
</Button>
37
37
38
38
<Button variant="ghost" size="icon">
39
39
-
<a href="https://l.nekomimi.pet/twitter?source=shortener" target="_blank" rel="noopener noreferrer">
39
39
+
<a href="https://l.nekomimi.pet/bsky?source=shortener" target="_blank" rel="noopener noreferrer">
40
40
<SiBluesky className="h-4 w-4" />
41
41
</a>
42
42
<span className="sr-only">Twitter</span>
+1
-1
src/handlers.rs
···
182
182
use uuid::Uuid;
183
183
184
184
let uuid = Uuid::new_v4();
185
185
-
encode(uuid.as_u128() as u64).chars().take(8).collect()
185
185
+
encode(uuid.as_u128() as u64).chars().take(32).collect()
186
186
}
187
187
188
188
pub async fn register(