1.0.8 • Published 2 years ago

sanity-plugin-asset-source-screenshotone v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

sanity-plugin-asset-source-screenshotone

Sanity Plugin to generate Screenshots from URL.

Installation

sanity install asset-source-screenshotone

Configuration

This plugin is based on this awesome tool called Screenshot One. Create a free account to get started. Then go to the "Access" tab and copy your Access Key. Then add your access key to <your-studio-folder>/config/asset-source-screenshotone.json:

{
  "AccessKey": "<YOUR_ACCESS_KEY_HERE>"
}

Done

That's it. Now whenever you add an image field, you can see "Screenshot from URL" link from the dropdown. Then you can generate and insert the screenshot with the settings available.

Local Development

This plugin is powered by https://github.com/rexxars/sanipack. Follow the steps to develop locally.

cd sanity-plugin-asset-source-screenshotone
npm link
yarn build

# Link the plugin to your Sanity studio and start it
cd /path/to/my-studio
npm link sanity-plugin-asset-source-screenshotone
sanity install asset-source-screenshotone
sanity start

# In another terminal, start a watch task for your plugin
cd /path/to/sanity-plugin-spotify
npm run watch

License

MIT © Surjith S M See LICENSE

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago