Giter VIP home page Giter VIP logo

nyaa's People

Contributors

aerojun avatar akatsukiousawa avatar akuma06 avatar atvaark avatar azhao12345 avatar bakape avatar chuu2b avatar ekisu avatar evan-s avatar ewhal avatar golumpa avatar goonnyaa avatar kiloutre avatar kipukun avatar lamppostmanufacturer avatar lc-guy avatar majestrate avatar mmp0 avatar myrmece avatar nutjob avatar ripdog avatar s-varezhkin avatar sdomi avatar sfan5 avatar sisimouto avatar steindornatorinn avatar tomleb avatar tusf avatar watchoutfortanelidaizvatanenthepublicen avatar yiitt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nyaa's Issues

Pagination idex

Not really an issue but functionality.

Based on >>60217123

can you put page number 1 and make it bold on when you are on that page, also make it so its like 1 2 3 4 5 .... (last page number) and give an option so you can type in a page number you want to go to

Errors on go build

22:42 $ go build
_/home/tomleb/dev/go/nyaa
./main.go:224: cannot use "" (type string) as type Navigation in field value
./main.go:224: cannot use "" (type string) as type *url.URL in field value
./main.go:224: cannot use 1 (type int) as type *mux.Route in field value
./main.go:224: too many values in struct initializer
./main.go:226: undefined: templates in templates.ExecuteTemplate
./main.go:285: undefined: singleapiHandler
./models.go:210: t.Status undefined (type *Torrents has no field or method Status)

After a clean go get github.com/ewhal/nyaa.

Subaki's image category not fit the file

So I assume that subaki still underwork since it under heavy load most of the time and still don't have updated database (and may never will :( )

But I noticed some bug that may be worth reporting. it seem that the image category don't fit the file, let say I look for random H game, it will find it but will be under looseless audio categorey

hgfhf

I think the serach option is also a bit buggy but I saw that it was already mentioned in other thread

Uploaded torrents must not contain private flag

Magnets and DHT do not work for torrents that contain the private flag. Since people occasionally create those even for public distribution there needs to be a way to deal with them.

At least we need to survey what percentage of the data is affected.

Magnets dissapearing???

So there were some SDF Macross batches some hours ago, but now I'm looking for them and they aren't there. is this a problem with the database (sorry, not informed on the actual naming) or what? They are like the only ones working anywhere for this series (>;_;)>

A link for the database

Can someone put a link somewhere for the sql database actually used by the website? Would be more easy for the future add-on (like comments, users, ...)

Fix bug when eager loading subcategory information

