mflint / ios-tldr-viewer Goto Github PK
View Code? Open in Web Editor NEWiOS client for "tldr-pages", simplified and community-driven man pages. http://tldr-pages.github.io/
License: MIT License
iOS client for "tldr-pages", simplified and community-driven man pages. http://tldr-pages.github.io/
License: MIT License
what about having a favorites list to add commands to?
Small problem in Slideover:
- open Tldr, view a man page
- open other app
- open slideover and select Tldr
=> your app opens and shows the previous man page, but the font has the same size as in fullscreen mode. You have to zoom to fit the man-page manually
(Reported by Michael Schmidt via email)
Add
Uninstall given cask and remove all related files of that cask
'Brew cask zap cask_name'
Just now I noticed that the command brew-mas
is still present in the app, although it has been renamed to mas
here. Updating the app data didn't change anything.
Digging a little bit through the code I found two issues which might cause this bug (in combination):
Zip.unzipFile
just copies the files and overwrites existing ones. Files which already exist in the destination directory but are not present anymore in the ZIP archive will stay there "forever".index.json
file but does not consider the language tag.Now, in this concrete case: The file brew-mas.md
still exists on the device because it has not been cleaned up somehow. This fact alone would not show it in the UI. However, DataSource
also finds it in the index.json
file for the zh
language, since it has only been renamed for the primary (en
) language. Thus, all prerequisites are fulfilled to actually show the command in the app.
When I start the app, I get a loading wheel, and eventually it times out with the above error. No entries are loaded.
For example, if I search for "URL", it could match wget.
That would be fab.
(Suggested by Brett Neely via email)
It looks like this app uses a tableview and supports landscape orientation.
I opened this on my iPhone 6, rotated to landscape, and saw a lot of
unused space in the center of the screen. If you instead used a
collectionview and made a table-like cell, you could display two or more
cells per row in landscape orientation. This is something I plan to do
eventually in an app I develop. Of course there may be reasons why
this wouldn't work in your case, but I thought I'd offer the suggestion.
(Suggested by Brett Neely via email)
Spotlight search would be great.
Depends on the tl;dr pages being cached for offline use / searching.
(Reported by Michael Schmidt via email)
Hello, I'm from the tldr-pages/tldr
repository, and I'm here to inform you that we recently changed the content of the ZIP archive your client relies upon. Here's a link to the merged PR: #2862.
Inside the generated ZIP archive, a new /index.json
file has been created, to be used in favor of the now deprecated /pages/index.json
file, as you can see here. Once all the clients are updated, or enough time has passed, we will completely remove the /pages/index.json
file from the generated ZIP archive, and only keep the top-level /index.json
.
If your client does not rely on the mentioned file to work, you can close this right away, sorry for the trouble! Otherwise, in order to support the upcoming change, this client should be updated to either:
index.json
file served by the static site itself, that is: https://tldr.sh/assets/index.json
./index.json
file inside the ZIP file served by the static site, which is: https://tldr.sh/assets/tldr.zip
.Once the above is taken care of, you can close this issue and your client will be marked as up to date in our tracking issue here. This change should be trivial, but if there's any problem, please do let me know.
Thank you for your work and time you put into creating this client and supporting the TLDR pages project!
In the tl;dr text, arguments are shown in {{moustache braces}}.
They could (probably should) be styled differently, so it's clear that they are semantically different pieces of text.
Maybe italicised with <em></em>
tags?
(Reported by Frederic Barthelemy on Twitter)
In portrait mode, the back button should be labelled "Commands", but it actually "Master".
(Reported by Michael Schmidt via email)
The index would show the alphabet on the right-side of the screen, to enable fast scrolling.
(Reported by Ruurd Pels via email)
Pressing the "Back" button always returns to the commands list. This is the correct behavior in case a command details view is opened. But if one taps a link and jumps to a website, "Back" implies "back to the command details". Instead, the command list appears, which is not what I would expect.
Correct. The icon should be something different.
(Suggested by Brett Neely via email)
This isn't supported by "tl;dr", but it's worth suggesting.
(Reported by Frederic Barthelemy on Twitter)
Hello, I'm the writer of the Invoke-WebRequest
tldr page.
The documentation includes placing PowerShell dictionary (e.g. @{Foo='bar'}
inside the tldr
's variable container ({{}}
) which causes the dict variable to be rendered incomplete, i.e. "@{Foo='bar'
}" instead of "@{Foo='bar'}
".
The issue can be seen more clearly on another tldr-pages website made by myself, see reinhart1010/nix#1 for details.
On iPad, the info popover isn't positioned at an exact center of the
info button, and the popover UI isn't distinct from the background
underneath it. The popover could also be taller and/or wider to
eliminate the need to scroll.
Yes.
(Suggested by Brett Neely via email)
tl;dr pages can now be localised into multiple languages. (Some people are actively adding Italian and Simplified Chinese localisations)
The app should display the tl;dr page in the user's language, if available, before falling-back to English.
Good plan.
(Reported by Ruurd Pels via email)
You get the following error at the start:
Could not unzip the download
Deleting and reinstalling doesn't help, except the app is now even more useless, because completely empty.
There isn't a way to filter/search by platform
Correct. I'm not sure about searching by platform, but it may be useful to ignore platforms. (Eg, "Sun OS", for example)
(Suggested by Brett Neely via email)
Yup.
(Reported by Eric Cardenas via email)
We might be able to do something nice with Siri search:
Hey Siri, tldr date
macOS or common?
macOS
OK, here's your tldr for macOS date
{displays tldr for macOS date}
Start in portrait, view one of the pages, rotate to landscape, and back to portrait.
First, the back navigation button is labeled "Master" which I consider an
implementation detail rather than a user interface label. Second, the detail
page is now partially covered by the master list.
OMG, UISplitViewController raises its ugly head again.
(Suggested by Brett Neely via email)
Wherever the app refers to a command, it uses just the command-name.
Consider adding an optional platform in there too. So if I favourite the macOS version of date
, then that version should be opened if I tap the favourite.
So I don't need to retype everything.
I didn't get any results for "perl", "ruby"... a user of the app may not understand the missing result.
True. I should add something which explains why there are no search results.
(Suggested by Brett Neely via email)
In the description for a command that has multiple lines e.g. curl, a new line just follows on from the existing line rather than starting on the next line.
I wish it said something like "List contents of the specified directory, or if none specified, of the current directory."
Because when I first used it with -R, I was confused about what to expect. At that "crawling" stage, when I said "ls -R afile" then I expected it to report all occurrences of afile in the directory tree.
I now realise (from forum help) that when used in that way, the name should be that of a directory, not a file. Then it will find all directories/subdirectories having that name.
We might get a situation where there are duplicate commands with the same name. (eg: fc
for Linux/macOS is different from fc
for Windows)
The app should handle that.
In particular:
Shortcuts
class, and appear when 3D-touching the app icon) be able to identify the correct command, even if two commands have the same namePreferences
class also needs to identify the correct command when it keeps a list of the latest commands seenA 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.