{"id":19702338,"url":"https://github.com/raffomania/archive.observer","last_synced_at":"2025-04-29T14:30:28.924Z","repository":{"id":177642112,"uuid":"660671819","full_name":"raffomania/archive.observer","owner":"raffomania","description":"🔭 AskHistorians Archive Viewer","archived":false,"fork":false,"pushed_at":"2023-09-12T10:07:37.000Z","size":194,"stargazers_count":31,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T17:43:32.437Z","etag":null,"topics":["archiving","pushshift","reddit","rust","static"],"latest_commit_sha":null,"homepage":"https://archive.observer","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raffomania.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-30T14:48:06.000Z","updated_at":"2025-02-22T23:02:22.000Z","dependencies_parsed_at":"2023-07-30T00:16:39.896Z","dependency_job_id":null,"html_url":"https://github.com/raffomania/archive.observer","commit_stats":null,"previous_names":["raffomania/aharc","raffomania/archive.observer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raffomania%2Farchive.observer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raffomania%2Farchive.observer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raffomania%2Farchive.observer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raffomania%2Farchive.observer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raffomania","download_url":"https://codeload.github.com/raffomania/archive.observer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251518694,"owners_count":21602197,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archiving","pushshift","reddit","rust","static"],"created_at":"2024-11-11T21:14:38.559Z","updated_at":"2025-04-29T14:30:28.431Z","avatar_url":"https://github.com/raffomania.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AskHistorians Archive\n[![CI](https://github.com/raffomania/aharc/workflows/CI/badge.svg)](https://github.com/raffomania/aharc/actions?query=workflow%3ACI)\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/raffomania/aharc/blob/main/LICENSE-MIT)\n\n[https://archive.observer](https://ask-historians-archive.netlify.app)\n\nThis is an *unofficial* archive of the subreddit [/r/AskHistorians](https://old.reddit.com/r/AskHistorians/). It's\nad-free, works on\nmobile, loads fast, and doesn't need JS.\n\n## Features\n\n- Full-text search\n- Collapse comments\n- No AutoMod comments\n- Only shows posts with actual answers\n\nPosts are sorted in reverse chronological order and filtered to show only those with accepted answers. Since it's hosted\non the Netlify\nfree tier, it only contains posts made after {} for now.\n\n## Project Status\n\nThe project is pretty much done for now. I'm actively reviewing pull requests, and I might revisit it in the future if\nenough people request changes :) Here are\nsome ideas for improvements:\n\n- Show nested comments\n- Other ways to sort posts, like upvotes, number of answers, chronological order\n- Option to hide read posts\n- Add posts from other subreddits like AskScience\n\n## Your Own Subreddit Archive\n\nRequires `just`, `rustup` and `npm` to bootstrap all tools and configuration.\n\n```bash\ncargo install just\njust init # setup repo, install required tools\n```\n\nThis project takes ZSTD-compressed JSON dumps as found in the pushshift archives. Files need to be pre-processed before the tool can use them:\n\n```bash\nbin/preprocess-dump.sh \u003csubreddit_submissions\u003e.zst input/submissions.json\n```\n\nTo generate the files for a website:\n```bash\njust run\n```\n\nTo show a preview of your site, you can install [miniserve](https://github.com/svenstaro/miniserve/) and run\n```bash\njust serve\n```\nto show a preview of the generated files.\n\nTo test:\n```bash\njust test\n```\n\nBefore committing work:\n```bash\njust pre-commit\n```\n\nTo see all available commands:\n```bash\njust list\n```\n\n## Similar Projects\n\nThe [redarc viewer](https://github.com/yakabuff/redarc) allows browsing pushshift dumps, but has a different UI than what I had in mind. It's also not a static site.\n\n## License\n\nThis project is licensed under either of:\n* MIT license ([LICENSE-MIT] or http://opensource.org/licenses/MIT)\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as\ndefined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n\n\n[LICENSE-MIT]: ./LICENSE-MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraffomania%2Farchive.observer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraffomania%2Farchive.observer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraffomania%2Farchive.observer/lists"}