On every page load the following is printed to console:
(can't preload field Sub_Categories for main.Categories)

Although we aren't doing it yet, ostensibly this means displaying subcategory information on the main page will fail. This is related to all the query functions with Preload("Subcategories") in them. No idea what the exact problem is.

About torrents, mangents, and FAQ (?)

So it seem you managed to get most of nyaa back, but my main question is, if you going to let people upload torrents again in the future or at least add magnet links, TPB proved that you can still show seeders/peers and files previews (at least before their last fall in 2015) even when you don't use trackers (I think...).

As for the FAQ it saying in the last line that "nyaa.pantsu.cat and sukebei.pantsu.cat do not host any files."..... is it mean that the FAQ still not finish (as it seem to be only title of unfinished subject) or that you completely gave up on let people upload stuff and pantsu nyaa will be simple magnet archive for old torrents without even having the option to add new contact?

Search Function doesn't quite work

I noticed this while searching for older series, but the search function doesn't function properly. I tried searching for the latest torrent that was uploaded before the ship sank, and it can't even return at least that result.

http://puu.sh/vIEzq/f0a306a9bd.png

I don't have much experience with coding, so I don't know what to test for, but I am willing to help.

Error run nyaa after build

(/root/go/src/github.com/ewhal/nyaa/db/gorm.go:33)
[2017-05-06 15:34:09] [5.39ms] CREATE TABLE "torrents" ("torrent_id" integer,"torrent_name" varchar(255),"category_id" integer,"sub_category_id" integer,"status_id" integer,"torrent_hash" varchar(255),"date" bigint,"downloads" integer,"filesize" varchar(255),"description" blob,"comments" blob )

(/root/go/src/github.com/ewhal/nyaa/db/gorm.go:33)
[2017-05-06 15:34:09] [5.19ms] CREATE TABLE "categories" ("category_id" integer,"category_name" varchar(255) )

(/root/go/src/github.com/ewhal/nyaa/db/gorm.go:33)
[2017-05-06 15:34:09] [4.09ms] CREATE TABLE "sub_categories" ("sub_category_id" integer,"sub_category_name" varchar(255),"parent_id" integer )

(/root/go/src/github.com/ewhal/nyaa/db/gorm.go:33)
[2017-05-06 15:34:09] [4.35ms] CREATE TABLE "statuses" ("status_id" integer,"status_name" varchar(255) )

Torrent sorting

Sorting based on various parameters, such as size, seeders, etc.

RSS feeds

RSS feeds for specific search queries.

Tracker data scraping and display

I think it should have this following features

  • Seed/Peer count
  • Member System

Then improve performance I think Docker is a good choice to made it scalable.

Thanks,
Wiput Pootong

Magnets not works with IEs

Yea I know IE is shitty browser but some still uses it (I personally mix browsers depend on what I going to do as sometimes IE surprise me and do things that other browsers don't), and iirc it worked just fine in old nyaa and other sites, is there any chance you will make it work with magnets? it not that big of a deal really, but if you try your best to bring back site that be better than old nyaa (which I really thankful for it btw... don't think many really said it despite being thankful themselves) it will be nice to see it beat it in any aspect :P

Some Subekei trackers are showing incorrect peers and (fake) seeds

This is for Subekei

The trackers provided with the magnet link for Files 712278 and 711897 (picture 1) are showing incorrect (fake) seeds for the swarm and also the incorrect number of peers (pictures 2 and 3). DHT seems to have it correct.

However the same trackers for 1332531 (picture 4) are behaving properly (picture 5). That leads me to believe that the trackers and torrent client are OK, but that there is something odd about how some of the files in the DB are being complied or indexed.

Windows 7, uTorrent 2.2.1, same results w/ and w/o VPN active.
1
2
3
4
5

New site don't support unicode

So my Utorrent is not in English (and so my system) and each time I add magnet link only from you guys, each line that been wrote in Japanese latters will be shown as question mark in my uTorrent,

It seem to happend only for the magnet part (at least for now, need to check stuff with other torrents) as once it changed to the torrent everything look alright.

The thing is that it never happened to me before on any site, is this thing can be fixed or it just how things will be from today onward?

Consolidating FrontEnd Efforts.

  1. Anyone interested in assisting with any aspect of the frontend development pertaining to Nyaa's revival should mail [email protected] so we can better coordinate efforts. Communications will most likely take place through discord.

  2. For easier reference by the frontend team as a whole, I'd like to request that all new feature requests / upgrades from old nyaa / fixes be commented to this document.

  3. Individuals should still make separate issue threads for each new idea, feature, upgrade request etc so they can easily be seen by the community here.

Cheers for free media.

Moderation and Report System

Before enabling upload, there NEEDS to be a report system to prevent random people from uploading trash to the site, and a Moderator Team to oversee said system.

Preferably not the old team from Nyaa, they are quite "famous", and some torrents they marked as "A+" (blue) are actually troll translations.

cough maybe someone willing to comb through reports cough

No Javscript option for certain distribution.

There can be another shutdown situation.
and this will be ultimate way to block the shutdown. TOR-ONION DISTRIBUTION , or i2p.
I know this can be looked like little illegal (which is absolutely not), but should be done for now days.
So many censorship, blocks, bullshit shutdowns. needs some solutions for that.

File List

Where available additional metadata such as number of files, file names, size, etc. would be very useful.

File names are important in the case of multi-file torrents, such as music albums or batch releases to see whether they include certain bonus material. Sizes give a rough hint at quality, absent other information.

Need better logging/error handling

We need better logging and error handling in the code.

For example, if the app can't open a connection to the database, it just panics and crashes. Crashing is fine but it'd be better if we had clear error messages printed to log files / stdout.

So anyone that wanna contribute that's one thing that can be done.

Sukebei changes proposal

  • A user should be able to login into one account for nyaa and sukebei.
  • You should be able to access a users torrents by just changing the subdomain. EX: https://nyaa.pantsu.cat/user/[username/id] -> https://sukebei.pantsu.cat/user/[username/id]
  • Sukebei's categories should be moved from 1 and 2 to 7 and 8. (while also adding their sub-categories to the main table to keep them unique)
  • Torrents for nyaa and sukebei should be on separate tables, while not have conflicting IDs (EX: start sukebei's ids at 1000000)

SPAM Filter System

There needs to be a SPAM filter before enabling upload, to prevent people and bots from uploading garbage into the site.

Here are some ideas for that, along with the moderation system mentioned on #35

The main problem is that this being an OSS project, you'd need to either:

  • Make them public too, making them easy to bypass, even if you keep adding stuff to them.
  • Make the System itself, but leaving the actual list blank (private), but this would make thing difficult for other people that want to deploy their version of the site, as they would need to create their own set of filters to prevent SPAM

IMO the second solution is best, while also lending your own version of the filters to other (trusted) people for them to host their version of nyaa.

Translations

You have chosen to use a .cat domain. Since the website is not directly related to the Catalan community nor translated into Catalan, the domain is likely to be suspended in the future, as the registry authority has already done in the past with other domains.

However, if you need a Catalan translation, we can help! The site should be prepared to accept multilanguage, and then we can translate anything you need! ;)

Allow uploader to take ownership of their old account/torrents

On nyaa there were a handful of primary uploaders, this feature would allow an uploader to link their old user with their new one or restore their old account.

An uploader is required to verify that they own the old user by release website, forum profile (anime-sharing, 2djgame, mikocon, etc), IRC, twitter, etc by looking at their history and require a verification post or message on said website. The verification process will be verified by 2 or more moderators.

The uploader can request this feature via IRC. (help channel?)

All Existing torrents should be locked to would prevent malicious users that got past the verifying process or are now malicious from modifying torrents.

Methods

  1. account restored, no changes needed.
  2. When you visit the new or old user profile it will display both user's torrents.
  3. redirect old user id to new one and display both user's torrents on new account.
  4. have a better idea?

Whats your ideas for displaying older torrents for users that "imported" their accounts? (2,3)

A step into the future by going back.

Fix view handler being borked

Mostly due to the HomeTemplateVariable object not being passed the correct parameter types, specifically:
Navigation
url.URL
mux.Route

Torrent pages

Similar to #25, but is more bare-bones with information such as name, date, and size. #25 can be seen as an extension to this issue.

404 page suggestions

On IRC we discussed making a custom 404 page. Original nyaa had a 403 page with a cute miku (probably something similiar on 404 page but i'm not able to retrieve that one); As the new page is more Megumin/Renchon themed, we should pick a new one. Please send your suggestions in this issue.

My suggestion:
disappointedmegu_nobackground
(ofc this would need to be completely redone from scratch, but i can do it)

Grabbing old and recent torrents from the wayback machine

Earlier i read somewhere about people not being able to get past page 1000 when scraping stuff from before 2010.
So i raise you these in the hopes that you may be able to scrape some recent stuff and old stuff from it.
https://web.archive.org/web/*/nyaa.se
https://web.archive.org/web/*/sukebei.nyaa.se
https://web.archive.org/web/*/nyaatorrents.org
https://web.archive.org/web/*/sukebei.nyaatorrents.org
https://web.archive.org/web/*/nyaa.eu
https://web.archive.org/web/*/sukebei.nyaa.eu

All of the torrent links and magnet hashes appear to work (i.e. torrent files are downloadable).
Earliest snapshot of nyaa.se is 2012 and the latest is april 30 2017.
Earliest snapshot of sukebei.nyaa.se is 2013 and latest is april 30 2017.
Earliest snapshot of nyaatorrents.org is 2006 and latest is april 30 2017.
Earliest snapshot of sukebei.nyaatorrents.org is 2008 and latest is april 30 2017.
Earliest snapshot of nyaa.eu is 2011 and latest is april 30 2017.
Earliest snapshot of sukebei.nyaa.eu is 2011 and latest is april 30 2017.

appearance

1)The date column breaks the characters whenever there's a name that is longer than 1 line and the height of the rows is increased. 2)Also in some pages (i.e. page 4) the name column moves 10px to the right. Kind of trivial but annoying.

follow the installation, stuck on "./nyaa"

./nyaa

(/opt/golang/src/github.com/ewhal/nyaa/db/gorm.go:34)
[2017-05-06 12:22:39] [2.56ms] CREATE TABLE "torrents" ("torrent_id" integer,"torrent_name" varchar(255),"category_id" integer,"sub_category_id" integer,"status_id" integer,"torrent_hash" varchar(255),"date" bigint,"downloads" integer,"filesize" varchar(255),"description" blob,"comments" blob )

(/opt/golang/src/github.com/ewhal/nyaa/db/gorm.go:34)
[2017-05-06 12:22:39] [2.37ms] CREATE TABLE "categories" ("category_id" integer,"category_name" varchar(255) )

(/opt/golang/src/github.com/ewhal/nyaa/db/gorm.go:34)
[2017-05-06 12:22:39] [1.82ms] CREATE TABLE "sub_categories" ("sub_category_id" integer,"sub_category_name" varchar(255),"parent_id" integer )

(/opt/golang/src/github.com/ewhal/nyaa/db/gorm.go:34)
[2017-05-06 12:22:39] [1.97ms] CREATE TABLE "statuses" ("status_id" integer,"status_name" varchar(255) )

then no response

could not open ip:9999 as well

PS. I run it on the server.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.