Yet another simple webshot API but written in dart and built using Shelf library to generate images from url. This is really useful for link previews for blog shares in social media sites.
Follow this link to get started with Dart.
git clone https://www.github.com/EverythingSuckz/webshot-api
cd webshot-api
dart pub get
You can run the webapp with the Dart SDK by executing this in the terminal:
dart run
or to specify a port:
dart bin/webshot_api.dart --port 8080
For generating a standalone executable file:
dart compile exe bin/server.dart -o server.exe
-
- todo
Note: This is my first dart project so, the code might be a bit messy.