[ an / aw / cr / fi ] [ ra ] [ au / ga / he / sp ]

/aw/ - AwsumChan Meta

Discussion of AwsumChan itself.
Password (For file deletion.)

File: 1542427492247.jpg (154.05 KB, 960x720, lyf8jso.jpg)


I've been unsure what needs to be done to Tinyboard in order to make it a better software for our site.

In response, I'm creating this thread so you – the user, can make suggestions for me to implement into the site. Feel free to request anything. Hell, if you don't like what I've done, you can tell me that too. I'll listen.

The source code that we use for AwsumChan can be found at https://github.com/Circlepuller/Tinyboard
18 posts and 2 image replies omitted. Click reply to view.


What the fuck did you just fucking say about me, you little bitch? I'll have you know I graduated top of my class in the Navy Seals, and I've been involved in numerous secret raids on Al-Quaeda, and I have over 300 confirmed kills. I am trained in gorilla warfare and I'm the top sniper in the entire US armed forces. You are nothing to me but just another target. I will wipe you the fuck out with precision the likes of which has never been seen before on this Earth, mark my fucking words. You think you can get away with saying that shit to me over the Internet? Think again, fucker. As we speak I am contacting my secret network of spies across the USA and your IP is being traced right now so you better prepare for the storm, maggot. The storm that wipes out the pathetic little thing you call your life. You're fucking dead, kid. I can be anywhere, anytime, and I can kill you in over seven hundred ways, and that's just with my bare hands. Not only am I extensively trained in unarmed combat, but I have access to the entire arsenal of the United States Marine Corps and I will use it to its full extent to wipe your miserable ass off the face of the continent, you little shit. If only you could have known what unholy retribution your little "clever" comment was about to bring down upon you, maybe you would have held your fucking tongue. But you couldn't, you didn't, and now you're paying the price, you goddamn idiot. I will shit fury all over you and you will drown in it. You're fucking dead, kiddo.

Anyways, I'm not going to use Lynxchan. Quit fucking plugging it in here, JS has even worse language behavior than PHP.

File: 1502943094129.jpg (14.89 KB, 261x187, shittaste.jpg)


Is there a board you feel belongs on AwsumChan? Tell us here and we'll make it a reality (or at least a temporary one).

[We won't honor your request if it's trash or completely illegal though.]
7 posts and 1 image reply omitted. Click reply to view.


Thanks for the reply.

File: 1500959957193.jpg (164.9 KB, 1024x1170, carlonduty.jpg)


Yes hello, this is the meta board. Here, you can talk about AwsumChan, or ask the staff/users questions.
6 posts and 2 image replies omitted. Click reply to view.


There was a short bit of downtime where I upgraded the server to the latest version of Debian. After upgrading some packages, the site should be running smoothly. Sorry for the inconvenience.

File: 1501232038873.gif (238.19 KB, 360x480, 1491438398665.gif)


Github repo?



If you're looking for Fusen, it's still a work in progress and I haven't bothered setting the repository to public yet. If you're interested in helping me complete it I'd be glad to get in touch about it since I'd love to see it "complete" and running smoothly.

File: 1586593141100.jpg (875.98 KB, 1920x1080, mentay.jpg)


For ppl interested in chans, npfchan maker finally made the new chan code in asp… im not sure if the code is avail to pub tho. Demo at https://mlpol.net/ — idk if its any good (the new code) but since npfchan was quite amazing, it may be just as good. Who knows.(USER WAS BANNED FOR THIS POST)


This is not a place for ads.
Also, if he's running the code on a live site, I have complete doubt he'll release his code to the public without a security audit as that can pose some serious risks to the integrity of his server (and security audits are $$$).

I'd also like to note that while I have not done much work to Tinyboard recently, I am NOT inactive in imageboard development - I'm just trying to code up something fresh and maintainable, something that Tinyboard is definitely starting to suffer from. I have been split between 2 code bases, one that leverages the Symfony web framework, and one that I've built myself that complies with PHP's PSR standards. When I decide to start pushing the code to Github will be determined at a later date.

File: 1583925412531.png (3.85 KB, 901x35, Untitled.png)


What's this?
I got this problem when I install it manually.
2 posts omitted. Click reply to view.


First off, what do you mean you installed Composer manually?

Also, which shared hosting provider are you using? Most of them support limited SSH commands, including Composer.

If for some reason you can't use Composer in the production environment, I recommend the following:
- Install PHP (of the same version as the production environment) to a local development machine (your desktop or laptop)
- Install Composer
- Do the steps needed to install Tinyboard on your local machine
- Copy your vendor directory to your production environment
- If you can proceed with installation on your production environment and you don't log any errors, it should be a success and you should be able to delete/remove the local development environment installation

