snapify
snapify copied to clipboard
Screenshot as a Service using headless browser
Snapify
A RESTful API service to take screenshot of any webpage.
Dependencies
- Go
- Docker (needed to be installed on your machine)
- Postgresql
- Minio (S3 compatible storage)
- Redis (Queue)
- Rod (Headless Browser library for golang)
Run application
make docker-up
Note: schema will be populated automatically.
Cleanup
make docker-down
Database schema
id UUID primary_key not_null
status string not_null
url string not null
stored_path string
created_at datetime index
Docs
After running docker compose,
Visit: http://localhost:9010/docs
Used Libraries
- Fiber Framework
- Ent
- Test Container
- Testify
- Viper
- Logrus
- Rod
Support
License
MIT