You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
deam cbfc9dd077 Add delay option 2 years ago
api Add delay option 2 years ago
frontend Add delay option 2 years ago
.gitignore Move to Next.js 3 years ago
LICENSE Initial project setup 3 years ago
README.md Update README 3 years ago
dev.ts Convert project to Typescript 3 years ago
now.json Updated to latest Now workflow 3 years ago
package.json Move to Next.js 3 years ago
tsconfig.json Fix api dev workflow 2 years ago

README.md

Webshot

Screenshot websites as a service.

The images are getting cached for 1 minute and only the first load takes some time to process.

How to Use

Simply add the link of the website you want to screenshot to the end of https://webshot.deam.io/.

Example, to grab a screenshot of https://www.google.com/ use: https://webshot.deam.io/https://www.google.com/

Other examples

https://webshot.deam.io/ + https://www.google.com/
https://webshot.deam.io/ + zeit.co/blog/ + ?type=png
https://webshot.deam.io/ + zeit.co/about/ + ?fullPage=true
https://webshot.deam.io/ + stripe.com/ + ?fullPage=true
https://webshot.deam.io/ + ceriously.com/ + ?type=jpeg&quality=75&fullPage=true
https://webshot.deam.io/ + https://hacktoberfest.digitalocean.com/ + ?height=1000&width=1000

Use cases

  • You could use this as a preview image for your website in og:image or twitter:image (tutorial here)
  • Grab a screenshot of a bug in production, send the link instead of an image
  • Constantly updated site showcasing for your portfolio
  • Hotlink images directly to blog posts

Workflow

Development

  • First install all dependencies. npm i
  • You can then run npm run api to play around with the API itself.
  • If you want to preview the landing page, you can go to frontend folder and npm i.
  • Lastly you can run npm run dev.

Production

  • Go to frontend folder, install dependencies and then run npm run build.
  • Rename the out folder to public and then move it into the root directory.
  • Create an account at https://zeit.co/signup and then run npx now login.
  • Finally you can run the npx now command in terminal and it will begin to deploy.

Used in

Credits