Nyaa Replacement General /nrg/

Previous This thread is for the discussion of NyaaPantsu (nyaa.pantsu.cat), a free (FOSS) torrent indexer.
The aim of this project is to write a fully featured nyaa.se replacement in golang that anyone will be able to deploy locally or remotely.

FAQ
>pastebin.com/Gq9MrJN5

>Why is Pantsu down/error 502?
Most likely because the team is deploying changes. Wait for a bit and refresh the page. It should be mostly stable now.


News
>Nyaa works!
>Sukebei is in the process of being fixed
>Categories and searching works on master
>Filelists are implemented but need to be made hideable and tree view
>People are working on improving search and making it faster.
>Sukebei and nyaa accounts will be the same.
>New theme will be added.
>Daily db dumps possibly later today/tomorrow.
>Gravatar will be removed and replaced.
>Mascots will be customizable.
>Site status page has been added!

Links --
Nyaa clones:
*nyaa.pantsu.cat (Sup Forums+Sup Forums project; db is up to date)
*sukebei.pantsu.cat (porn version of the above; db is up to date, but close to 1 year of JAV was lost)
*nyoo.moe (redirects to nyaa.pantsu.cat)
*nyaa.rip (uses old nyaa DB, unknown owner)
*sukebei.nyaa.rip (same as above)

Nyaa alternatives:
*anidex.info
*tokyotosho.info
*anirena.com
*acgnx.se
*shanaproject.com

Local Client:
>An user made a local client in case the online sources are down: instructions and download at
>nyanner.net
qBittorrent plugin for Pantsu.
>github.com/4chenz/pantsu-plugin

Development roadmap:
>trello.com/b/gMJBwoRq/nyaa-pantsu-cat-roadmap

NyaaPantsu Status:
>status.pantsu.cat

Development and discussion channel:
>github.com/ewhal/nyaa
>#nyaapantsu on Rizon

Other urls found in this thread:

status.pantsu.cat/
github.com/NyaaPantsu/nyaa/issues/644
github.com/NyaaPantsu/nyaa/blob/dev/service/scraper/scraper.go#L184
178.62.167.60/
my.mixtape.moe/wpptor.7z
45.77.37.158/faq
nyaa.pantsu.cat/dbdumps
twitter.com/SFWRedditImages

...

mean person

...

Is pantsu down for maintenance?

4th for nyaa.si

502

status.pantsu.cat/
Check the OP.

make your own nyaa.si thread on reddit shitposters

>[14:35] (@ewhal4) holy shit this website is giving me cancer
>[14:35] (@ewhal4) nyaa.si is so much better
>[14:35] (@ewhal4) we just can't compete
>[14:36] (@ewhal4) I'm sorry guys but I'm shutting down Pantsu first thing in the morning
>[14:36] (@ewhal4) thank you for all your hard work
>[14:36] (@ewhal4) goodnight

FUCK FUCK FUCK

Quick update:
Something happened to me last Thursday when I was driving home. I had a couple of miles to go - I looked up and saw a glowing orange object in the sky, to the east! It was moving very irregularly... suddenly there was intense light all around me - and when I came to, I was home. What do you think happened to me?

why wasn't pantsu written in perl 6??????

github.com/NyaaPantsu/nyaa/issues/644

Seeders/leechers/competed scraper doesn't update in postgresql #644
Can't reproduce locally.

This is really important, fix it please.

JUST

This is the end,
My only friend,
The end,
(of pantsu)

>pantsu are down frequently
L-lewd as fug.

