GithubHelp home page GithubHelp logo

leostera / tldr.jsx Goto Github PK

View Code? Open in Web Editor NEW
1.5K 15.0 75.0 1.48 MB

๐Ÿ“š A Reactive web client for tldr-pages

Home Page: https://tldr.ostera.io

License: MIT License

JavaScript 75.87% HTML 5.64% Makefile 5.11% Shell 4.08% Vim Script 0.56% Sass 8.73%

tldr.jsx's Introduction

tldr.jsx Travis-CI

๐Ÿ“š A Reactive web client for tldr-pages. Try it here.

If you've found this project useful, you can now support me on Patreon

Become a Patron

Featuring

  • Unique URIs, to easily share any tldr-page!
  • Mobile-first-ish, to take with you anywhere!
  • Fully Reactive, embracing ES6, RxJS, FlowType and React for great win!

tldr.ostera.io on desktop and mobile views

Roadmap

As tldr-pages advances, new features can be planned. Some are:

  • Autocompletion, freeing you from remembering all those command names
  • Search, letting you search through all the pages and commands content to find what you want

See the issues page for a list of planned enhancements and features.

Collaboration Setup

It requires a working node environment with npm, and make.

  • make to prepare the workspace and do the first build from scratch
  • make build, for a development build
  • make test, to run the test suite
  • make lint, to lint the source
  • make check, to type-check everything
  • make package, to create a distributable package

Serve locally as you wish, I prefer static-server.

But what about Y or X and File Watchers!

File Watchers never really manage to work the way you want them to, so I ended up using ostera/watch for auto-building, auto-testing, auto-anything.

License

See LICENSE.

tldr.jsx's People

Contributors

greenkeeper[bot] avatar hawkins avatar leostera avatar mueller-ma avatar sbrl avatar stof avatar waldyrious avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tldr.jsx's Issues

Support external lookups for tldr.md page in github repos

Use-case:

I have watch and try. Two small cli utils that have no place in tldr itself because they do not come bundled with any UN*X distro.

I'd like to be able to reuse the current frontend and serve a small tldr page on how to use it from within the repo, by requesting https://tldr.ostera.io/ostera/watch.

The page could live in ./TLDR.md inside the ostera/watch repo.

Upsides:

  • Effectively allow any repo out there to use tldr.jsx without polluting the index into gigantic proportions
  • Drive more traffic that will drive our improvements to the tldr-pages

Downsides:

  • Not being able to suggest ostera/try as an alternative to a failed command search for try
  • Unclear how to lint these external pages, non-vetted content could be an issue

I'd like to know what @waldyrious thinks of this.

Command Suggestion

If command is not found, offer a suggestion based on the input string Levenshtein distance to the indexed commands.

If command is found for another platform, show it under the suggestions as well.

Backquotes in example description forcing new line

Hi,

On pages like history, the example markdown contains embedded backquotes (surrounding bash):

- Clear the commands history list (only for `bash`)

The client reads it as a command inserts a new line before and after.

The output looks something like :

Clear the commands history list (only for
bash
)

Cordially

Loading indicator

A spinner animation or "loading..." text would be nice to provide an indication that the page is fetching the requested command.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.