Coder Social home page Coder Social logo

infinitifall / 4chv Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 8.44 MB

A 4chan downloader/viewer. Downloads threads and builds offline HTML pages for a /comfy/ browsing experience. Posts ordered by quality

License: MIT License

JavaScript 26.81% CSS 12.36% Python 60.25% Shell 0.29% Batchfile 0.29%
4chan 4chan-client 4chan-downloader python sqlite python3

4chv's Introduction

4CHV

A 4chan downloader/viewer. Downloads threads and builds offline HTML pages for a /comfy/ browsing experience.

  • Catalog view with nested replies
  • Threads and posts ordered by quality
  • Keyboard shortcuts
  • Tiny download size (1MB)

Install

  • Windows (without Git)

    1. Have Python installed (can check by running python --version in cmd)
    2. Download the latest version of 4CHV and unzip
    3. Double click to run run_on_windows.bat
  • Linux/BSD/macOS

    # clone repo
    git clone https://github.com/Infinitifall/4chv
    cd 4chv
    
    # run
    ./run_on_linux.sh

Screenshots

screenshot

screenshot

screenshot

screenshot

Usage

  • 4CHV can be kept running continuously, intermittently, or whenever you wish. While running,

    • Threads are downloaded every few seconds
    • HTML files are created/updated every few minutes and placed in html/ (open in web browser)
  • Configure 4chv to your liking by editing the following files (restart for changes to take effect):

Files

  • html/: Board HTML files
    • resources/: CSS, JS, image files
    • thumbs/: Thread thumbnails in .png format
  • threads/: Threads stored in SQLite files
  • main/
    • chv_download.py: Download threads
    • chv_view.py: Create HTML files
    • chv_database.py: Functions for SQLite db
    • chv_run.py: Run 4chv
    • custom/
      • chv_boards.py: Dictionary of /boards/
      • chv_params.py: All config options

FAQs

  • What is thread, post quality?

    Threads and replies are ordered by "quality"

    • points measure the uniqueness of words used in a post
    • + measure the quality of the replies to a post (recursively measures points)
  • How to delete all downloaded threads, thumbnails?

    • Stop 4chv if it is running
    • Delete the folders:
      • threads/
      • html/thumbs/
  • How to uninstall 4CHV?

    Delete the entire 4chv/ folder

4chv's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.