Git Product home page Git Product logo

iwicrawl's Introduction

iwicrawl - an indexer for open directories

Inspired by a different project, I set out to write a clone with less features, less polish, and less sophisticated parsing. The result is a command line tool that you feed a url, and it barfs out all subdirectories and files listed, together with their corresponding sizes in bytes. A bit like the unix tool du, but for open directories.

Example

$ iwicrawl --help
iwicrawl 0.1.0
iwikal <[email protected]>

USAGE:
    iwicrawl [FLAGS] <URL>

FLAGS:
    -h, --help       Prints help information
    -q, --quiet      Don't print anything except standard output
    -V, --version    Prints version information
    -v, --verbose    Increase message verbosity for each occurrance of the flag

ARGS:
    <URL>    The url of the directory to crawl
$ iwicrawl localhost
6                    http://localhost/file2
327                  http://localhost/file1
15                   http://localhost/subdir/file3
878841856            http://localhost/subdir/file4
878841871            http://localhost/subdir/
878842204            http://localhost/
Finished in 16ms

Please note

It sends a HEAD request for each file listed, and I haven't implemented any throttling yet, so it might be a bit of a denial-of-service machine. Use responsibly.

Installation

  • Install rust
  • run cargo install --git https://github.com/iwikal/iwicrawl.git

iwicrawl's People

Contributors

iwikal avatar

Watchers

James Cloos avatar

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.