As a side note, it's always good to run a near copy of your site locally so you can work on it safely and deploy it to your production environment without issues. (I do it for this site although I've let a couple bugs slip through on accident)


File: 1584455759490.png (9.87 KB, 1364x76, same.png)

Download it from here https://getcomposer.org/download/ and install it by extracting the files to web directory.
000webhost, any recommendation?
I tried it with xampp and got same problem.


I really don't recommend using Tinyboard on 000webhost or most free hosts. But anyways to help you out I've made a ZIP of the vendor directory you'll need in order to run the current version of Tinyboard (v0.10.2):





File deleted after a few days.
Honestly, just do some reading on setting up a proper dev environment for PHP. XAMPP is a good start, but it's the bare basics and usually only works for, well, basic PHP applications.
I will reiterate that Tinyboard should not be used on a shared hosting provider. I really recommend using a VPS, as most shared hosts (especially the free ones) typically don't allow command-line applications like Composer, md5sum, FFMPEG, or ImageMagick/GraphicsMagick/Gifsicle, which are ALL highly recommended for use in Tinyboard for it's standard feature set.
And by the way, I did use 000webhost at one point when I didn't have a job. They got hacked and they did an awful job at protecting confidential user data.

File: 1585264004520.png (20.37 KB, 994x806, cheaper.png)


i cant seem to get it working do i put !45erte in the custom_capcode field or some thing




Capcodes go in your name input.

<name and/or tripcode> ## <capcode>

File: 1552404569734.gif (180.35 KB, 340x192, 1552158984797.gif)


So I keep thinking about tinyib. It is only 1.5 mb of files, and it can do anything other imageboards can do. It can even deploy in flatfile mode, which makes it so anyone can set up an instant site on just about any php server.
Instead of trying to modify 50mb or so of thousands of files of code, why not just build on tinyib? Tinyib proves that one does not need thousands of files to run an imageboard. So wtf do ppl have thousands of files in like vichan for? Every single file is another potential way to do an sql injection or xss injection. For example, people in the know can run one of the files, for example just point the browser to mychan.org/inc/data/hidden.php AND put the proper syntax afrer the hidden.php, like mychan.org/inc/data/hidden.php?3w the ?3w can do anything, reveal ip's manipulate the db, anything. It seems that chan boards don't give a rats ass about security, and they all just say oah gee let us know if there are any bugs.
19 posts omitted. Click reply to view.


You bring up several good questions here. Also, I'd love to check out your Go imageboard software. Can't lie that I've been doing a similar project, hah.

>Do we need yet another imageboard software? I mean do we have enough people looking to new imageboard software?

This is a tough question. I'd say the first part is largely philosophical. There are a lot of options, and there is a lot of variety among them. But imageboards are a fun software to work with and there's always something new that one can attempt to apply to the imageboard dynamic. For the second part, I really don't think the audience is there anymore. I feel imageboards and *chans in general are becoming a niche thing.

>How much is too much? Is 50mb of deps too much? Do we need a new stack? For example I plan to do my software run on containers as you'll only need a simple script to update it as Go binaries are 7mb/15mb.

I think it's all based on what the developer is trying to achieve. Are they looking to emulate a full suite of imageboards like 4chan? Maybe they just want one imageboard? Maybe they want it to be real-time with multi-file video and audio uploads?
Dependencies and programming language stacks I feel are really up to the choice of the developer as well. You don't NEED dependencies in most cases, but they can provide you with tooling and features that would otherwise take a lot of time to create yourself, as well as maintain.

>Do we need new features? User accounts so you can keep track of replies and watch threads or even a new "UI/UX"?

This is a matter of what audience you're trying to cater to. If you make a 4chan clone, you can expect a majority of your audience are the same people who would use 4chan. User accounts are a highly controversial topic in imageboard software, see https://wakaba.c3.cx/shii/ for more on that. A new UI/UX for imageboards is always something I've been interested in, since imageboards generally use a layout that dates to the late 1990s.

