HackerTrans
TopNewTrendsCommentsPastAskShowJobs

anduc

no profile record

Submissions

[untitled]

1 points·by anduc·2 anni fa·0 comments

Show HN: Open-source image converter runs in browser, powered by LibVips WASM

github.com
2 points·by anduc·2 anni fa·0 comments

Show HN: Open-source image converter runs in browser, powered by LibVips WASM

bannerify.co
1 points·by anduc·2 anni fa·0 comments

Show HN: Open-source dynamic og-image to your blog / website

ogcool.vercel.app
3 points·by anduc·2 anni fa·1 comments

Show HN: Remove-bg – open-source remove background using WebGPU

bannerify.co
286 points·by anduc·2 anni fa·121 comments

Show HN: I made og image generator and embeddable dynamic for website using SDK

ogcool.vercel.app
1 points·by anduc·2 anni fa·0 comments

comments

anduc
·anno scorso·discuss
[dead]
anduc
·2 anni fa·discuss
wow, I didn't know this was possible
anduc
·2 anni fa·discuss
Hi guys, thanks for your interest in my little project, I'm glad you all like it.

I just spend my free time to make it much better based on your feedback

- Mobile support, tested on my iPhone

- GitHub README added

- Added medium zoom for easier viewing on Mobile

- The error banner makes it more friendly and easy troubleshooting

- Troubleshooting section in README

If you have any idea to make the UX better, please let me know, I'll appreciate it
anduc
·2 anni fa·discuss
Several GBs of RAM definitely too much, I'm not aware that this consumes that much memory. I will spend more time trying to figure out how much memory is minimum necessary for this and will warn in the page.
anduc
·2 anni fa·discuss
Can you provide more additional information for me? If you're using Linux and Chrome you probably need to pass GPU flag `--enable-unsafe-webgpu --enable-features=Vulkan`
anduc
·2 anni fa·discuss
Sorry for the inconvenience, I've tested with Arc and can confirm this error, I didn't know why this happens. I will check further to determine the reason and report it to the upstream library (I think it's because the engine or Arc itself)
anduc
·2 anni fa·discuss
Someone mentioned > Looks like WEBGPU is only on nightly for FF, for now
anduc
·2 anni fa·discuss
Hey there, sorry for the issue, does it show status "Error"? if so can you try to enable WebGPU using this flag "--enable-unsafe-webgpu --enable-features=Vulkan", if not it doesn't seems like a common error and I will spend more time on testing later

Feel free to raise an issue on Github to keep track progress, it helps open source a lot, or you can DM on x.com/duc__an anytime
anduc
·2 anni fa·discuss
can you raise this issue on Github? I will take a look into this later since it's not common error. I think it's because some settings on the browser

I've heard someone reported that Arc had a similar error
anduc
·2 anni fa·discuss
Thank you, looking forward to this, if you have any feedback please let me know via x.com/duc__an
anduc
·2 anni fa·discuss
Ah, I didn't realize that there is any product with a similar name, and in case I already know, I think I'll still pick this name since it's only an experimental open source project with WebGPU. Remove-bg is quite common IMO, but definitely will affect SEO if I want to do more for the project, but I have no plan yet
anduc
·2 anni fa·discuss
Hi there, it's because I copied the project template from my previous project, will check and try to upgrade to the React 19 soon if it'll work with the libraries
anduc
·2 anni fa·discuss
First time I see this, by the first impression I think the output quality of this one is better than mine and my code is only based on one model

In my understanding, It'll possible if the model's author build to https://onnxruntime.ai ONNX Runtime. And maybe the downside is user will need to download ton of data to their device, currently it's ~100-200mb
anduc
·2 anni fa·discuss
Sorry for my late I missed the comment

Yeah I think it's because the quanlity of the model, hopefully we will have better quanlity in near future. I will see if anything I can do with the settings
anduc
·2 anni fa·discuss
It's nice to see it here, imagine it works like your repo but runs entirely in the user's browser, very cool, doesn't need any complicated setup
anduc
·2 anni fa·discuss
Same here, this is the first time working with this library to me, it's really making me believe even more in the future of Transformer.js/WebGPU, it just beginning
anduc
·2 anni fa·discuss
Haha, I didn't notice this! Yeah, only Vite will reduce the dependencies a lot, but I'm not sure which one is the biggest here to talk about

Will try to the deps simpler later, after all this is about a little time of work
anduc
·2 anni fa·discuss
Maybe it's because of how I detect the GPU and switch to another backend (to support devices that don't support WebGPU).

Can you try to go https://pmndrs.github.io/detect-gpu/ and pass the result here
anduc
·2 anni fa·discuss
Exactly this, as mentioned in the post I've used the same technology with this playground (copied lots of code from here) What I do is mostly make the UX better

PS: WebGPU is the future
anduc
·2 anni fa·discuss
I tried it on my Chrome-Mac device, but not sure how it works on other devices (assuming it works). I'll test it out later. Sorry for the inconvenience