Compare commits

..

6 commits

Author SHA1 Message Date
64ecc58dcc cargo update 2025-06-02 20:02:11 +02:00
ec56f4d5a0 leptos 0.8 2025-06-02 19:58:55 +02:00
2eed718c79 jiff v0.2 2025-06-02 19:55:35 +02:00
b4a9567235 nix flake update 2025-06-02 19:52:32 +02:00
3f478f5353 gen-wallpapers: "cli" example is just a binary 2025-06-02 19:50:59 +02:00
627f52f16d 1 new wallpaper 2025-06-02 19:48:20 +02:00
8 changed files with 522 additions and 437 deletions

View file

@ -9,6 +9,4 @@ reqwest = { version = "0.11.22", features = ["blocking", "json"] }
serde = { version = "1.0.197", features = ["derive"] } serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.108" serde_json = "1.0.108"
dms-coordinates = "1.3.0" dms-coordinates = "1.3.0"
[dev-dependencies]
clap = { version = "4.5.4", features = ["derive"] } clap = { version = "4.5.4", features = ["derive"] }

919
crates/plcom/Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -5,8 +5,8 @@ edition = "2021"
[dependencies] [dependencies]
rocket = "0.5" rocket = "0.5"
leptos = { version = "0.7.0", features = ["ssr"] } leptos = { version = "0.8", features = ["ssr"] }
jiff = "0.1" jiff = "0.2"
rocket_async_compression = "0.6" rocket_async_compression = "0.6"
nanorand = { version = "0.7", features = ["chacha"] } nanorand = { version = "0.7", features = ["chacha"] }
tailwind_fuse = { version = "0.3", features = ["variant"] } tailwind_fuse = { version = "0.3", features = ["variant"] }

View file

@ -1,4 +1,18 @@
[ [
{
"filename": "IMG_4467.jpeg",
"date": "2025-05-18",
"width": 4032,
"height": 3024,
"gps": {
"latitude": 51.51306,
"longitude": -0.09605555
},
"location": {
"precise": "City of London",
"broad": "Greater London, England, United Kingdom"
}
},
{ {
"filename": "IMG_2287.jpeg", "filename": "IMG_2287.jpeg",
"date": "2021-09-11", "date": "2021-09-11",

18
flake.lock generated
View file

@ -2,11 +2,11 @@
"nodes": { "nodes": {
"crane": { "crane": {
"locked": { "locked": {
"lastModified": 1732407143, "lastModified": 1748047550,
"narHash": "sha256-qJOGDT6PACoX+GbNH2PPx2ievlmtT1NVeTB80EkRLys=", "narHash": "sha256-t0qLLqb4C1rdtiY8IFRH5KIapTY/n3Lqt57AmxEv9mk=",
"owner": "ipetkov", "owner": "ipetkov",
"repo": "crane", "repo": "crane",
"rev": "f2b4b472983817021d9ffb60838b2b36b9376b20", "rev": "b718a78696060df6280196a6f992d04c87a16aef",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -35,11 +35,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1732238832, "lastModified": 1748792178,
"narHash": "sha256-sQxuJm8rHY20xq6Ah+GwIUkF95tWjGRd1X8xF+Pkk38=", "narHash": "sha256-BHmgfHlCJVNisJShVaEmfDIr/Ip58i/4oFGlD1iK6lk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8edf06bea5bcbee082df1b7369ff973b91618b8d", "rev": "5929de975bcf4c7c8d8b5ca65c8cd9ef9e44523e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -64,11 +64,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1732328983, "lastModified": 1748832016,
"narHash": "sha256-RHt12f/slrzDpSL7SSkydh8wUE4Nr4r23HlpWywed9E=", "narHash": "sha256-TQSaFa1wWJr6GOs+K8lecK4AKKr8k6mwxHIPCOmVkgs=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "ed8aa5b64f7d36d9338eb1d0a3bb60cf52069a72", "rev": "7ec2ea005b600dac9436a7c5c6b66d960cbfcea2",
"type": "github" "type": "github"
}, },
"original": { "original": {

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 MiB

View file

@ -16,7 +16,7 @@ http://philippeloctaux.com
## wallpapers ## wallpapers
1. place **JPEG** files in `public/wallpapers` and make sure they have exif data (GPS + date) 1. place **JPEG** files in `public/wallpapers` and make sure they have exif data (GPS + date)
2. inside `crates/gen-wallpapers`, run `cargo run --example cli -- ./public/wallpapers > ./crates/plcom/wallpapers.json` to generate wallpaper metadata 2. inside `crates/gen-wallpapers`, run `cargo run -- ../../public/wallpapers > ../plcom/wallpapers.json` to generate wallpaper metadata
## icons ## icons