{"id":19782360,"url":"https://github.com/infinitifall/4chv","last_synced_at":"2025-04-30T22:30:50.309Z","repository":{"id":174179710,"uuid":"651661646","full_name":"Infinitifall/4chv","owner":"Infinitifall","description":"A 4chan downloader/viewer. Downloads threads and builds offline HTML pages for a /comfy/ browsing experience. Posts ordered by quality","archived":false,"fork":false,"pushed_at":"2024-12-27T08:43:25.000Z","size":9062,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T05:34:22.843Z","etag":null,"topics":["4chan","4chan-client","4chan-downloader","python","python3","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Infinitifall.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-09T18:49:48.000Z","updated_at":"2025-01-11T14:21:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"fbd33c20-27aa-4b88-975e-94717efbcb32","html_url":"https://github.com/Infinitifall/4chv","commit_stats":null,"previous_names":["infinitifall/4chv"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Infinitifall%2F4chv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Infinitifall%2F4chv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Infinitifall%2F4chv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Infinitifall%2F4chv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Infinitifall","download_url":"https://codeload.github.com/Infinitifall/4chv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251791472,"owners_count":21644399,"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":["4chan","4chan-client","4chan-downloader","python","python3","sqlite"],"created_at":"2024-11-12T06:04:57.853Z","updated_at":"2025-04-30T22:30:49.723Z","avatar_url":"https://github.com/Infinitifall.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 4CHV\n\nA 4chan downloader/viewer. Downloads threads and builds offline HTML pages for a /comfy/ browsing experience.\n\n- Catalog view with nested replies\n- Threads and posts ordered by quality\n- Keyboard shortcuts\n- Tiny download size (1MB)\n\n\n## Install\n\n- **Windows (without Git)**\n  1. Have [Python](https://www.python.org/downloads/) installed (can check by running `python --version` in cmd)\n  2. Download the [latest version of 4CHV](https://github.com/Infinitifall/4chv/archive/refs/heads/main.zip) and unzip\n  3. Double click to run `run_on_windows.bat`\n\n\n- **Linux/BSD/macOS**\n\n  ```bash\n  # clone repo\n  git clone https://github.com/Infinitifall/4chv\n  cd 4chv\n\n  # run\n  ./run_on_linux.sh\n  ```\n\n\n## Screenshots\n\n![screenshot](screenshots/screenshot2.png)\n\n![screenshot](screenshots/screenshot.png)\n\n![screenshot](screenshots/screenshot3.png)\n\n![screenshot](screenshots/screenshot4.png)\n\n\n## Usage\n\n- 4CHV can be kept running continuously, intermittently, or whenever you wish. While running,\n  - Threads are downloaded every few seconds\n  - HTML files are created/updated every few minutes and placed in `html/` (open in web browser)\n\n- Select boards to download and other options by editing the config file [`chv_config.py`](./main/chv_config.py). Restart for changes to take effect.\n\n\n## Files\n\n- `html/`: Board HTML files\n  - `resources/`: CSS, JS, image files\n  - `thumbs/`: Thread thumbnails in `.png` format\n- `threads/`: Threads stored in SQLite files\n- `main/`\n  - `chv_download.py`: Download threads\n  - `chv_view.py`: Create HTML files\n  - `chv_database.py`: Functions for SQLite db\n  - `chv_run.py`: Run 4chv\n  - `chv_config.py`: Config file\n\n\n## FAQs\n\n- **What is thread, post quality?**\n\n  Threads and replies are ordered by \"quality\"\n    - `points` measure the uniqueness of words used in a post\n    - `+` measure the quality of the replies to a post (recursively measures points)\n\n\n- **How to delete all downloaded threads, thumbnails?**\n  - Stop 4chv if it is running\n  - Delete the folders:\n    - `threads/`\n    - `html/thumbs/`\n\n\n- **How to uninstall 4CHV?**\n\n  Delete the entire `4chv/` folder\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinitifall%2F4chv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfinitifall%2F4chv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinitifall%2F4chv/lists"}