~shreyasminocha/clone-reddit-wiki

Download all pages in a Reddit wiki in markdown format for archival

b842f70 Include full license text

1 year, 9 months ago

f904351 Include full license text

1 year, 9 months ago

Download the content of a subreddit's wiki, presumably for archival.

Each page’s file looks like:

---
revision_id: 00000000-0000-0000-0000-000000000000
revision_date: 1600000000
---

[Page markdown content]

#Usage

Requires deno.

#Installation

deno install --unstable --allow-net=api.reddit.com --allow-read --allow-write -n crw index.ts

Download r/subreddit’s wiki to ~/archive/subreddit-wiki:

crw subreddit ~/archive/subreddit-wiki

#Without installation

deno run --unstable --allow-net=api.reddit.com --allow-read --allow-write index.ts subreddit ~/archive/subreddit-wiki

#License

MIT License