One-Liner
Tells a random one-liner, with over 10,000 (and rising!) in the system
Description
This shortcut tells a random one-liner from the dedicated subreddit.
When you run the shortcut, it will ask if you want to Calibrate or Run.
If you choose 'Calibrate', it will save to your files a single .txt with every single one-liner from the oneliners subreddit. This may take a couple minutes depending on your internet connection. If the file already exists, it will replace it. Clicking 'Run' will do nothing if you have not calibrated it before.
When you choose 'Run', it will choose a random one liner and return it through Siri or an alert.
Feedback
Log in or sign up to leave feedback.
@jdgallant
Just curious as to why you have decided to save it locally? Is this simply to allow for offline functionality? As it doesn't really solve that problem either.
· 1 year, 4 months ago
· 1 year, 4 months ago
@IMLL1
Author
Well, it does do that, but also because the process of fetching every one liner from the subreddit takes quite some time, and this way you don't have to do that every time you want just one one-liner.
· 1 year, 4 months ago
· 1 year, 4 months ago
@jdgallant
I guess that makes sense, but you could pull the top 100 for example and then have it run a random get, but also, if you are saving it on iCloud, how it is it going to work if I don't have an internet connection. I'm not quite seeing it.
· 1 year, 4 months ago
· 1 year, 4 months ago
@IMLL1
Author
It saves it to the files app, which I think works offline. Also just pulling the top 100 is lame. I want ALL OF THEM!!!!! Also the RSS feed fetch function can only fetch I think 26 of them.
· 1 year, 4 months ago
· 1 year, 4 months ago
@jdgallant
That totally makes sense and you are right. it does save it locally; which I didn't think it did.
My suggestion wasn't to save just 100 of them, but to pull from the subreddit 100 and allow the system to randomly pull 1 from the pile. It does make things a little quicker instead of having to calibrate (or download) the file. Again, your shortcut is certainly more advanced then what I would have been able to put together, and I will certainly be using it with my friends.
· 1 year, 4 months ago
· 1 year, 4 months ago