Skip to content

nkn18/Web-Screenshot-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web-Screenshot-Plugin

A Web Screenshot plugin for OpenAgents.

Introduction

This Web Screenshot Plugin utilize Restpack Screenshot API that can capture screenshots of live web pages and deliver the results in JSON Format.

API Documentation.

Build

Include the library with Go get:

go get github.com/extism/go-pdk

You can find the reference documentation for this library on pkg.go.dev.

Usage

Run the plugin using this command :

extism call plugin.wasm run --wasi --allow-host="restpack.io" --input="WEB_URL"

Note : "WEB_URL" - The URL of web page, including the protocol that you want to capture.

Usage Example & Screenshot Result

Screenshot 2024-05-15 062520 Screenshot 2024-05-15 062559 Screenshot 2024-05-15 062614

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages