Coder Social home page Coder Social logo

ruedap / alfred-font-awesome-workflow Goto Github PK

View Code? Open in Web Editor NEW
810.0 17.0 31.0 74.03 MB

🎩 Font Awesome workflow for Alfred

License: MIT License

JavaScript 3.41% TypeScript 93.66% HTML 2.93%
fontawesome font-awesome icons webfont font css svg-icons alfred alfred-workflow sketch

alfred-font-awesome-workflow's People

Contributors

dependabot[bot] avatar renovate-bot avatar ruedap avatar spekulatius avatar tankxu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alfred-font-awesome-workflow's Issues

Unicode characters in output.

I was looking through the code, and I like your clever directory index, and I Was wondering if it would be possible to just add the unicode values of each icon to the file names, and parse the information the same way.

icon-glass-f000.png
icon-music-f001.png
etc...

検索結果で一番最後にあるべきアイコンが最初に表示されてしまう不具合

alfred-workflow-for-font-awesome-4-03

このWorkflowでの検索結果のアイコン一覧は、アイコンの名称のアルファベット順にソートされている状態が望ましいのですが、操作の仕方によっては上記のスクリーンショットのように、一番最後にあるべきアイコンが最初に表示されてしまう不具合が起きます。
youtube-squareは一番最後に表示されるべきで、この場合はadjustが一番最初でなければならない

これが起きる条件は、Workflowのキーワードfaまたはfontaを入力する際にEnterキーで確定させずに全部手動で入力した場合です。fontaの場合はキーワードが長いので、例えばfonの3文字まで入力して一覧からこのWorkflowをEnterで選択して、その上でアイコンを検索するワードを入力した場合はこの不具合は起きません。

この不具合は最初のリリースからある不具合なんですが、今回新しいキーワードfaを追加したことで、それが目立つようになりました。技術的な説明をすると、アイコンを読み込んでいる時点でファイル名でのソートは行っていて、Alfredに向けて検索結果をXMLで出力する時点でもそのソート順が維持されているのは確認できているので、そこから先のAlfredに渡されて一覧を表示する部分でこの不具合が起きているのではと予想しています。が、ここをどうすればデバッグ・修正できるのかが分からず未だに対応できていません。

もし、これについて何かご存じの方がいたら教えてもらえると嬉しいです。

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): replace dependency cpx with cpx2 2.0.0
  • chore(deps): update dependency @types/sharp to v0.32.0
  • chore(deps): update dependency eslint-config-prettier to v8.10.0
  • chore(deps): update dependency fast-glob to v3.3.2
  • chore(deps): update dependency make-dir-cli to v3.1.0
  • chore(deps): update dependency ts-loader to v9.5.1
  • chore(deps): update dependency webpack-cli to v4.10.0
  • fix(deps): update dependency fuse.js to v6.6.2
  • chore(deps): update dependency eslint to v9
  • chore(deps): update dependency eslint-config-prettier to v9
  • chore(deps): update dependency eslint-plugin-prettier to v5
  • chore(deps): update dependency imagemin to v8 (imagemin, @types/imagemin)
  • chore(deps): update dependency make-dir to v4
  • chore(deps): update dependency prettier to v3
  • chore(deps): update dependency rimraf to v5
  • chore(deps): update dependency typescript to v5
  • chore(deps): update dependency webpack-cli to v5
  • chore(deps): update node.js to v20 (node, @types/node)
  • fix(deps): update dependency fuse.js to v7
  • 🔐 Create all rate-limited PRs at once 🔐

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • fuse.js 6.4.6
  • @types/imagemin 7.0.1
  • @types/imagemin-pngquant 8.0.0
  • @types/jest 26.0.24
  • @types/node 14.14.31
  • @types/sharp 0.29.4
  • @typescript-eslint/eslint-plugin 4.29.3
  • @typescript-eslint/parser 4.29.3
  • cpx 1.5.0
  • cross-env 7.0.3
  • eslint 7.32.0
  • eslint-config-prettier 8.3.0
  • eslint-plugin-prettier 3.4.1
  • fast-glob 3.2.7
  • imagemin 7.0.1
  • imagemin-pngquant 9.0.2
  • jest 27.0.6
  • make-dir 3.1.0
  • make-dir-cli 3.0.0
  • organize-imports-cli 0.8.0
  • pkg 5.3.3
  • prettier 2.3.2
  • rimraf 3.0.2
  • sharp 0.29.3
  • svgexport 0.4.2
  • ts-jest 27.0.4
  • ts-loader 9.2.6
  • ts-node 10.2.1
  • typescript 4.3.5
  • webpack 5.58.2
  • webpack-cli 4.9.1
  • node 12.x

  • Check this box to trigger a request for Renovate to run again on this repository

Copy character to clipboard [request]

Hello,

