Coder Social home page Coder Social logo

webshot's Introduction

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

webshot's People

Contributors

deamme avatar yurimalheiros avatar frederikbolding avatar yeezy avatar pradyumnamahajan avatar codeclude avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.