Is there a way to create .zpt files outside of ZapWorks Studio?

I’ve utilized Universal AR to create some dynamic business cards for my clients, they have the ability to update the content but when they do I need to generate a new .zpt file for them. Is there an API or way to automate the creation of the .zpt file outside of ZapWorks Studio?

Haven’t used it myself, but the command line interface (CLI) tool should let you do it:

https://docs.zap.works/universal-ar/zapworks-cli/

Ripe for automating with a script if needs be

Hi @Michael!

Yes, @howiemnet is correct - we have the awesome ZapWorks CLI tool which allows you to perform a variety of functionalities, such as train images, serve project content and even publish projects to my.zap.works.

You can also initialise web-based Universal AR SDK projects from within the CLI with the zapworks init command! :tada:

We created a Prerequisites video guide which includes a brief about the CLI - if you head to around 1 minute and 10 seconds, you should be able to click on the video chapter and go straight there to see it in use.

Have a great day!
Francesca :blush:

Thanks! I’ll dig into this.

1 Like