tangled
alpha
login
or
join now
nekomimi.pet
/
simplelink
0
fork
atom
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
1 year ago
5e83c121
6ebaba50
+2
-3
3 changed files
expand all
collapse all
unified
split
docker-compose.yml
frontend
src
components
Footer.tsx
src
handlers.rs
-1
docker-compose.yml
···
1
-
version: '3.8'
2
services:
3
db:
4
image: postgres:15-alpine
···
0
1
services:
2
db:
3
image: postgres:15-alpine
+1
-1
frontend/src/components/Footer.tsx
···
36
</Button>
37
38
<Button variant="ghost" size="icon">
39
-
<a href="https://l.nekomimi.pet/twitter?source=shortener" target="_blank" rel="noopener noreferrer">
40
<SiBluesky className="h-4 w-4" />
41
</a>
42
<span className="sr-only">Twitter</span>
···
36
</Button>
37
38
<Button variant="ghost" size="icon">
39
+
<a href="https://l.nekomimi.pet/bsky?source=shortener" target="_blank" rel="noopener noreferrer">
40
<SiBluesky className="h-4 w-4" />
41
</a>
42
<span className="sr-only">Twitter</span>
+1
-1
src/handlers.rs
···
182
use uuid::Uuid;
183
184
let uuid = Uuid::new_v4();
185
-
encode(uuid.as_u128() as u64).chars().take(8).collect()
186
}
187
188
pub async fn register(
···
182
use uuid::Uuid;
183
184
let uuid = Uuid::new_v4();
185
+
encode(uuid.as_u128() as u64).chars().take(32).collect()
186
}
187
188
pub async fn register(