All Projects โ†’ sunaku โ†’ Dasht

sunaku / Dasht

Licence: isc
๐Ÿ’ Search API docs offline, in terminal or browser

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Dasht

Offline Plugin
Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)
Stars: โœญ 4,444 (+575.38%)
Mutual labels:  offline-first
Daux.io
Daux.io is an documentation generator that uses a simple folder structure and Markdown files to create custom documentation on the fly. It helps you create great looking documentation in a developer friendly way.
Stars: โœญ 603 (-8.36%)
Mutual labels:  documentation-tool
Gowalker
Go Walker is a server that generates Go projects API documentation on the fly.
Stars: โœญ 632 (-3.95%)
Mutual labels:  documentation-tool
Upup
โœˆ๏ธ Easily create sites that work offline as well as online
Stars: โœญ 4,777 (+625.99%)
Mutual labels:  offline-first
Jsonui
jsonui is an interactive JSON explorer on your command line
Stars: โœญ 583 (-11.4%)
Mutual labels:  terminal-based
Tview
Terminal UI library with rich, interactive widgets โ€”ย written in Golang
Stars: โœญ 6,266 (+852.28%)
Mutual labels:  terminal-based
Helm Dash
Browse Dash docsets inside emacs
Stars: โœญ 455 (-30.85%)
Mutual labels:  documentation-tool
Wowchemy Hugo Modules
๐Ÿ”ฅ Hugo website builder, Hugo themes & Hugo CMS. No code, build with widgets! ๅˆ›ๅปบๅœจ็บฟ่ฏพ็จ‹๏ผŒๅญฆๆœฏ็ฎ€ๅŽ†ๆˆ–ๅˆๅˆ›็ฝ‘็ซ™ใ€‚
Stars: โœญ 6,093 (+825.99%)
Mutual labels:  documentation-tool
Docbase
Turn .md docs into beautiful sites
Stars: โœญ 595 (-9.57%)
Mutual labels:  documentation-tool
Httpu
The terminal-first http client
Stars: โœญ 619 (-5.93%)
Mutual labels:  terminal-based
Hospitalrun
Monorepo that holds all of HospitalRun's v2 projects.
Stars: โœญ 533 (-19%)
Mutual labels:  offline-first
Sit
Serverless (offline-first, merge-friendly) Information Tracker
Stars: โœญ 545 (-17.17%)
Mutual labels:  offline-first
Sw Precache
Service Worker Precache is a module for generating a service worker that precaches resources. It integrates with your build process. Once configured, it detects all your static resources (HTML, JavaScript, CSS, images, etc.) and generates a hash of each file's contents. Information about each file's URL and versioned hash are stored in the generated service worker file, along with logic to serve those files cache-first, and automatically keep those files up to date when changes are detected in subsequent builds.
Stars: โœญ 5,276 (+701.82%)
Mutual labels:  offline-first
Ldoc
LDoc is a LuaDoc-compatible documentation generator which can also process C extension source. Markdown may be optionally used to render comments, as well as integrated readme documentation and pretty-printed example files.
Stars: โœญ 481 (-26.9%)
Mutual labels:  documentation-tool
React Redux Universal Hot Example
A starter boilerplate for a universal webapp using react, redux, express and feathers
Stars: โœญ 639 (-2.89%)
Mutual labels:  offline-first
Berty
Berty is a secure peer-to-peer messaging app that works with or without internet access, cellular data or trust in the network
Stars: โœญ 5,101 (+675.23%)
Mutual labels:  offline-first
Pdoc
๐Ÿ โžก๏ธ ๐Ÿ“œ Auto-generate API documentation for Python projects
Stars: โœญ 604 (-8.21%)
Mutual labels:  documentation-tool
Offlinesampleapp
Sample Offline-First MVVM app that uses Android Priority Job Queue, Room, Retrofit2, LiveData, LifecycleObserver, RxJava2, Dagger Android
Stars: โœญ 653 (-0.76%)
Mutual labels:  offline-first
Rdoc
RDoc produces HTML and online documentation for Ruby projects.
Stars: โœญ 640 (-2.74%)
Mutual labels:  documentation-tool
Documentation
๐Ÿ“– documentation for modern JavaScript
Stars: โœญ 5,443 (+727.2%)
Mutual labels:  documentation-tool

