4chan Blog

The DevBlog, reborn.

Upcoming namespace changes

In the coming week, we’ll be making a few changes to how files are accessed. The changes are mostly cosmetic, and will be transparent to people using vanilla 4chan. We’ll also continue to support legacy URLs for a short time to give third-party developers the opportunity to migrate their apps, but suggest making the appropriate updates as soon as possible to be prepared for when the changes go live.

  1. Semantic thread URLs with slugs. “res/” will be renamed to “thread/”, and subject/comment snippets will be appended after the thread ID as a slug. For example, “http(s)://boards.4chan.org/g/res/41321419” would become “http(s)://boards.4chan.org/g/thread/41321419/daily-programming-thread”. This will be included in the JSON as the “semantic_url” attribute in the OP container.
  2. Less redundant file URLs. The “src/” and “thumb/” directories will be removed from images/thumbs.4chan.org and i/t.4cdn.org. Files will live at the board root on those subdomains.
  3. Pages renumbered. The board index will now start from “Page 1” instead of “Page 0”.

The 4chan API documentation will be updated shortly before the changes go live.

Update: To clarify, links that omit the slug and contain just the thread ID will continue to work as before, and slugs will only be in the URL bar and not post (»123) links. This change shouldn’t affect you unless you constantly copy and paste URLs, or stare at your URL bar all day.


Goodbye to some old friends

Yesterday we welcomed two old features back to the site—the 4chan Blog and Blotter—but today we’ll also say goodbye to a few.

Over the past 10 years, 4chan has accumulated many features and side-projects, but since the team has rarely consisted of more than myself, a single volunteer developer, and a handful of volunteer moderators, many have been neglected. Specifically the discussion boards (dis.4chan.org) and Fileshares board (rs.4chan.org).

Rather than continue to neglect these side-projects, we’ve decided to retire them so that we can focus our time and energy into maintaining and improving the core of the site—4chan’s image boards.

The discussion boards will continue to live on in a read-only state, while the Fileshares board will be shut down. Both will be frozen and de-linked soon.

For the VIPPERs and “expert programmers” among us this may be a sad day, however we hope to accommodate you with some future image board features. Stay tuned.


WebM support on 4chan

Today we added support for WebM files on 4chan’s image boards.

While WebM is technically a video file format, it offers many advantages over animated GIFs—namely superior image quality, support for more than 256 colors, and reduced file size. Its main disadvantage is browser compatibility, however 86% of 4chan’s visits come from browsers that include full or partial support for WebM, and plug-ins are available for those that don’t (like Internet Explorer and Safari).

We decided to disallow WebM files with sound for a few reasons, but mainly because it’s our intention to provide the site with better animated images, and not true video support. To that end, we only accept WebM files with one video stream and no audio streams, that are shorter than 120 seconds long, no larger than 2048x2048 pixels, and less than 3 MB in size.

We’re eager to see how 4chan’s users will adopt WebM, and have posted this short guide on encoding them to ease adoption. Many thanks to desuwa for both championing and implementing this feature.


Reintroducing the 4chan Blog and Blotter

Long-time users will remember the late 4chan DevBlog and Blotter, which were removed almost five years ago due to infrequent use. We had used them to share updates with the community that didn’t require lengthy news posts.

Today I’m pleased to reintroduce both. As someone who hates writing and prefers to publish news posts only when absolutely necessary, I welcome their return. We’ll continue to use the global message (big red text at the top of boards) to communicate important notices, but will use the blog and blotter to share a running tally of smaller updates.

You may not realize it, but we’re constantly working behind the scenes to improve the site—be it feature additions, code tweaks, or improving moderation. It’s our hope to give the community more visibility into those improvements via a changelog of sorts.

So give us a follow or subscribe via RSS, and keep an eye on the blotter.