mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-26 11:36:20 +00:00
Compare commits
No commits in common. "5d37ca01e8ad6fa4218dfe7b8af558945471f499" and "6c0c2e89f7dbc0f8e7c8ef8980002eee9edc2422" have entirely different histories.
5d37ca01e8
...
6c0c2e89f7
2 changed files with 0 additions and 27 deletions
|
@ -1,26 +0,0 @@
|
||||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
||||||
// README at: https://github.com/devcontainers/templates/tree/main/src/alpine
|
|
||||||
{
|
|
||||||
"name": "Alpine",
|
|
||||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
|
||||||
"image": "mcr.microsoft.com/devcontainers/base:debian",
|
|
||||||
"features": {
|
|
||||||
"ghcr.io/shyim/devcontainers-features/bun:0": {},
|
|
||||||
"ghcr.io/devcontainers/features/git-lfs:1": {}
|
|
||||||
},
|
|
||||||
|
|
||||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
||||||
// "features": {},
|
|
||||||
|
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
||||||
// "forwardPorts": [],
|
|
||||||
|
|
||||||
// Use 'postCreateCommand' to run commands after the container is created.
|
|
||||||
"postCreateCommand": "sudo apt-get update && sudo apt-get install -y zstd",
|
|
||||||
|
|
||||||
// Configure tool-specific properties.
|
|
||||||
// "customizations": {},
|
|
||||||
|
|
||||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
||||||
// "remoteUser": "root"
|
|
||||||
}
|
|
|
@ -48,7 +48,6 @@ export async function parseWarc(path: string) {
|
||||||
const warc = Bun.spawn(["zstd", "-do", "/dev/stdout", path], {
|
const warc = Bun.spawn(["zstd", "-do", "/dev/stdout", path], {
|
||||||
stderr: "ignore",
|
stderr: "ignore",
|
||||||
}).stdout;
|
}).stdout;
|
||||||
// TODO: tirar error si falla zstd
|
|
||||||
|
|
||||||
const parser = new WARCParser(warc);
|
const parser = new WARCParser(warc);
|
||||||
for await (const record of parser) {
|
for await (const record of parser) {
|
||||||
|
|
Loading…
Reference in a new issue