[{"data":1,"prerenderedAt":424,"buildId":425},["ShallowReactive",2],{"post:\u002Fposts\u002F2026-12-archypix-story":3,"posts:list":390},{"id":4,"title":5,"body":6,"cover":343,"date":375,"description":12,"entries":376,"extension":378,"lang":379,"meta":380,"navigation":381,"path":382,"seo":383,"stem":384,"summary":385,"type":386,"visibility":387,"written":388,"__hash__":389},"posts\u002Fposts\u002F2026-12-archypix-story\u002Findex.md","Four years, three rebuilds: how Archypix is finally reaching v1.0",{"type":7,"value":8,"toc":365},"minimark",[9,13,18,21,58,61,77,80,83,87,98,119,122,147,150,159,174,181,185,200,219,222,230,250,254,267,276,279,302,309,313,322,330,338,345,348,351],[10,11,12],"p",{},"I always had this frustration when managing my pictures on Android. Google Photos felt too restrictive: I wanted to view my pictures on my PC, neatly sorted into directories. But copying files over USB was not enough for me: I wanted a tool to organize them automatically, rename them properly, fix their EXIF data and interpolate GPS for pictures without location information.",[14,15,17],"h2",{"id":16},"_1-december-2022-picturesmanager","1. December 2022: PicturesManager",[10,19,20],{},"I started designing a desktop app that would let me define automatic grouping rules to organize pictures on the disk based on EXIF attributes.",[10,22,23,24,29,30,39,40,45,46,51,52,57],{},"This was in 2022, when I had just joined my school, ",[25,26,28],"a",{"href":27},"\u002Fexperience\u002Finsa-prep","INSA Lyon",". I discovered Rust that year, and ",[25,31,35],{"href":32,"rel":33},"https:\u002F\u002Fgithub.com\u002FClementGre\u002FPicturesManager",[34],"nofollow",[36,37,38],"strong",{},"PicturesManager"," became my first Rust project, aiming to fix my picture issues with an ambitious stack built with ",[25,41,44],{"href":42,"rel":43},"https:\u002F\u002Ftauri.app\u002F",[34],"Tauri",": a Rust backend coupled with a Rust ",[25,47,50],{"href":48,"rel":49},"https:\u002F\u002Fwebassembly.org\u002F",[34],"WebAssembly"," frontend written in ",[25,53,56],{"href":54,"rel":55},"https:\u002F\u002Fyew.rs\u002F",[34],"Yew",".",[10,59,60],{},"My mistake here was to focus on the quality of the code and on the UI rather than on the core features. I remember working on the menu bar to get nice mouse and keyboard navigation. It took me more than a month to code it in Yew, and it was beautiful. But the app was not a menu bar, it was a picture manager.",[62,63,64],"gallery",{},[10,65,66,72],{},[67,68],"img",{"alt":69,"src":70,"title":71},"PicturesManager grid view",".\u002Fpicturesmanager.png","The PicturesManager grid view",[67,73],{"alt":74,"src":75,"title":76},"PicturesManager carousel view",".\u002Fpicturesmanager-carousel.png","The PicturesManager carousel view",[10,78,79],{},"I stopped soon enough, in early 2023, and this app became one of those projects you start and never finish. It felt more like a fun way to discover Rust than like building a final product. But what I wanted was to build my idea, and it kept running in my head for a full year.",[10,81,82],{},"Nonetheless, the UX elements I built in PicturesManager live on: the latest version of Archypix reuses its custom adaptive grid view, which lets pictures keep their aspect ratio while covering all the available space, something that took me hours to build in 2023.",[14,84,86],{"id":85},"_2-march-2024-pmcloud","2. March 2024: PMCloud",[10,88,89,90,97],{},"In March 2024, I came back with a new approach to my core problem, and it was a whole new step compared to my original desktop app: I was making a web app. To mark the transition, I called it ",[25,91,94],{"href":92,"rel":93},"https:\u002F\u002Fgithub.com\u002FClementGre\u002FPMCloud",[34],[36,95,96],{},"PMCloud",", for PicturesManager Cloud.",[10,99,100,101,106,107,112,113,118],{},"Repelled by the complexity of Yew, I decided to go back to a simpler ",[25,102,105],{"href":103,"rel":104},"https:\u002F\u002Fvuejs.org\u002F",[34],"Vue.js"," frontend. I kept Rust for the backend, with a ",[25,108,111],{"href":109,"rel":110},"https:\u002F\u002Frocket.rs\u002F",[34],"Rocket"," API and the ",[25,114,117],{"href":115,"rel":116},"https:\u002F\u002Fdiesel.rs\u002F",[34],"Diesel"," ORM.",[10,120,121],{},"Moving to the web meant a whole new infrastructure challenge, and also a whole new design. PMCloud organized pictures this way:",[123,124,125,138,141,144],"ul",{},[126,127,128,129,133,134,137],"li",{},"Pictures have tags, and tags belong to a tag group. A tag group can be ",[130,131,132],"code",{},"multiple",", allowing a picture to have several tags from that group, and it can be ",[130,135,136],{},"required",", requiring every picture to have at least one tag from that group.",[126,139,140],{},"Arrangements and groups followed the same mechanism: the user could configure an arrangement strategy, a way to sort pictures into the groups of that arrangement based on the pictures' tags.",[126,142,143],{},"Sharing happened at the group level, and the match-conversion mechanism reversed the strategy of an arrangement to automatically make received pictures match an owned group.",[126,145,146],{},"Hierarchies were a way to project arrangements and groups into a hierarchical view, which could later be synchronized over WebDAV to desktops and Android phones.",[10,148,149],{},"The concept was there, and the database schema was built:",[62,151,152],{},[10,153,154],{},[67,155],{"alt":156,"src":157,"title":158},"The database schema of PMCloud",".\u002Fpmcloud-database.png","The PMCloud database schema: the tag chain, groups, and arrangements with their strategy stored as JSON",[10,160,161,162,167,168,173],{},"But once again, I made the same mistake: focusing on details rather than on the features that would have made PMCloud an MVP. I polished the sign-in flow with email confirmation, ",[25,163,166],{"href":164,"rel":165},"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FTime-based_one-time_password",[34],"TOTP"," 2FA support, neat email templates, a clean landing page, SSR and frontend routing with ",[25,169,172],{"href":170,"rel":171},"https:\u002F\u002Fnuxt.com\u002F",[34],"Nuxt",", but I built none of the actual features. I had a premium authentication framework, and nothing to do with pictures.",[10,175,176],{},[67,177],{"alt":178,"src":179,"title":180},"The sign-in page of PMCloud",".\u002Fpmcloud-signin.png","The PMCloud sign-in page",[14,182,184],{"id":183},"_3-january-2025-archypix-first-generation","3. January 2025: Archypix, first generation",[10,186,187,188,193,194,199],{},"This was more of a rebranding and restructuring of the codebase (",[25,189,192],{"href":190,"rel":191},"https:\u002F\u002Fgithub.com\u002FClementGre\u002Fold-archypix-app-back",[34],"backend"," and ",[25,195,198],{"href":196,"rel":197},"https:\u002F\u002Fgithub.com\u002FClementGre\u002Fold-archypix-app-front",[34],"frontend",") than a whole new project, and that's where I started building real features, creating a working MVP of Archypix. By the end of 2025, tags and arrangements were working perfectly and were fully polished. Hierarchies and sharing were not there yet.",[62,201,202],{},[10,203,204,209,214],{},[67,205],{"alt":206,"src":207,"title":208},"Tags and sidebar in Archypix 1st gen",".\u002Farchypix-1gen-tags-view.png","Filtering by tag, with the sidebar showing tags, EXIF and attributes",[67,210],{"alt":211,"src":212,"title":213},"Tag group config in Archypix 1st gen",".\u002Farchypix-1gen-tags-config.png","Configuring the tags of a tag group",[67,215],{"alt":216,"src":217,"title":218},"Arrangement config in Archypix 1st gen",".\u002Farchypix-1gen-arrangement-config.png","Configuring an arrangement with recursive AND\u002FOR\u002FNOT blocks",[10,220,221],{},"The catch was that the complexity I had escaped by switching to Vue came back to bite me with Diesel. I spent hours fighting with types to build complex filtering SQL queries on the fly. Diesel was just not flexible enough for me.",[10,223,224,225,229],{},"But the bigger deal was realizing that arrangement rules were heavy to process: they had to run on every single picture, and every tag change could cascade through the arrangement strategies of multiple accounts if the picture was shared. I had a strange feeling that this would never scale, and that the project was way too ambitious. I was working very slowly on Archypix: my other projects and my new ",[25,226,228],{"href":227},"\u002Fexperience\u002Fstudent-union","IT Lead position at the Student Union"," left it very little room.",[10,231,232,233,237,238,243,244,249],{},"In the end, all these hours fighting with Rust got me a ",[25,234,236],{"href":235},"\u002Fexperience\u002Finria","Rust development internship on a cluster scheduler"," in 2025, so none of this was for nothing: I learned a lot. But that wasn't enough for me: I wanted to finally migrate my pictures out of ",[25,239,242],{"href":240,"rel":241},"https:\u002F\u002Fnextcloud.com\u002F",[34],"Nextcloud"," and store them in a dedicated app. I tried ",[25,245,248],{"href":246,"rel":247},"https:\u002F\u002Fimmich.app\u002F",[34],"Immich",", but it felt too much like Google Photos, with no room left for organization.",[14,251,253],{"id":252},"_4-january-2026-archypix-from-scratch","4. January 2026: Archypix, from scratch",[10,255,256,257,262,263,266],{},"This time, I redesigned the core features for the second time. I turned ",[25,258,261],{"href":259,"rel":260},"https:\u002F\u002Fgithub.com\u002FClementGre\u002FArchypix",[34],"Archypix"," into a tags-first system and dropped arrangements: strategies no longer sort pictures into groups based on predicates. They became ",[36,264,265],{},"tagging services",", which tag pictures directly based on a recursive predicate, an incoming-share mapping, timeline segmentation, or ML grouping (faces, kind, geotemporal clustering).",[10,268,269,270,275],{},"Sharing now happens at the tag level, ",[25,271,274],{"href":272,"rel":273},"https:\u002F\u002Fgithub.com\u002Flaunchbadge\u002Fsqlx",[34],"SQLx"," replaced Diesel, and React replaced Nuxt.",[10,277,278],{},"But the bigger change is decentralization. I wanted Archypix to scale infinitely, and since it is meant to be self-hosted, I wanted users to be able to share pictures across instances. Killing two birds with one stone, I also allowed federation within a single domain, so a large organization can spread its users over multiple instances seamlessly.",[10,280,281,282,287,288,291,292,297,298,301],{},"My federation protocol is inspired by ",[25,283,286],{"href":284,"rel":285},"https:\u002F\u002Fmatrix.org\u002F",[34],"Matrix","'s. Users are written ",[130,289,290],{},"@username:domain.com",", and a ",[25,293,296],{"href":294,"rel":295},"https:\u002F\u002Fwebfinger.net\u002F",[34],"WebFinger","-like protocol resolves ",[130,299,300],{},"domain.com"," to the Archypix backend that actually handles a given user.",[10,303,304],{},[67,305],{"alt":306,"src":307,"title":308},"Archypix federation: archypix.com runs a resolver in front of two backends, while example.com forwards its resolver path to a single self-hosted backend",".\u002Ffederation.svg","Alice, on archypix.com, shares with Bob, self-hosted on example.com: the app asks the resolver where Alice lives (1) and talks to her backend (2), which asks example.com where Bob lives (3) and shares with his backend (4)",[14,310,312],{"id":311},"_5-june-2026-building-it-with-claude-code","5. June 2026: building it with Claude Code",[10,314,315,316,321],{},"In June 2026, I subscribed to Claude Pro and started building Archypix with ",[25,317,320],{"href":318,"rel":319},"https:\u002F\u002Fclaude.com\u002Fproduct\u002Fclaude-code",[34],"Claude Code",". This is what is finally getting me to v1.0, coming very soon, in December 2026.",[10,323,324,325,329],{},"At first, I worked a lot on the groundwork: the instance configuration framework, the routine framework, the controller\u002Fservice\u002Frepository layers, etc. Even with LLMs, this took time, but within two months I had a production app running on my ",[25,326,328],{"href":327},"\u002Fprojects\u002Fhomelab","homelab",", with all the basic features working and a two-instance federation, just to prove it could be done. That was a success. AI made my dream possible, and it took 120k lines of code.",[10,331,332,333,337],{},"I kept improving Archypix, ",[25,334,336],{"href":335},"\u002Fposts\u002F2026-08-archypix-release","released it publicly"," in August, and I'm now putting the finishing touches on v1.0.",[10,339,340],{},[67,341],{"alt":342,"src":343,"title":344},"The Archypix web app, a few weeks before v1.0",".\u002Farchypix-v1.png","Archypix today, the full-featured web app, a few weeks before v1.0",[10,346,347],{},"Without realizing it, I had switched from developer to architect and product owner. I decided how to lay out my routine framework, and how to handle app configuration in my config system. I was the one choosing to drop the idempotency key on my jobs table, and to make the jobs themselves idempotent instead. And this was my position from the start: I had the ideas and the technical solutions in mind, I was just missing the time for such an enormous project.",[10,349,350],{},"Today, Archypix already supports custom tagging rules, ML grouping (faces, kind, geotemporal clustering), the complete hierarchy mechanism, cross-instance sharing and public share links. It also has EXIF editing tools, including batch edits and quick GPS fixes with interpolation: the very thing I wanted back in 2022.",[10,352,353,354,359,360,364],{},"v1.0 is coming very soon, in December 2026. In the meantime, if you want to try it, check out ",[25,355,358],{"href":356,"rel":357},"https:\u002F\u002Farchypix.com",[34],"archypix.com",", or self-host it from the ",[25,361,363],{"href":259,"rel":362},[34],"GitHub repository","!",{"title":366,"searchDepth":367,"depth":368,"links":369},"",2,3,[370,371,372,373,374],{"id":16,"depth":367,"text":17},{"id":85,"depth":367,"text":86},{"id":183,"depth":367,"text":184},{"id":252,"depth":367,"text":253},{"id":311,"depth":367,"text":312},"2026-12-05",[377],"archypix","md","en",{},true,"\u002Fposts\u002F2026-12-archypix-story",{"title":5,"description":12},"posts\u002F2026-12-archypix-story\u002Findex","Archypix is a piece of software I dreamt about for years. I rebuilt it three times, each time with new ambitions, so high that it took me four years to reach v1.0, coming in December 2026.","retrospective","public",null,"zJV1yAkkum4Xj9xOGsTeYly6_ny0ILBYeLFsvBnlcxg",[391,393,402,410,416],{"path":382,"title":5,"date":375,"written":388,"type":386,"entries":392,"summary":385,"cover":343,"visibility":387},[377],{"path":394,"title":395,"date":396,"written":388,"type":397,"entries":398,"summary":400,"cover":401,"visibility":387},"\u002Fposts\u002F2026-12-kurobar-story","I built KuroBar, my own macOS menu bar","2026-11-26","story",[399],"kurobar","After pushing SketchyBar as far as it could go, I built my own menu bar in Swift, a language I learned along the way.","\u002Fmedia\u002Fposts\u002F2026-11-kurobar-announcement\u002Fkurobar-poster.webp",{"path":403,"title":404,"date":405,"written":388,"type":406,"entries":407,"summary":408,"cover":409,"visibility":387},"\u002Fposts\u002F2026-11-kurobar-announcement","KuroBar: make the notch disappear and get more room in the menu bar","2026-11-04","announcement",[399],"KuroBar replaces the macOS menu bar with one that is black and exactly the notch's height, so the notch blends in. Waitlist open.",".\u002Fkurobar-poster.webp",{"path":335,"title":411,"date":412,"written":388,"type":406,"entries":413,"summary":414,"cover":415,"visibility":387},"Archypix: tag-based self-hosted photo library with rule-based auto-tagging, WebDAV sync, and cross-instance sharing","2026-08-01",[377],"First public release of Archypix, a photo library where everything is organised by tags, synced over WebDAV and shared across instances.",".\u002Farchypix-1.webp",{"path":417,"title":418,"date":419,"written":388,"type":397,"entries":420,"summary":422,"cover":423,"visibility":387},"\u002Fposts\u002F2024-08-bepoleon-tkl","My first mechanical keyboard: TKL custom build with volume knob, USB hub, screens and fingerprint sensor","2024-08-18",[421],"bepoleon-tkl","A Bépo TKL keyboard I designed and built over three months, PCB included, with a volume knob, OLED screens, a USB hub and a fingerprint sensor.",".\u002Fbepoleon-overall.webp",1796494881081,"6f720710-38bc-41d0-85d9-5ded25f4b33c"]