Skip to content

Create a video playlist from a 4chan thread! ✨🍀✨

Notifications You must be signed in to change notification settings

scootykins/4webm

Repository files navigation

✨🌟4webm🌟✨

lolicatgirls.swf

33. Lurk more — it's never enough. 🍀


Tired of digging through threads for videos?

Don't get me wrong, reading through the posts can be fun...

But sometimes, you just wanna listen to a nice YGYL thread while you work on other stuff, 'ya know?



Well, now you can 😉

https://www.4webm.org



4webm is a web application that loads all webms from a 4chan thread into a playlist.

Given any arbitrary 4chan thread URL, you can load it by replacing "4chan" with "4webm". For example, https://boards.4webm.org/wsg/thread/2036111


Running locally

Because the 4chan API has a limit of one request per second, which 4webm respects, there could hypothetically be some lag on the live site (since the limit applies to everyone, collectively).

A solution is to run 4webm locally, to avoid sharing access to the API. You'll need to install node, npm, and git first.

$ git clone https://github.com/ScottyFillups/4webm.git
$ npm install
$ npm run build
$ npm run start

Once you do that, you should be able to access the application at http://localhost:8080

Running inside a Docker container

It is also is possible to install 4webm inside a Docker container.

Build an image

First let's create a docker image:

# Clone this repo
git clone https://github.com/scootykins/4webm.git 

# Enter the repo folder
cd 4webm

# Create an image:
docker build . -t "$USER/node-4webm"

Run 4webm container

Now is possible to start a 4webm container:

# Map a local port (49161) to the container port (8080)
# and start a new container in detached mode.
docker run -p 49161:8080 --rm -d "$USER/node-4webm"

To use the 4web app just go to any browser and write http://localhost:49161.

The container will be deleted by the command docker container stop <CONTAINER ID (do 'docker ps' to get it.) > or by turning off your computer. Otherwise the container will be running as a backgroud job.

Disclaimer

4webm and the creator are in no way associated with 4chan.org. The software is provided as is, and is used at your own risk.

About

Create a video playlist from a 4chan thread! ✨🍀✨

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published