TheWaWaR / TheWaWaR/simple-http-server

[feature] Support a file name filter?

Open
#21 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
3.5k
Forks
219
PR merge metrics
No merged PRs in 30d

Description

Hi, this simple http server is a real fantasy one. However, I think if there is a simple file name filter would make it even better. For instance, sometimes, there are lots of log files in a folder, and a filter option like --filterfalse=*.log is an easy way to ignore them, and serving a cleaner directory.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the command-line option definitions and the directory-listing logic, then check how existing options are parsed. Done means a filter option can exclude matching files, such as *.log, from the served directory listing.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.