Introducing the Web to PDF OpenAgents Plugin

Hey everyone,
I wanted to introduce the first plugin that I've developed for the OpenAgents platform - the Web to PDF plugin. This plugin utilizes the URLBox API to convert a given website URL into a PDF document.
Here's how it works:
  1. You provide the plugin with the URL of the website you want to convert into a PDF.
  2. The plugin uses the URLBox API to render the website as a PDF document.
  3. The PDF document is then generated and can be accessed through the provided URL.
To use the plugin, simply follow these steps:
  1. Compile the plugin using TinyGo.
  2. Run the plugin using the Extism CLI, providing the URL you want to convert to PDF.
For example, you can run the plugin with the following command:
extism call pdf.wasm run --input "https://urlbox.com/url-to-pdf" --wasi --allow-host "api.urlbox.io"
The plugin will then generate a PDF version of the provided URL, and you will receive the URL to access the PDF document.
PDF URL: https://renders.urlbox.io/urlbox1/renders/664900eb3984217b455b229f/2024/5/18/570be4bc-6dd4-4b33-bfba-4b3d005d215c.pdf
Feel free to give it a try and let us know your feedback or any suggestions for improvement. Happy PDF converting!
this territory is moderated
It works! Beautiful!
Please DM me your bitcoin address @OpenAgentsInc on X or email to chris@openagents.com
reply
Hi Chris, sent you email, please kindly check my email
My email address is ahmedsuryaaaa@gmail.com
reply
Awesome, thank you! Will review shortly
reply
Great work! This plugin is fantastic.
reply