duch94 / screenshot-maker Goto Github PK
View Code? Open in Web Editor NEWService for making screenshots of some parts of a specific page
Service for making screenshots of some parts of a specific page
What:
Move saving and loading images to separate class/module
Why:
If this logic will be described in separate entity, it will be easier to read code and will help to avoid code duplication.
How:
Probably, this entity will have two functions:
What:
Add full information about how to use this instrument to README.MD.
Why:
Users cannot try this instrument without reading the code - this is too complicated.
How:
Should be described:
What:
Remove poetry from Dockerfile.
Why:
Docker image should be as tiny as possible
How:
Using Poetry we can build wheel or sdist and install it into image.
Why:
Chrome don't want to start when user is root. It wants --no-sandbox
parameter.
What:
Need to make chrome start correctly.
How:
Run it with --no-sandbox
OR
Change user in container from root
to someone else.
It was discovered that there are some hard coded values, like path to folder where images shall be saved to or path to the directory for logs.
These hardcoded values prevents project from being used by a broader community.
Make the application configurable.
There are no hardcoded values in the code base of the project.
What:
Implement saving more than one screenshot - for each “make_screenshot” action.
Why:
Because rewriting screenshot on each action is incorrect and inefficient behavior.
How:
If there is more than one action of making screenshot, app should save it like img_id.png, img_id_1.png, img_id_2.png... img_id_N.png. Also, downloading of screenshots should return all of them.
To deploy easily we need dockerfile with fully configured service
Need to write dockerfile and edit compose, if needed
For more info while debugging
Write logger factory so each module could generate its own logger
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.