c0bra/deviceframe
소개
:iphone: 모바일, 웹 또는 프로그레시브 앱 스크린샷에 디바이스 프레임을 추가합니다.
생산성 및 자동화측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- +1
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
Put device frames around your mobile/web/progressive app screenshots.
Get it
npm install -g deviceframe
Use it
Pass in filenames, file globs, websites urls, or image urls. In any combination or order.
$ 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"
Mobile Apps
Coming Soon
Hybrid Apps
Make a screenshot of an Ionic app locally:
$ ionic serve
In another terminal:
$ dframe --delay 5 http://localhost:8100
Websites
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:
Devices
Currently 52 unique devices. Run dframe --devices to get a list
- 166 phone + color combinations (Apple, Google, Samsung, HTC, Motorola)
- 6 tablets (iPad, Surface, Nexus 9)
- 9 computers (Apple, Dell, Microsoft)
- 5 monitors
- 4 watches (Apple Watch 1+2, Moto 360, Sony SmartWatch 3) either open or closed.
Notes
- deviceframe caches frame images in a cache directory using env-paths
- Pixel ratio information comes from https://mydevice.io/devices/
- iPhone X renders the image below the notch.
Attributions
Logo icon created by Vallone Design from the Noun Project
관련 프로젝트 살펴보기
불러오는 중…