<commit_before>homepage: https://github.com/juhp/findhttp
changelog-type: markdown
hash: a69ce330b921834e7272817df905f19ad3ec67629d7f27e05217a78b5234d001
test-bench-deps: {}
maintainer: <EMAIL>
synopsis: List http/html files
changelog: |+
  # Changelog

  # 0.1 (2019-06-xx)
  - Initially created.

basic-deps:
  bytestring: -any
  base: <5
  text: -any
  basic-prelude: -any
  simple-cmd-args: -any
  filepath: -any
  http-directory: ! '>=0.1.5'
  Glob: -any
  directory: ! '>=1.3.1.0'
all-versions:
- '0.1'
author: <NAME>
latest: '0.1'
description-type: markdown
description: |
  # findhttp

  [![Hackage](https://img.shields.io/hackage/v/findhttp.svg)](https://hackage.haskell.org/package/findhttp)
  [![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
  [![Stackage Lts](http://stackage.org/package/findhttp/badge/lts)](http://stackage.org/lts/package/findhttp)
  [![Stackage Nightly](http://stackage.org/package/findhttp/badge/nightly)](http://stackage.org/nightly/package/findhttp)
  [![Build status](https://secure.travis-ci.org/juhp/findhttp.svg)](https://travis-ci.org/juhp/findhttp)

  A simple `find` tool that supports http directories too.
license-name: GPL-3.0-only<commit_msg>Update from Hackage at 2022-10-19T11:27:48Z<commit_after>homepage: https://github.com/juhp/findhttp
changelog-type: markdown
hash: 6acfd730349b62da5c67e7d0ab5c468b954bc86e616f3d4fd5479aba955b2db2
test-bench-deps: {}
maintainer: <EMAIL>
synopsis: List http/html files
changelog: |
  # Changelog

  # 0.1.1 (2022-10-19)
  - add --show-url option
  - misc cleanups

  # 0.1 (2019-06-23)
  - Initially created.
basic-deps:
  bytestring: -any
  base: <5
  text: -any
  simple-cmd-args: '>=0.1.3'
  filepath: -any
  http-directory: '>=0.1.9'
  Glob: -any
  directory: '>=1.3.1.0'
all-versions:
- '0.1'
- 0.1.1
author: <NAME>
latest: 0.1.1
description-type: markdown
description: |
  # findhttp

  [![Hackage](https://img.shields.io/hackage/v/findhttp.svg)](https://hackage.haskell.org/package/findhttp)
  [![GPL license](https://img.shields.io/badge/license-GPLv3+-brightgreen.svg)](https://www.gnu.org/licenses/gpl.html)

  A simple `find` tool that supports http directories as well as local files.

  It can be useful for example if you encountered a http directory file server
  with html listing that truncates filenames.

  ## Usage

  ```shellsession
  $ findhttp --version
  0.1.1
  $ findhttp --help
  find for http

  Usage: findhttp [--version] [-m|--maxdepth DEPTH]
                  [(-f|--files) | (-d|--dirs) | (-s|--symlinks)] [-n|--name GLOB]
                  [-u|--show-urls] URL/DIR
    Find files from an http "directory"

  Available options:
    -h,--help                Show this help text
    --version                Show version
    -m,--maxdepth DEPTH      Maximum search depth (default 10)
    -f,--files               List files only
    -d,--dirs                List directories only
    -s,--symlinks            List symlinks only (not http)
    -n,--name GLOB           Limit files to glob matches
    -u,--show-urls           Prefix files with url

  ```

  ## Example

  ```shellsession
  $ findhttp https://file.example.com/files/
  dir1/
  file1
  file2
  file3
  ```

  ## Installation

  Build (from Hackage) with `cabal install findhttp` or `stack install findhttp`.

  Build from source with `cabal install` or `stack install`.
license-name: GPL-3.0-only
{'fraction_non_alphanumeric': 0.1515418502202643, 'fraction_numerical': 0.050220264317180616, 'mean_word_length': 3.016509433962264, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 12, 'https://': 12, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4006789', 'n_tokens_mistral': 1387, 'n_tokens_neox': 1256, 'n_words': 263}