Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【工具自荐】为 figma 设计生成可自动更新的图片链接 #3431

Open
airyland opened this issue Sep 1, 2023 · 0 comments
Open
Labels

Comments

@airyland
Copy link

airyland commented Sep 1, 2023

由于日常开发中的 figma 素材同步(导入导出)相对麻烦,因此做了个这个小工具。

feature

使用方式很简单,将 figma 的分享链接域名从 figma.com 改成 figma.pub 即可,支持 jpg 、png 、svg 格式,支持 scale 参数。

主要用于会有变更需求的场景,比如说 opengraph 图片、设计局部预览、网站的 media kit 素材等。

这一版本功能比较简单。后续会支持生成随机字符来隐藏 filename ,支持直接渲染图片避免目前的图 redirect ,支持配置 webhook 来实现图片无延迟更新。

Link

主页: https://figma.pub/
ProductHunt: https://www.producthunt.com/posts/figma-pub

Tip

  • 确保有匿名可读权限(anyone with the link can view)
  • 选中多个元素将其 frame 化再分享就能只生成选中部分的的图片。
  • frame 内再 frame 只会生成父 frame 图片。
  • 如果要文字清晰,可以选择 svg 格式或者配置 scale 参数为更高的值。

Credit

灵感来自已经下线的 figshot 。

figma pub_ (1)
figma pub_ (2)
figma pub_ (5)
figma pub_ (4)

@ruanyf ruanyf added the weekly label Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants