Compare commits

..

No commits in common. "64ecc58dcc1cbbe241b9fd5327935a976fe72d96" and "0f9fca5a3ff1f4314be2e14b958d79757045464b" have entirely different histories.

8 changed files with 434 additions and 519 deletions

View file

@ -9,4 +9,6 @@ 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"] }

913
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.8", features = ["ssr"] } leptos = { version = "0.7.0", features = ["ssr"] }
jiff = "0.2" jiff = "0.1"
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,18 +1,4 @@
[ [
{
"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": 1748047550, "lastModified": 1732407143,
"narHash": "sha256-t0qLLqb4C1rdtiY8IFRH5KIapTY/n3Lqt57AmxEv9mk=", "narHash": "sha256-qJOGDT6PACoX+GbNH2PPx2ievlmtT1NVeTB80EkRLys=",
"owner": "ipetkov", "owner": "ipetkov",
"repo": "crane", "repo": "crane",
"rev": "b718a78696060df6280196a6f992d04c87a16aef", "rev": "f2b4b472983817021d9ffb60838b2b36b9376b20",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -35,11 +35,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1748792178, "lastModified": 1732238832,
"narHash": "sha256-BHmgfHlCJVNisJShVaEmfDIr/Ip58i/4oFGlD1iK6lk=", "narHash": "sha256-sQxuJm8rHY20xq6Ah+GwIUkF95tWjGRd1X8xF+Pkk38=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5929de975bcf4c7c8d8b5ca65c8cd9ef9e44523e", "rev": "8edf06bea5bcbee082df1b7369ff973b91618b8d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -64,11 +64,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1748832016, "lastModified": 1732328983,
"narHash": "sha256-TQSaFa1wWJr6GOs+K8lecK4AKKr8k6mwxHIPCOmVkgs=", "narHash": "sha256-RHt12f/slrzDpSL7SSkydh8wUE4Nr4r23HlpWywed9E=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "7ec2ea005b600dac9436a7c5c6b66d960cbfcea2", "rev": "ed8aa5b64f7d36d9338eb1d0a3bb60cf52069a72",
"type": "github" "type": "github"
}, },
"original": { "original": {

Binary file not shown.

Before

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 -- ../../public/wallpapers > ../plcom/wallpapers.json` to generate wallpaper metadata 2. inside `crates/gen-wallpapers`, run `cargo run --example cli -- ./public/wallpapers > ./crates/plcom/wallpapers.json` to generate wallpaper metadata
## icons ## icons