leolabs / alfred-gitmoji Goto Github PK
View Code? Open in Web Editor NEWSearch for gitmoji using Alfred and copy them to the clipboard easily
Search for gitmoji using Alfred and copy them to the clipboard easily
I just (finally) upgraded to macOS Monterey and whatever new filesystem crap they introduced seems to have broken a few Alfred workflows, including this one. I'm trying to get to the bottom of it myself, but this is what I'm seeing:
...permissions are already a+x
so I'm thinking it can't find the script?
Let me know if you have any ideas here. I already uninstalled and reinstalled the workflow, but I'll try to poke at a bit more when I have time.
Thanks for the workflow!
Previous releases had a built gitmoji.alfredworkflow
download so people didn't have to deal with the Python build stuff. Thanks for fixing this.
Hi there, thanks for the awesome workflow!
I thought a cool UI change would be to use the emoji itself as the icon of each workflow item.
Alfred doesn’t support using emoji for icons, but we can programmatically grab pngs from Emoji One to use instead.
I've had this going over in my fork for a while; let me know if you'd like a PR!
emoji = ["🎨","⚡️","✨","🏷️"]
esc_seqs = ['\\U000', '\\u']
for i in emoji:
unicode_char = i.decode('utf-8')
ascii_char = unicode_char.encode('unicode-escape')
codes = ascii_char
for x in esc_seqs:
codes = codes.replace(x, " ").split()[0]
filename = codes.split()[0] + ".png"
print unicode_char + " -> " + ascii_char + " -> " + filename
returns:
🎨 -> \U0001f3a8 -> 1f3a8.png
⚡️ -> \u26a1\ufe0f -> 26a1.png
✨ -> \u2728 -> 2728.png
🏷️ -> \U0001f3f7\ufe0f -> 1f3f7.png
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.