/g/ - Technology & Programming

where i download meguca database?
i have liveboard on meguca and i must download database but i dont know where is it
>>2777775 #

>>2768937 #
There are some, I think, but I don't actually know the details. They don't have to ask me to use the API or anything.

php > echo true;
php > echo false;
php > var_dump(false>=0);
php shell code:1:
php > var_dump(''>=0);
php shell code:1:
php > var_dump((''==false));
php shell code:1:

Bad language. orz
>>2772860 #>>2772700 #

gib back 76 u faggot


「4/g/ filters」

AnonymousExpandLast 100
Anon asked for my filters. Delivering.



/^\/mkg\/ - Mechanical Keyboard General$//
/^\/BST\/ - Battlestation$/
/Home ?screen/
/^\/wt\/ watch thread$/
/macOS|os ?x|ios/
/Battle ?Station/i

/graphics? card/i
/cross ?dress/i;op:no
/This thread is pathetic\. It is not about programming/
/too smart to/i
/C is a disservice to intelligent programmers/


「DistChan or TagChan」

AnonymousExpandLast 100
GIqSnWaDs37 KB540x500network-distributed.gif
I'm thinking about writing an ultra light imageboard engine for distributed chans. I can write JavaScript, since I wrote CatChan, but I'm not webdev and I don't know PHP, SQLite, CSS, Captcha, Apache or Nginx, so anyone who provide technical advice are welcome. However, it will be an conceptual one, so I'll refuse all conceptual advice probably. Anyway, helps or advice are welcome. And also, anyone who want to try this in your site are also welcome.
66 posts and 0 image omitted See All
>>2725614 #
Anyway, the one I'll make is a prototype, so it aims for chrome and FireFox. I'll release it as AGPLv3, so you can fork codes.
>>2725616 #
> Try to use TinyIB as a base. Only for a prototype at least.
No. There is a problem as follows,
> No portion of the Software shall be used to form a work licensed under any version of the GNU General Public License, as published by the Free Software Foundation. (from license of TinyBoard)
The client side JavaScript will be a cut down of my CatChan. So this can't be avoided.
>>2725642 #
>>2725642 #
Now I checked the TinyIB and it will be a good base. Thanks.

When using catchan with 4chan-x in waterfox(and I assume firefox) it treats 4chan-x's catalog view as index view. All the threads are displayed as if you were browsing index view, rather than as tiles.
>>2455583 #>>2455602 #
>>2453664 #
CatChan doesn't support 4chan-X's catalog, because 4chan-X tweaks HTML so much, it's hard to support. However, CatChan supports 4chan's native catalog. They are different URLs, for example,
4chan's native catalog: http://boards.4chan.org/a/catalog
4chan-X's catalog: http://boards.4chan.org/a/
As you see, url of 4chan-X's catalog is the same as url of index view, there is a historical reason. As far as I know, 4chan-X had provided catalogs before the native, and 4chan adopted it after that with different url, so 4chan-X's catalog has the url of index page, and 4chan-X rewrite whole HTML to make catalog. This is why it's hard to support. You can switch which catalog the [Catalog] link refers in index view in 4chan-X's setting,
bump for keep


「I broke meguca with 1 character」

Mega MilkExpandLast 100
GIqSnWaDsEx252 KB373x56769868751b40437ab8664e86df57914c4-imagepng.png
I posted unicode that crashed meguca. I will not post this character as in the wrong hands will destroy your site. There is an exploit in Chrome based browsers that don't allow a certain Unicode character to be posted.

The bug is being reported to Google so it should be fixed soon. Be careful guys. Use Firefox on any realtime imageboard until this is confirmed to be fixed.

Mods should sticky this as a warning on the front page.

- Your friends at mewch.net
>>2717599 #

test test2

>>2588303 #
Custom CSS code to use for the meantime (use on Ashita)
part 1/2
body {
margin: 0;
padding: 0;
font-family: Monaco, "Andale Mono", Courier, monospace;
font-size: 10pt;
background-color: #000;
#threads:not(.custom-BG) section > article.editing:not(:first-child) {
background-color: #B2B2B2;
border-color: #B2B2B2;
color: #000;
#threads.custom-BG section > article.editing {
background-color: #B2B2B2;
border-color: #B2B2B2;
color: #000;
#threads:not(.custom-BG) section > article.editing:not(:first-child) code.code-tag {
background: #000;
#threads.custom-BG section > article.editing code.code-tag {
background: #000;
>>2588329 #
>>2588320 #
part 2/2
article.preview.editing code.code-tag {
background: #000;
code.code-tag {
background-color: #000;
article.preview.editing {
background-color: #B2B2B2;
border-color: #B2B2B2;
color: #000;
.side-panel {
background-color: #000;
border: 1px solid #000;
.embed {
background-color: rgba(0,0,0,0.4);
color: white;

For better horizontal posting (imo) add >>2114143 # either to the top or the bottom of your custom CSS
#thread-container {display:flex;flex-direction: row;flex-wrap: wrap;align-items: stretch;}
Just thought I'd post it here in case someone is looking for how to do it. It's pretty obvious yeah, but if someone just wants to fix their custom CSS for the catalog and doesn't know how to do it, here you go.

I just tried it thinking it would look better, but that's not the case IMO. It evens out the thread boxes in the catalog.
#catalog article {
height: 300px;


「hydron dev thread」

AnonymousExpandLast 100
GIqSnWaDsEx11 KB191x191proton.jpg
Hydron is a much faster Hydrus alternative backend.
Version 1.0.0 released. Basic API now complete.

README: https://github.com/bakape/hydron/blob/master/README.md
API docs: https://github.com/bakape/hydron/blob/master/docs/client_development.md
Static Windows binary: https://github.com/bakape/hydron/releases/download/v1.0.0/hydron-v1.0.0_windows_x86_64.zip

Anyone interested in developing or co-developing a GUI frontend? Any language is fine.
47 posts and 5 images omitted See All
>>1926561 #
If you going to start a tag war with diverged features, please don't. Helping is good.
Reimplementing Hydrus is fine, there are more new features for Hydrus on the way.
t. Hydrus user
>>2060679 #
>>2060241 #
I decided to not. Hydrus tag spec are a clusterfuck and very inefficient to scrape. I'd rather just sync tags from various boorus.
>>2320594 #
I've just been busy with other things. The CLI is pretty complete already, but I have not had the time to work on the GUI in a while.
Reworked Qt frontend and added file removal. bump