HackerTrans
TopNewTrendsCommentsPastAskShowJobs

philocalyst

52 karmajoined 3 years ago

Submissions

A motion graphics library in ~100 lines

skeary.me
1 points·by philocalyst·4 months ago·0 comments

Show HN: BlueBoy, a macOS CLI for Bluetooth management

github.com
1 points·by philocalyst·last year·0 comments

Show HN: Lichen – Manage and create code licenses on the CLI and with TOML

github.com
6 points·by philocalyst·last year·2 comments

Badgen – A Badge Generating Service

github.com
3 points·by philocalyst·last year·1 comments

Show HN: Infat – Declaritive application assocation manager for macOS

github.com
94 points·by philocalyst·last year·41 comments

Lichen -- a License management CLI tool

github.com
3 points·by philocalyst·last year·1 comments

comments

philocalyst
·7 hours ago·discuss
Or use https://swiftbundler.dev/ ?
philocalyst
·last year·discuss
Wondering if you would be interested in plugging into my

https://github.com/philocalyst/lang-config

Which contains comment tokens, block and line, common language servers, special pairs, recognized shebangs, root scopes, etc.

It's mostly for use in one of my other projects, although you can see some of its higher aspirations one day in the README. Would love to collaborate with you and make it useful for a real use-case outside my own! If any of the information contained there could be useful! Reach out through an issue or through an email (linked in my github profile) if you're keen
philocalyst
·last year·discuss
Thanks !
philocalyst
·last year·discuss
Walking back my regex commitment, just a heads-up/apology if you had your hopes up. Want this to stay as a CLI and not a dynamic app. Let me know if there's anything else you could see useful that would fit within that scope!
philocalyst
·last year·discuss
Walking this back, the API only allows setting this up for app bundles, which adds another layer of complexity I'm not down for. I want it to be a CLI tool, it doesn't need a helper or any other layers.

As a kind of apology, I made a drop-in hammerspoon config that should accomplish exactly what you wanted: https://gist.github.com/philocalyst/ad9f6d7cc08a9cdefa795e1b...

And if you've never used it before: https://www.hammerspoon.org/go/
philocalyst
·last year·discuss
THANK YOU! i knew something was wrong. i knew i knew i was missing it ;)
philocalyst
·last year·discuss
I loveee hammerspoon. And had a subscription to OpenIn a bit back. Advanced scripting isn’t going to happen, even paging out to another script. Recently committed to Regex which would cover most of that. I’ll look into how it “fixes” old associations.
philocalyst
·last year·discuss
Thank you for the question! I didn’t even think of this use case. I’ll setup regex (and wildcards) but not scripting.

Check back in a week!
philocalyst
·last year·discuss
MacOS doesn't give any way to block an association from happening, I'm assuming they're using the same API's under the hood that Duti is using, and the only way you could block that from being accessed is by disabling the Launch services API.

In the next release of Infat, I'm introducing listing the openers from the plist (As you're doing now). If you record these values, then get their set defaults through infat, you could put those into your config and load from you config whenever they're overriden!

Best I got... Shameless promotion
philocalyst
·last year·discuss
There is not, infat is subject to the limitations of Apple's API for setting handlers, which do not support passing in any data that an application could work with. If you wanted to, and have the time, I would recommend setting up a wrapper with https://github.com/sveinbjornt/Platypus with applescript. Then you could make an alternate for whichever mode you please and set it as an opener using infat. Clunky but functional.
philocalyst
·last year·discuss
Shields.io but faster, simpler, and more flexible. (Paraphrasing the README)

https://badgen.net/
philocalyst
·last year·discuss
It wouldn't be possible with the current interface, but I have a feeling it's possible. I'm thinking it's part of a new configuration option "type" that allows you to define openers for categories of files (text,video,etc.)

I can get it out in a week ;)
philocalyst
·last year·discuss
Yep! Just added a clarification in the README.

After running `infat set IINA mov`: https://jezq5q9mfh.ufs.sh/f/Ii8qBn67qEOu1ZUKDXSn3BIE8fDuiWay...
philocalyst
·last year·discuss
No dependencies for install, just is the command runner I use to keep things organized, it's a replacement for make(1). If it hurts to download just, you can build using SPM:

swift build -c release

mv .build/PLATFORM/release/infat /usr/local/bin
philocalyst
·last year·discuss
Okay, confusing -- just tried to replicate on my machine and couldn't get that error. When you say touch, you mean creating a file with that extension, or any interaction period?

Could you please try to replicate with verbosity enabled (-v) and email me the output or file an issue at the repo with the results and full summary? It's helpful for tracking. Sorry this isn't a quick fix :(
philocalyst
·last year·discuss
Have an idea of how I would do this already, give me until the end of the week. To be clear, an interface like this?

Infat list [--identifier] [--application] Where identifier and application are mutually exclusive, and application lists the openers it is capable of opening by default? Merging the application flag for simplicities sake, so either returns a list with both their possibilities *and* the assigned apps.

Thoughts?
philocalyst
·last year·discuss
I don't use nixpkgs personally but would love to give it a shot, check the repo in a day or two to give me some time to learn to ropes! I'll shoot you an email if I need any help :)
philocalyst
·last year·discuss
Love this!! Is there a reason why you chose to not display repository information like the language breakdown or tags? Messing with the sidebar might also be an opportunity to expand the capabilities of the interface, like including a star-chart or LOC.

Thank you for the awesome project! I wonder if you have seen Gothub? https://codeberg.org/gothub/gothub

And there's a number of alternative front-end lists out there that I would submit to if you all are serious about it, and make instructions easy on self-hosting.
philocalyst
·last year·discuss
Bello! I made this to make the creation and management of licenses on the CLI simple and scalable. Built in Rust (Oooh), full of features, and distributed as a single binary, it's a terrible convenience. Happy to answer any questions/concerns/whatever! First larger project like this and I don't want to stop here in the least. :)))