First of all, great plugin! It works really well during development.

I do have a request though. I'd like to be able to copy the character itself to the clipboard. I use fontawesome in my designs and usually include the font into the design software. To use an icon, I need to copy and paste the actual character (not the code).

Right now, I go to http://fontawesome.io/cheatsheet, find the character and copy it. It would be awesome if I could just copy it from this workflow.

Is it possible?

Thanks a lot!

  • Maarten

Workflow on macOS Mojave and Catalina not pasting ref symbol

Steps to reproduce:

  1. Run alfred with fa prefix
  2. Type 'trash' query
  3. Press Ctrl + Enter

Expected result:
Ref (symbol) pasted.

Actual result:
Icon name pasted.

Here is faw run results.

FA5 workflow:

➜  user.workflow.4543DB6D-4242-402A-9A4B-D3C71FC1C4CC ./faw put --name f1f8
fa-trash%                                                                                                                                       ➜  user.workflow.4543DB6D-4242-402A-9A4B-D3C71FC1C4CC

➜  user.workflow.4543DB6D-4242-402A-9A4B-D3C71FC1C4CC ./faw put --code f1f8
f1f8%                                                                                                                                           ➜  user.workflow.4543DB6D-4242-402A-9A4B-D3C71FC1C4CC

➜  user.workflow.4543DB6D-4242-402A-9A4B-D3C71FC1C4CC ./faw put --url f1f8
https://fontawesome.com/icons/trash%            
                                 
➜  user.workflow.4543DB6D-4242-402A-9A4B-D3C71FC1C4CC ./faw put --ref f1f8
trash%

If I understand everything correctly, this one is incorrect:

➜  user.workflow.4543DB6D-4242-402A-9A4B-D3C71FC1C4CC ./faw put --ref f1f8
trash%

Fa4 workflow:

user.workflow.EC9AE299-805D-4336-82B6-8A7A2699306C ./faw put --ref f1f8
%

macOS (both the same):
Mojave 10.14.6 (18G95)
Catalina 10.15 (19A583)

Workflow version: 5.11.1.0

Font Awesome Pro?

Great tool! This is awesome for Figma, as it's currently the best (only?) way of conveniently inserting fonticons. Is there any way to get this working with the extended icon set in FontAweome Pro?

Ready for Big Sur and Apple M1

Hi there. I am having problems getting this workflow to 'work'. It doesn't respond to the "fa" query.

The bug report records an error

Code 127: /bin/bash: ./faw: No such file or directory

But it is not clear what should be in this directory or how it should be configured.

I am running Big Sur, with develop permissions turned on for Alfred. The problem pre-dated the update anyhow, so not sure it is related. (As an aside, I've installed the bootstrap icon workflow and that works).

Thanks for your help

Reporting a vulnerability

Hello!

I hope you are doing well!

We are a security research team. Our tool automatically detected a vulnerability in this repository. We want to disclose it responsibly. GitHub has a feature called Private vulnerability reporting, which enables security research to privately disclose a vulnerability. Unfortunately, it is not enabled for this repository.

Can you enable it, so that we can report it?

Thanks in advance!

PS: you can read about how to enable private vulnerability reporting here: https://docs.github.com/en/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository

It starts no FA search

Hello,

Mac M1
macOS Ventura

I've followed the steps in the readme.
Download and installed the workflow file (Alfred 5 - Powerpack License), than opened Alfred and typed fa arrow, but nothing happened.
Than I've restarted Alfred - nothing happened.
Than I've created a .html to follow your example in the readme - nothing happened.

Why???? :/

Feature Request - Boxicons Workflow

I love this workflow alot. Is there a way to create one for BoxIcons as well? Or you can explain a little to develop one using your base code. I am not sure how to make binary from the source files. Or if you want to do it, that would be awesome as well

Packal support

Hey man, just wanted to thank you for putting together this workflow. I use font awesome quite a bit and its a real life saver. One (hopefully small) feature request. Would you consider adding the workflow to Packal? Its quite handy to grab all ones workflows from the Packal repository in one fell swoop. Just a thought, and thanks again.

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: Cannot find preset's package (github>whitesource/merge-confidence:beta)

any plans to integrate other font services.

First up - I love this workflow I use it a LOT. But I notice there are more and more good font icon libraries popping up, and I was wondering whether you had thought about integrating any more. I'd love to fork this and create a new version based on the above, but I don't have the time or skills. It would be great though.

Here are some thoughts:
https://icomoon.io/#icon-font
http://genericons.com/
http://www.typicons.com
http://www.elegantthemes.com/blog/freebie-of-the-week/free-line-style-icons

Thanks!

Love Love Love!

Love this and thank you for streamlining my workflow! But... I now have Font Awesome 4.4 installed, are you looking to update your script...

Please ;)

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.