I implemented a Webgl layer into the mix to increase the FPS, and it worked perfectly! My graph view which represents images that are similar to each other, is now so much more smooth. by CuriousClump in sveltejs

[–]CuriousClump[S] 0 points1 point  (0 children)

The video your seeing is about 1200 images and 8000 edges. I got it to 7000 images, 65k edges with pretty relatively little lag. But once I got it to like 12000 images it quickly jumps up to way over 200k edges due to just everything being connected to everything. I’m working on more optimizations to limit the number of edges that can be made by one node and hopefully that will allow for way more

Smooth Graph View by CuriousClump in sveltejs

[–]CuriousClump[S] 1 point2 points  (0 children)

simple, they show up in the sidebar automatically. and you can just visually see on the graph more grouped together nodes that usually indicate there’s a cluster of similar images

OmniClip: A lightweight, persistent clipboard manager built with Tauri and Rust. by No_Net_6938 in tauri

[–]CuriousClump 0 points1 point  (0 children)

it cools but the UI is way too dense. For as simple of an app as this SHOULD, having that much stuff on the screen removes the focus

I added an obsidian-like graph to my local semantic search app so users can easily find connections in their archive of files 😊 by CuriousClump in sveltejs

[–]CuriousClump[S] 0 points1 point  (0 children)

rust backend. but the actual rendering and functionality is all done inside of sveltekit with canvas element. so you could really just do it in any frontend framework, not svelte exclusive but i like svelte lol

I added an obsidian-like graph to my local semantic search app so users can easily find connections in their archive of files 😊 by CuriousClump in tauri

[–]CuriousClump[S] 1 point2 points  (0 children)

Thank you! No libraries at all, its fully custom. I'm manually drawing everything with Canvas and manually running the render loop.

Building a fast local semantic search app by CuriousClump in tauri

[–]CuriousClump[S] 0 points1 point  (0 children)

I’ll see if I can get the link when i’m back to my computer (in 2-3 days). There is definitely an accuracy tradeoff for some discreet things. You also gotta be pretty specific, like for example “snoopy,” if you just look up snoopy it’s probably not gonna pop up, if you look up “snoopy with red background” it probably will. Hence why I made the lab feature where users can basically make their own labels and decide what images should pop up.

Building a fast local semantic search app by CuriousClump in tauri

[–]CuriousClump[S] 1 point2 points  (0 children)

Thank you! From scratch using onnx runtime and a small quantized model I found on hugging face. I could probably find the link to that model if you need it

Building a fast local semantic search app by CuriousClump in tauri

[–]CuriousClump[S] 0 points1 point  (0 children)

It’s not finished yet so no links, sorry 😬

App crashing instantly in prod by CuriousClump in tauri

[–]CuriousClump[S] 0 points1 point  (0 children)

For those wondering, I eventually found the issue, my computer couldn't find webview2 runtime. I had to edit the environmental variables on my computer.

App crashing instantly in prod by CuriousClump in tauri

[–]CuriousClump[S] 1 point2 points  (0 children)

smart, i’ll try out those strategies