Is this really the new thing? Everyone becomes PantsuDev?(Well not that everyone wasn't already...)

What chat was that in? Anyway... nice bait.

>look for scrape code
>shits all over the entire codebase
how do you produce code this fucking shitty

I think at this point a rewrite makes the most sense. Comparing it to the nyaa.si repo makes you realize just how awful the pantsu code really is.

にゃんぱすー

nyanpasu!

How come nyaa.si does not have nearly as many issues as Pantsu?

stop bullying the pantsu!

Uh so does anyone remember pant.su?

>written in a mature language
>written by people with experience in webdev

>inb4 im called a cartel shit
That's just how it is. Pantsudev is pretty green when it comes to programming as are all of the other people working on pantsu.

>shits all over the entire codebase
Just looked at it.
Doesn't really look bad but the code is unnecessarily spread out over a handful of tiny files.
database/postgres/scrape.go 28 lines
common/scrape.go 14 lines
config/scrape.go 29 lines
service/scraper/transaction.go 147 lines
service/scraper/scraper.go 216 lines

Regarding the issue they should at least have some raw sql output to look at for debugging.

>MGS2'd

Why did the cartel shitposting suddenly slowed down? Don't bore me now ya hear me?

Where is Ren-chon on my Opera?

>opera
She's in 2017, user.

Protip, that's a nyaazi shill.
Another protip, native japanese speakers can tell when foreigners are posting from the way they write, you can't fool them.

He literally shilled for pantsu

>code isn't that bad
Oh yeah? Look at this masterpiece right here.

github.com/NyaaPantsu/nyaa/blob/dev/service/scraper/scraper.go#L184

hey /nrg/, wut dis, 178.62.167.60/

>opera
Found the problem!

nice reading comprehension

look at the other posts made with the same ID you asshat

Tables names can't be provided as arguments.
Aside from the length there's nothing wrong with that line.

I tried to edit the theme that was being posted here, but I ended up rewriting the whole thing.
Any input?
my.mixtape.moe/wpptor.7z

Ahahahaha great meme, now answer the question

I use nyaa.si because the jdrama guy puts his torrents there.

Pantsu is 2 weeks behind on my favorite current drama. (Hiyokko)

Looks great user.

The gyaru renge for sukebei is a nice touch.

It's probably a shitposter shitposting both sides. We get that all the time here recently.

I'm about to put you 2 weeks behind your mother you fucking cunt.

185.83.215.2

At least format it properly so people don't vomit when they stumble over this shit
rows, err := db.ORM.Raw(
"SELECT torrent_id, torrent_hash" +
" FROM " + config.TorrentsTableName +
" WHERE ( last_scrape IS NULL OR last_scrape < ? ) AND date > ?" +
" ORDER BY torrent_id" +
" DESC LIMIT ?",
now, oldest, packets*ScrapesPerPacket
).Rows()


But i bet you can't do that because the go compiler will yell at you kek
top shit language

That's Mafuyu

Yes looks much better, but still a few things need fixing.
1 arrow for sorting columns, make it slightly bigger too or have the color stand out.
Stretch out the page numbering on the bottom, needs to be able to select far more pages.
Put powered by nyaapantsu below the theme and language select and reduce the spacing between those and the page listing.
Cut the spacing between the header and the start of the list too, don't need to have such a big gap.

Too much space at the bottom

I completely agree but if that's the worst line you managed to find then there's not much to worry about.

I only skimmed through the code but I can't really tell if it's ok or not because I don't know how things are generally done in Go.
What I do know is that I've read the spec and that I don't want to touch the language.

>gyaru renge

>mafuyu
>gyaru renge
I'm triggered.

Wouldn't be an issue if the mascots weren't so retardedly huge. I mean that goes against the entire point of their minimalistic style in the first place.

>What I do know is that I've read the spec and that I don't want to touch the language.
I like you user.

>The gyaru renge

So any ETA on the unknown for new torrents fix?

45.77.37.158/faq

soon(TM)

we have a tracker now?

I clicked this and now my files are encrypted
wtf

I'm sure it's just some Opera CSS problem.

Not really. Most of their use are actually as wallpapers and those are even bigger.

Isn't Pantsu suppose to do daily db dumps? Where are those at?

Why waste effort on the design when everyone just uses automated rss downloads and will never see the actual website?

Not only are they encrypted but you're now also being used to mine bitcoins.

I like it far better than the other design that was being argued about in the past threads.
Tomorrow looks great.

This makes my dick hard.

This isn't a walpaper though, It's a website. I mean I'm not a fan of a persisitent render constantly following you while you scroll at all and rather it stayed as a banner thing, but at least the current design is minimal enough and fits the rest of the site's theme. This massive tumor on the other hand is just straight up fucking dumb.

Ask ewhal4 on IRC.
He only occasionally glances at the thread.

They've said they want to get the platforms(normal and NSFW) on same code(last I recall)... Then again the IRC topic currently holds a DB Dump for the site... #nyaapnatsu-dev@rizon

Last I remember pantsudev is working on the scraper so he can scrape anidex.

This made me realize we don't have a night mode sukebei mascot.

How about a gyaru then?

You should use erlang on the server side, it scales well and you can replace functions at runtime without having to go down for maintenance.

The stuff needed for db dumps mostly is ready.
Will be at nyaa.pantsu.cat/dbdumps or something and they'll be gpg signed.
Torrents for the dumps will also be generated.
Nearly ready.
Everything now runs off the same code base just been busy with non-pantsu related stuff.

>run a load balancer and at least two backend instances (can be on the same server)
>remove an instance from the load balancer and wait until all the current requests are processed
>update the instance
>repeat until all instances are updated

gyaru megumin

Yeah sure, just not gyaru renge

A trap would be perfect.

will it be like whole db dump daily or a big dump, then a diff daily?

When are you going to bed?

>mfw opera here too
I think I got your Renchon, sorry bout that

how do I use this?

Read api when?

hello squareanon

Damn, you got me. Hi user.

Also working on the scraper for anidex.moe.
Big dumps for now but do want daily diffs to make life easier for people.
Soon.
Already exists.

ye, daily diffs, then, monthly diffs, then like a whole dump every season. whatever.

Shimakaze?

Fix the seeder count pls.

God fucking damn it user.

...

Did you get your scissors?

this is great

I think the big mascot design is more suitable as a mobile version. Just reduce the unnecessary spaces and make the columns more slimmer so it fits perfectly on a tiny screen

PLEASE PLEASE PLEASE MAKE THIS HAPPEN

I don't see anything wrong with this.

>tfw nyaa.si acting like Sup Forums

beautiful