Search API docs offline, in your terminal or browser

dasht is a collection of shell scripts for searching, browsing, and managing API documentation (in the form of 200+ offline documentation sets, courtesy of Dash for macOS) all from the comfort of your own terminal!

The name "dasht" is a portmanteau of Dash and the letter "t", for terminal. Etymologically, "dasht" is Persian for plain, as in an flat expanse of land, which aptly characterizes the terminal environment where everything is text.

Features

  • You never have to leave your terminal!

  • Local search engine for web browsers.

  • Keep Dash docsets anywhere you like.

Preview

Watch the "dasht in a terminal" and "dasht in a browser" screencasts.

In your terminal In your browser

Dependencies

Required:

  • POSIX environment (Linux, BSD, etc.)

Optional:

  • w3m to display dasht(1) search results
  • socat for dasht-server(1) search engine
  • gawk for dasht-server(1) search engine

Development:

  • binman and md2man to build manual pages

      gem install binman md2man
    

Installation

Using a package manager:

Packaging status

Manually, on any system:

  1. Download a stable release or clone this Git repository.

  2. Add the bin/ folder to your PATH environment variable:

    export PATH=$PATH:location_where_you_cloned_or_downloaded_dasht/bin
    
  3. Add the man/ folder to your MANPATH environment variable:

    export MANPATH=location_where_you_cloned_or_downloaded_dasht/man:$MANPATH
    

Vim integration

Use the vim-dasht plugin for (Neo)Vim.

ZSH integration

Source this file in ZSH to activate TAB completion for dasht:

source location_where_you_cloned_or_downloaded_dasht/etc/zsh/completions.zsh

Or simply add the completions/ directory to your ZSH $fpath if you've already set up ZSH's completion system elsewhere:

fpath+=location_where_you_cloned_or_downloaded_dasht/etc/zsh/completions/

Usage

First, install some docsets using dasht-docsets-install(1):

dasht-docsets-install bash

Next, perform a direct search from the terminal using dasht(1):

dasht 'c - x'

Then, repeat the search in a web browser using dasht-server(1):

dasht-server

You are now ready to use dasht! Read the manuals below to learn even more.

Manuals

  • You can browse the manuals online at https://sunaku.github.io/dasht/man/.

  • If you set $MANPATH or installed from a package manager, run man dasht.

  • Else, run man -M location_where_you_cloned_or_downloaded_dasht/man dasht.

Configuration

You may optionally configure the DASHT_DOCSETS_DIR environment variable, which defines the filesystem location where your Dash docsets are installed. If undefined, its value is assumed to be $XDG_DATA_HOME/dasht/docsets/ or, if XDG_DATA_HOME is also undefined, $HOME/.local/share/dasht/docsets/.

You may optionally configure the DASHT_CACHE_DIR environment variable, which defines the filesystem location where download links are cached. If undefined, its value is assumed to be $XDG_CACHE_HOME/dasht/ or, if XDG_CACHE_HOME is also undefined, $HOME/.cache/dasht/.

Development

If you make changes to the embedded manual pages found in the comment headers at the top of script files in the bin/ directory, then remember to run the binman-rake command afterward to regenerate UNIX manual pages for packaging.

License

Like my work? ๐Ÿ‘ Please spare a life today as thanks! ๐Ÿ„๐Ÿ–๐Ÿ‘๐Ÿ”๐Ÿฃ๐ŸŸโœจ๐Ÿ™ŠโœŒ
Why? For ๐Ÿ’• ethics, the ๐ŸŒŽ environment, and ๐Ÿ’ช health; see link above. ๐Ÿ™‡

(the ISC license)

Copyright 2016 Suraj N. Kurapati https://github.com/sunaku

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

(the GPL license)

A small portion of the dasht-query-exec(1) script was derived from Zeal, which is licensed under the GNU General Public License. Refer to the bin/dasht-query-exec file for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].