Just wondering if this is possible or if anyone wanted to help me make this.

I want a website like https://bitcoinvanitygen.com/, this website allow's you to make custom bitcoin address's using vanity gen. I want to make a website which use's vanitygen-plus on the user's machine to generate a custom garlicoin address. Is it possible to run the code on the user's machine, or would the processing have to be done on the server side?