2 ms·
Show HN: Xcuts – A package manager, shell, and more, made in iOS shortcuts
Xcuts is a programming tool designed to help people create shortcuts (or javascript programs), and to be able to package and run them. It took me a while to iron out all the issues.
I added tons of features to Xcuts, including:
- a way to run js programs, which can depend on js libraries, in ShortTerm
- lots of commands, such as: head/tail, touch, mkdir, file, date, echo, wget, cd, qlook, exit, mail, grep, rm, ls, cp, sort, cat, mv, and $SB (.sbundle archive editor and text editor).
- automatic recursive dependency resolving and autoremoving
- a core unix-like filesystem stored in iCloud drive/Shortcuts/ROOTFS or, in ShortTerm, simply /ROOTFS.
- a program that lets you display html and create callbacks to the shortcuts app that can make changes to the html displayed (UICuts).
This is all written in shortcuts, so that means you don't have to install any apps. In additon, it's offline and you don't have to connect to anything.
I recorded some demo videos: [https://www.icloud.com/sharedalbum/#B2d5oqs3q2kl8t2 https://www.icloud.com/sharedalbum/#B2d5oqs3q2kl8t2]. One of the videos showcases something I ported to Xcuts, called csvf (https://github.com/matthew-james-brewer/csvf https://github.com/matthew-james-brewer/csvf). It's written in javascript + shell script.
I've been working on this for a while. What do you think of it?