Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
deviceframe
Advanced tools
Put device frames around your mobile/web/progressive app screenshots.
npm install -g deviceframe
$ dframe cat.jpg
$ dframe http://github.com
$ dframe http://github.com dog.png https://i.imgur.com/aw2bc01.jpg *.bmp
deviceframe will prompt you for the frames you want to use. You can select multiple frames and search by typing. Once you have selected all the frames you want to use, hit ESC.
The frames will be downloaded from a CDN and cached locally in case you want to re-use them.
If you want to use it non-interactively you can pass frames in with the --frame flag
:
$ dframe cat.jpg --frame "iphone 6"
$ dframe cat.jpg --frame "iphone 7 silver" --frame "iphone 5 blue"
You can also use one flag and separate the devices by commas:
$ dframe cat.jpg --frame "iphone 6s, macbook air"
Coming Soon
Make a screenshot of an Ionic app locally:
$ ionic serve
In another terminal:
$ dframe --delay 5 http://localhost:8100
For website URLs, deviceframe will load the page with the aspect ratio and pixel density of selected device(s).
Here's Product Hunt's website on a Macbook Air, iPad, and iPhone:
Currently 52 unique devices. Run dframe --devices
to get a list
Logo icon created by Vallone Design from the Noun Project
FAQs
Frame app screenshots inside a device
We found that deviceframe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.