MCPcopy Index your code
hub / github.com/chfoo/warcat-rs

github.com/chfoo/warcat-rs @v0.3.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.4 ↗ · + Follow
730 symbols 1,772 edges 74 files 77 documented · 11%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

warcat-rs

Command-line tool and Rust library for handling Web ARChive (WARC) files.

This project is a rewrite of the warcat project.

Getting started

Compiling

If you want to compile the program yourself, set up a Rust environment.

  • Project requires Rust 1.80 or higher.

Once you have Rust installed, use the cargo build tool:

cargo build --features=bin --release

The program will be placed in the target directory.

Contributing & support

License

Copyright 2024-2025 Christopher Foo. Licensed under Mozilla Public License 2.0

Extension points exported contracts — how you extend this code

EqIcase (Interface)
Trait for names. [6 implementers]
src/fields.rs
Codec (Interface)
(no doc) [5 implementers]
src/http/h1/codec.rs
LogicalPosition (Interface)
Indicate position in the stream [2 implementers]
src/io.rs
FieldsExt (Interface)
(no doc) [1 implementers]
src/header/fields.rs
FieldsExt (Interface)
(no doc) [1 implementers]
src/http/h1/header/fields.rs

Core symbols most depended-on inside this repo

len
called by 50
src/fields.rs
insert
called by 49
src/fields.rs
is_empty
called by 36
src/fields.rs
clear
called by 33
src/fields.rs
get
called by 30
src/fields.rs
as_bytes
called by 30
src/http/h1/header.rs
parse
called by 24
src/http/h1/header.rs
add_problem
called by 22
src/verify.rs

Shape

Method 416
Function 166
Class 95
Enum 48
Interface 5

Languages

Rust94%
Python4%
C#2%

Modules by API surface

src/warc/decode.rs55 symbols
src/verify.rs47 symbols
src/error.rs36 symbols
src/compress.rs36 symbols
src/http/h1/header.rs32 symbols
src/fields.rs28 symbols
src/parse/fields.rs26 symbols
examples/python/message.py25 symbols
src/digest.rs22 symbols
src/http/h1/recv.rs21 symbols
src/dataseq.rs21 symbols
src/app/arg.rs21 symbols

For agents

$ claude mcp add warcat-rs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page