>lots of seething subhumans and liars on my profile... keep coping, you noobs will be skinned alive on the day of justice
  • Welcome. Registering and having your account be approved may take a while since there's only one guy checking and approving accounts and guestposts

open source soychiver

Soychiver is the most unscalable piece of software ever. It doesn't interact with a database at all.
Whenever you archive a thread, it downloads the thread's HTML file then injects some JS and CSS into it, and then saves it to archives/.
The thread list worked by scanning the archives/ directory for {board}_{id}_{no}.html, and then parsing that into a table, on every refresh.
The image gallery was like that but even worse, taking about 10 seconds to load the first page of images.
Also, I can't code well, so the software itself was ropey.
 
Soychiver is the most unscalable piece of software ever. It doesn't interact with a database at all.
Whenever you archive a thread, it downloads the thread's HTML file then injects some JS and CSS into it, and then saves it to archives/.
The thread list worked by scanning the archives/ directory for {board}_{id}_{no}.html, and then parsing that into a table, on every refresh.
The image gallery was like that but even worse, taking about 10 seconds to load the first page of images.
Also, I can't code well, so the software itself was ropey.
just give me the software please noob
 
>memorising every soyjak.party thread
giphy.webp
 
Last edited:
Code:
<?php
if (!isset($_COOKIE['theme'])) {
    setcookie("theme", "yotsuba", time() + (86400 * 399), "/");
} else {
    $theme = $_COOKIE['theme'];
}
if ($theme == "yotsuba") {
    echo("<link href='/soychiver/soyui.css?nusoi=true' rel='stylesheet'>");
} else if ($theme == "tomorrow" OR $theme == "dark") {
    echo("<link href='/soychiver/soyui.css?nusoi=true' rel='stylesheet'>");
    echo("<link href='/soychiver/dark.css?nusoi=true' rel='stylesheet'>");
} else if ($theme == "plain") {
    echo("<link href='/soychiver/plain.css?nusoi=true' rel='stylesheet'>");
} else if ($theme == "futaba") {
    echo("<link href='/soychiver/futaba.css?nusoi=true' rel='stylesheet'>");
} else if ($theme == "web2") {
    echo("<link href='/soychiver/web2.css?nusoi=true' rel='stylesheet'>");
}
 
Code:
<?php
if (!isset($_COOKIE['theme'])) {
    setcookie("theme", "yotsuba", time() + (86400 * 399), "/");
} else {
    $theme = $_COOKIE['theme'];
}
if ($theme == "yotsuba") {
    echo("<link href='/soychiver/soyui.css?nusoi=true' rel='stylesheet'>");
} else if ($theme == "tomorrow" OR $theme == "dark") {
    echo("<link href='/soychiver/soyui.css?nusoi=true' rel='stylesheet'>");
    echo("<link href='/soychiver/dark.css?nusoi=true' rel='stylesheet'>");
} else if ($theme == "plain") {
    echo("<link href='/soychiver/plain.css?nusoi=true' rel='stylesheet'>");
} else if ($theme == "futaba") {
    echo("<link href='/soychiver/futaba.css?nusoi=true' rel='stylesheet'>");
} else if ($theme == "web2") {
    echo("<link href='/soychiver/web2.css?nusoi=true' rel='stylesheet'>");
}
'o
 
Back
Top Bottom