ruedap / alfred-font-awesome-workflow Goto Github PK
View Code? Open in Web Editor NEW🎩 Font Awesome workflow for Alfred
License: MIT License
🎩 Font Awesome workflow for Alfred
License: MIT License
When i'm designing at iDraw it pastes a "private use" icon, is there a way to make it work with iDraw?, my version is 2.5
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...
nice workflow!
Request: support for local design work via the FontAwesome.otf
This is useful when mocking up designs in photoshop, right now we have to go to the http://fortawesome.github.io/Font-Awesome/cheatsheet/ and copy and paste the icon, would be nice if we can use your workflow with a modifier in Alfred to get the pasteboard filled with the correct icon.
When using Alfred's "Dark Theme" the black FontAwesome icons don't show up against the background until selected. Displaying the white icons based on background color or even an argument would help out a lot.
Reported by @shawnphoffman on zenorocha/alfred-workflows#15
このWorkflowでの検索結果のアイコン一覧は、アイコンの名称のアルファベット順にソートされている状態が望ましいのですが、操作の仕方によっては上記のスクリーンショットのように、一番最後にあるべきアイコンが最初に表示されてしまう不具合が起きます。
※ youtube-square
は一番最後に表示されるべきで、この場合はadjust
が一番最初でなければならない
これが起きる条件は、Workflowのキーワードfa
またはfonta
を入力する際にEnterキーで確定させずに全部手動で入力した場合です。fonta
の場合はキーワードが長いので、例えばfon
の3文字まで入力して一覧からこのWorkflowをEnterで選択して、その上でアイコンを検索するワードを入力した場合はこの不具合は起きません。
この不具合は最初のリリースからある不具合なんですが、今回新しいキーワードfa
を追加したことで、それが目立つようになりました。技術的な説明をすると、アイコンを読み込んでいる時点でファイル名でのソートは行っていて、Alfredに向けて検索結果をXMLで出力する時点でもそのソート順が維持されているのは確認できているので、そこから先のAlfredに渡されて一覧を表示する部分でこの不具合が起きているのではと予想しています。が、ここをどうすればデバッグ・修正できるのかが分からず未だに対応できていません。
もし、これについて何かご存じの方がいたら教えてもらえると嬉しいです。
See: https://github.com/ruedap/alfred-bootstrap-icons-workflow
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
imagemin
, @types/imagemin
)node
, @types/node
)These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.
@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@types/jest
, jest
, ts-jest
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)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
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!
Steps to reproduce:
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
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?
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
Great workflow! Would be great to have the new releases included:
https://github.com/FortAwesome/Font-Awesome/releases
Font awesome 4.0 is out and some icon names have changed, and new icons have been added.
Hey, are you planning to update this workflow to FontAwesome 5? :)
Just need to include them gems for ruby 2.0.0 and then require_relative 'bundle/bundler/setup'
in main.rb
. (And test backwards compatibility.)
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
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???? :/
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
The fontawesome icons that get inserted would be better as SVGs instead of PNGs.
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.
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)
needs update.json and current-version.json
More about Alleyoop (update workflow) - http://www.alfredforum.com/topic/1582-alleyoop-update-alfred-workflows/
Sample at https://github.com/willfarrell/alfred-blank-workflow
Love the plugin, can't wait to get the new icons in it :)
There are a few ways to allow such programs to run.
See: https://github.com/deanishe/awgo/wiki/Catalina
If you are a developer, you can also build it yourself.
$ git clone https://github.com/ruedap/alfred-font-awesome-workflow
$ cd alfred-font-awesome-workflow/
$ npm install
$ npm run build
$ npm run open
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!
When I paste to sketch, it shows http://fontawesome.io/icon/calendar-plus-o/
Workflow:
Version 4.7.0.0
Alfred:
v3.4.1 [860]
OS:
macOS High Sierra
Version 10.13 Beta (17A330h)
I'll dig into this over the weekend and submit a pull request if I can figure it out :)
https://github.com/ruedap/alfred2-font-awesome-workflow/blob/master/command.go#L36
On this line would it be possible to do Title: icon.ID + " " + icon.Unicode
. Mainly to stop myself having to go and inspect element an icon to get the ::before
unicode value :)
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 ;)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.