Comments (3)
The idea is great! Essentially we'd make the storage of command pages distributed. There are some points we might need to iron out:
- we need a definitive format for the TLDR pages. I've been mulling on a proposal to change the pages' syntax (tldr-pages/tldr#958), but we could start with the current syntax as a 1.0 spec, eventually updating it with the proposals shown in https://github.com/tldr-pages/tldr/labels/syntax
- we do already have several tools that don't come bundled with any Unix distro. I don't think having a large repo would be too problematic, as it's mostly small text files. However, we will indeed end up bumping into naming conflicts if we just keep growing indiscriminately, so either agreeing on explicit requirements for inclusion, or swapping to a namespaced approach (e.g. user/repo) will probably be needed. Again, this doesn't preclude this feature to be implemented, but we will have to make a decision sooner or later.
As for the downsides, I don't understand the first one; the second is not a problem IMO -- we could e.g. add a disclaimer to the top of the page if the content isn't being loaded from the tldr-pages project.
from tldr.jsx.
On the downsides, the first one means that it wouldn't be able to suggest commands as alternatives because it doesn't know they exist. Say you look for windows/du
and it can't find it, but it can find linux/du
in the index. If a command is not in the index, then it can't be shown as an alternative.
from tldr.jsx.
We could use that as an opportunity to prompt people to contribute the missing commands, like the current node client does :)
from tldr.jsx.
Related Issues (20)
- Won't run - Syntax error HOT 1
- Create a menubar app HOT 1
- Offline mode
- Version 10 of node.js has been released
- MIT license HOT 1
- Fallback to common / list OS-specific variants HOT 2
- Browser History is spammed when you search something HOT 2
- Front page says "try linux/du", but that command doesn't exist
- This app is well behind the official tl;dr at https://github.com/tldr-pages/tldr-pages.github.io HOT 1
- Commands with uppercase names are not supported HOT 1
- TLDR. JSX Chinese display garbled code HOT 1
- Code blocks do not wrap lines, such as shell blocks.(```shell code ```) HOT 5
- Page github api rate limit HOT 1
- Collaborators? HOT 3
- Change base url
- Error 404 /linux/foo not found HOT 1
- Add favicon and apple-touch-icon HOT 1
- Remove braces {{arg}} HOT 1
- search platform sub-dirs
- An in-range update of react is breaking the build 🚨 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tldr.jsx.