HackerTrans
トップ新着トレンドコメント過去質問紹介求人

tamnd

no profile record

投稿

The Hitchhiker's Guide to Agentic AI: From Foundations to Systems

arxiv.org
3 ポイント·投稿者 tamnd·12 日前·0 コメント

Mitchell Hashimoto: Defining Taste

xcancel.com
3 ポイント·投稿者 tamnd·14 日前·0 コメント

Show HN: Yomi – Read any web page, or a whole website, into clean Markdown

github.com
3 ポイント·投稿者 tamnd·24 日前·4 コメント

Show HN: Kage – Shadow any website to a single binary for offline viewing

github.com
712 ポイント·投稿者 tamnd·27 日前·141 コメント

[untitled]

1 ポイント·投稿者 tamnd·先月·0 コメント

Please remove mole.fit references and original UI design from this project

github.com
6 ポイント·投稿者 tamnd·先月·0 コメント

The Paint.net Domain Has Been Secured

blog.getpaint.net
5 ポイント·投稿者 tamnd·先月·0 コメント

Monumental Proof Settles Geometric Langlands Conjecture

quantamagazine.org
2 ポイント·投稿者 tamnd·2 か月前·0 コメント

Advancing Mathematics Research with AI-Driven Formal Proof Search

arxiv.org
3 ポイント·投稿者 tamnd·2 か月前·0 コメント

Bun support is now limited and deprecated

github.com
594 ポイント·投稿者 tamnd·2 か月前·608 コメント

Think Linear Algebra (2023)

allendowney.github.io
225 ポイント·投稿者 tamnd·2 か月前·35 コメント

The Programmer After AI

gist.github.com
2 ポイント·投稿者 tamnd·2 か月前·0 コメント

DeepSeek 4 Flash local inference engine for Metal

github.com
499 ポイント·投稿者 tamnd·2 か月前·159 コメント

Redmine

redmine.org
3 ポイント·投稿者 tamnd·2 か月前·0 コメント

Show HN: Historical Python source documentation, from 1.0.1 through 2.0c1

github.com
2 ポイント·投稿者 tamnd·3 か月前·1 コメント

Show HN: Python 0.9.1 from 1991, Guido van Rossum's first public release

github.com
5 ポイント·投稿者 tamnd·3 か月前·0 コメント

Show HN: Goempy – Ship a CPython interpreter inside your Go binary

github.com
4 ポイント·投稿者 tamnd·3 か月前·0 コメント

Hermes Agent Self-Evolution System: A Detailed Similarity Analysis with Evolver

evomap.ai
2 ポイント·投稿者 tamnd·3 か月前·0 コメント

GitHub's Fake Star Economy

awesomeagents.ai
2 ポイント·投稿者 tamnd·3 か月前·0 コメント

CC v2.1.100 inflates cache_creation by ~20K tokens vs. v2.1.98

github.com
2 ポイント·投稿者 tamnd·3 か月前·0 コメント

コメント

tamnd
·24 日前·議論
I built these tools because I'm tired of recent tools being built for AI rather than for humans. More are coming soon!
tamnd
·24 日前·議論
It is a sibling project of https://github.com/tamnd/kage, in case you missed it.
tamnd
·24 日前·議論
Sorry, the docs come first, and I will set up Brew and Scoop later. In the meantime, you can use the pre-built images from the releases or use Go to build from source.
tamnd
·26 日前·議論
Possible, but currently I disable all large files, including videos.

For video downloading, I suggest wrapping around yt-dlp. It's an awesome tool.
tamnd
·26 日前·議論
If there's more demand for that, maybe I will implement a more relaxed version.
tamnd
·26 日前·議論
Currently, all of that is broken. At one point, I had a traumatic experience where an archived HTML file kept redirecting to the live site, even though I already had all the content rendered, so I ended up disabling all JavaScript entirely.
tamnd
·26 日前·議論
Good news for you: here is the command to clone Apple Docs:

```bash bin/kage clone https://developer.apple.com/documentation/ \ --scope-prefix /documentation/ \ --out /Users/apple/data/apple-docs \ --chrome "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \ --max-pages 0 --max-depth 0 \ --workers 3 --browser-pages 3 --asset-workers 6 \ --render-timeout 60s --settle 2s --timeout 30s \ 2>&1 | tee -a /Users/apple/apple-docs.log ```

Adjust it to your needs :)

I smoke-tested it, and all the content and CSS work, but I stripped all the JS, so the sidebar won't work.

If you run into any problems, feel free to create new issues in the repo. It helps me prioritize and know what should be fixed.
tamnd
·26 日前·議論
It should be fixed by https://github.com/tamnd/kage/pull/12

Thanks for nice trick.
tamnd
·26 日前·議論
Not yet supporting cookies, since I created this tool for shadowing public websites first. I will add options to pass cookies later. It will pass them to the underlying Chrome/Chromium process, so it should not be hard to do.
tamnd
·26 日前·議論
This could be a nice code golf project. It only needs a webview, a ZIM reader, and a way to append data to an existing binary and read it back.

I did something like that a very long time ago (Of course, I have forgotten)
tamnd
·26 日前·議論
For sharing, better use the html folder or zim format, Kage supports both of them.
tamnd
·26 日前·議論
I have a project for creating and archiving RSS feeds, keeping the full history from the time the crawler starts. I need to clean up a bit, then will open source it soon.
tamnd
·26 日前·議論
Exactly. For downloading, Kage requires Chrome or Chromium. Running it inside Docker makes setup easier and keeps cleanup simple:

https://github.com/tamnd/kage/blob/main/Dockerfile

Btw, let me think the way to only enable this when running inside Docker.
tamnd
·26 日前·議論
Making docs available offline was one of my main motivations for building this tool. I will try Apple Docs too.

I previously downloaded the Snowflake docs, and it was something like tens or even hundreds of thousands of pages, I do not remember exactly. The output ended up being very large.

By the way, I forgot to add zstd compression support to my ZIM reader/writer. I will implement that in the next version.
tamnd
·26 日前·議論
Thanks ;)
tamnd
·26 日前·議論
Kiwix has readers for almost every platform, Android, desktop, iPhone. That's why I made Kage produce ZIM file.

The executable file is mostly for people who don't have Kiwix installed yet, or just want to run the archive directly.
tamnd
·26 日前·議論
This brings back memories. Around twenty years ago, internet was still expensive dial-up, so I used to go to an internet cafe, run HTTrack to download websites and manga, copy everything onto my tiny 128MB USB stick (felt very large at that time), then bring it home and read offline ;))
tamnd
·26 日前·議論
You could use python -m http.server instead. I haven't tried it yet, but it should work.

Actually, Kage has two parts: a crawler that crawls pages and converts them to clean HTML by capturing the DOM after rendering in Chrome/Chromium, and a pack/serve component that packages the result as either a ZIM file for Kiwix or an executable file.
tamnd
·26 日前·議論
I have a bunch of opinionated/personal-use binaries like this in my $HOME/bin/, like delete-all-npm, clean-rust-cache, download-youtube-playlist, and get-markdown <url>. It feels good, and I don't need to remember any commands. Sometimes my coding agent can figure out how to call some of those tools too ;))
tamnd
·27 日前·議論
I tried to follow well-known formats first, such as WARC and ZIM from Kiwix, so we could benefit from existing tooling support.

For my own custom data format, I have a lot of private code that I plan to release soon. It is optimized for compression, fast lookups, and more. I have been working on it for two years. This is part of a larger, ambitious umbrella project: I am building Google from scratch (all open source), something that anyone can host, including the crawler, indexer, storage, and serving layers. Stay tuned!