>Do we follow bigger software standards as response layout (vichan's .json endpoint)?

Creating a standard for imageboards is always something I've been interested in. I do feel that imaPost too long. Click here to view the full text.


Better yet, move it to the Gopher protocol or the new spin-off "Gemini".


To be honest I thought your reply would take a lot longer as I didn't expect this to be a populated imageboard.
About my code, it is pretty much experimental as I'm discussing with some people what would we be aiming at the end of the project. Some of my thoughts is that it must be "portable" for a lot of reasons:
- you must be able to provide basic maintenance on the code (this is one of the reasons I'm using Go);
- you must be able to port it to another place without much configuration;
- you must be able to provide a front-end as you wish based on the resftful api (there will always be a fallback to noscript users, of course);
Most of the work is still on paper as we are thinking about the tools we'll be using to build it. For example, do we sacrifice the first point of portability with a RMDB such as postgres or do we stick with "embbeded" technology that we have in Go (ex. Badger, bbolt)? With some tests we see that it can handle a considerably number of people on your imageboard.



> I feel imageboards and *chans in general are becoming a niche thing.

Unfortunately this is true. Meanwhule you can see that there are a lot of communities rising. I mean, look at this: http://textboard.org/prog. It's basically a textboard with LISP enthusiastics. I feel that even though imageboards are dying, specific communities are being born in a fast-paced manner.
But as you said, it's becoming a niche thing.

>I think it's all based on what the developer is trying to achieve.

You're 100% right here I have no comments to make.

>User accounts are a highly controversial topic in imageboard software, see https://wakaba.c3.cx/shii/ for more on that.

This is an awesome reading, thank you for sharing this. As accounts I would not identify them to other users. It would have the same aspect as the "(You)". It's debatable or I could make it optional, I don't know to be fair. I would not require an e-mail I guess as it would be a hell of verified tripfags. hah

>I do feel that imageboard JSON APIs should try to follow a general standard in the sake of compatibility.

Post too long. Click here to view the full text.



File: 1580891817133.png (6.03 KB, 186x66, WebP.png)


So far iOS is our last major obstacle (screw IE lol).

Is there any polyfill usable on Tinyboard (i.e. something to easily add to $config['additional_javascript'] or $config['url_additional_javascript']), to make pics viewable on iOS browsers?

Yes I know about pagespeed and the likes. I don't like keeping extra sets of converted images. It defeats the purpose of saving space.


Regardless of above,
when I use ImageMagick to convert a WebP file to a JPG thumbnail,
the result is fine,
but IM feels obliged to also write these to stderr:

>Decoded /tmp/magick-**. Dimensions: * x *** . Format: lossy. Now saving…

>Saved file /tmp/magick-****

Somehow IM needs to make temp files only when dealing with WebP format.
That's fine.
But Tinyboard's image.php (line 376) treats the stderr message as a blocking error.
Can you fix this?


I'll look into it. I had WebP on the agenda and it was implemented for a while, but I was noticing a lot of distros were behind on the support for it. But that should not be a concern now.


Plain GD (unless very ancient PHP) already works well with WebP and thumbnailing though. It's just config.php suggests IM and GM are still better at this job for some reason.

GD thumbnail functions are more hardcoded in image.php thus less configurable. I could modify it myself but I think it's better to suggest upstream changes rather than fiddling alone.

For example, what do you think about adding imageinterlace() for making progressive (smaller) JPG thumbnails, and imagejpeg() defaulting to about 75 quality?


PHP 7.2 didn't have support for WebP most of it's release schedule. But since most distributions now have forced an upgrade to 7.3 due to a vulnerability, it would make sense to implement WebP as an option finally.
As for JPEG thumbnailing options, that seems like it'd be a good idea, I'll do some tests to see the difference.

Excuse me for the seeming lack of presence, I've been really busy with ongoing events and have yet more planned through March.


So a followup on this - turns out I never removed the code that implements WebP. All that should be necessary in order to use it is to add this to your inc/instance-config.php
$config['allowed_ext'][] = 'webp';

File: 1574133041651.jpg (8.9 KB, 225x225, download.jpg)


Did you look at php 7.4 yet? Regular vichan is totally broke on it. Was wondering if your version will adapt to 7.4 or or at least make a patch for it so there is a 7.4 version. This will be a big deal to get it working for php 7.4, as php 8 will be totally different and require major overhaul. But at least ppl can run it on php 7.4 for a long time.
38 posts omitted. Click reply to view.


tinyboard I meant instead of tinyib


savetheinternet was always very protective of his work, and I don't ever see him willing to hand over the original repository if he ever makes a reappearance. I'm not concerned with that anyway. Any version of Tinyboard >= v0.10.0 has been from my repository.

He's not actually future-proofing anything. He's just having vichan ignore errors in future versions of PHP rather than fix them. This will eventually lead to issues that will cause unwanted behavior. Errors are meant to point out broken, bad, or flawed code in programs. While this might make sense for vichan, which labels itself as having "next to no active development", I intend for Tinyboard to be in active development for the foreseeable future, so it makes no sense to "future-proof" it by ignoring errors. Instead, I will aim to fix them as they are spotted.




BTW please look at your commit here:

Line 357 and 377

This same thing is done TWICE? Or is it intentional?
Also should the modLog() at line 366 be moved to the last instead?


Those are intentional, they're for different queries.
As for the modLog() call, it's there because the board itself has been deleted at that point, and the actions taken after that are focused on cleaning up the aftermath.

Delete Post [ ]
Previous [1] [2] [3]
| Catalog
[ an / aw / cr / fi ] [ ra ] [ au / ga / he / sp ]