Giter Site home page Giter Site logo

fmcat-redundant-generator's Introduction

多此一举生成器

这个工具仅需输入文字便可生成 pc 端微信聊天截图 因为使用了 Node Canvas 的缘故,需要使用者自己部署本地项目,本工作流仅提供快捷调用,实际功能由本地 Node.js 项目提供。

使用方法

  1. clone 本仓库到本地
  2. 安装依赖,运行 npm run test-dark 测试是否能生成图片(安装依赖卡住的请访问: https://www.npmjs.com/package/canvas
  3. 双击 workflow/redundant.alfredworkflow 文件导入 Alfred 工作流
  4. Mac OS 12 以上支持 快捷指令可以使用已经配置好的 https://www.icloud.com/shortcuts/fc33c36262454fff82334232c64d6fbe

变量

headUrl: 聊天截图的头像路径,需要网络地址

nodePath: 指定 Node.js 的路径,如果没有路径会自动引入 .zshrc 尝试寻找 node 命令,如果无法满足请大佬自行修改。

projectPath: Node.js 项目路径,需要系统绝对路径

fmcat-redundant-generator's People

Contributors

ronglecat avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

ouhuang

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.