stephen304 / bitcannon

A torrent index archiving, browsing, and backup tool
http://bitcannon.io/
MIT License
408 stars 40 forks source link

Invalid categories appearing on 'browse' page #80

Open MightyRufo opened 9 years ago

MightyRufo commented 9 years ago

capture I have over 5 million torrents imported so far, and I wish to import another 20 million. I'm on a mission to import a full database of.. almost all torrents. Call me crazy! But I have got it working just fine. In fact, it's fast! But the browse page has broken for some reason. Any ideas?

OmgImAlexis commented 9 years ago

@Stephen304 I've noticed the demonoid hourly update is also causing this, maybe it's something to do with it being gzipped? Maybe there's a library update or something that fixes this issue?

stephen304 commented 9 years ago

I can try recompiling after reinstalling the go packages, but I won't be able to do that until probably tomorrow. Maybe I'll have time to start maintaining this again since it's getting traffic for some reason.

OmgImAlexis commented 9 years ago

@Stephen304 this article was shared on HackerNews or Reddit, can't remember which one though.

stephen304 commented 9 years ago

Ah, back in january it was on both because my friend decided to post it. It's nice to get more traffic and people to give feedback on this.

On Mon, Oct 12, 2015 at 8:16 PM X O notifications@github.com wrote:

@Stephen304 https://github.com/Stephen304 this https://torrentfreak.com/bitcannon-download-torrent-sites-to-use-offline-140118/ article was shared on HackerNews or Reddit, can't remember which one though.

— Reply to this email directly or view it on GitHub https://github.com/Stephen304/bitcannon/issues/80#issuecomment-147554260 .

OmgImAlexis commented 9 years ago

Also since we added support for it to SickRage there's now another 10k+ potential users. If this wasn't mainly in go I'd help, is there any chance you'd rewrite the go parts in node or are they in go for a reason?

stephen304 commented 9 years ago

I could maybe get behind a node rewrite. I did it in go for mainly hipster reasons, it's new, has nice package management (node probably wins though), compiles naively to machine code, has nice scoping that I enjoy working with, has a nifty type system that I think makes coding easier. Node is also very good though and most of the heavy lifting is done in mongo so a node rewrite is an option.

On Mon, Oct 12, 2015, 8:41 PM X O notifications@github.com wrote:

Also since we added support for it to SickRage there's now another 10k+ potential users. If this wasn't mainly in go I'd help, is there any chance you'd rewrite the go parts in node or are they in go for a reason?

— Reply to this email directly or view it on GitHub https://github.com/Stephen304/bitcannon/issues/80#issuecomment-147558521 .

OmgImAlexis commented 9 years ago

Well if you could help even with getting most of it into node I would definitely be up to helping fix issues that come along and adding enhancements that people suggest.

stephen304 commented 9 years ago

I might have some time to work on it this weekend. I'll probably make a node-bitcannon repo or something. One concern with a node version is that people will probably have to install node to run it. With Go I just ran gox and I got a binary for every platform that people can download. Idk if node has a thing for packaging node programs into a bundle executable + node environment. On the plus side, I'm pretty sure there's node gui things that run a web page in the window of the node app. Something like electron. So that would be good for usability.

On Mon, Oct 12, 2015 at 11:14 PM X O notifications@github.com wrote:

Well if you could help even with getting most of it into node I would definitely be up to helping fix issues that come along and adding enhancements that people suggest.

— Reply to this email directly or view it on GitHub https://github.com/Stephen304/bitcannon/issues/80#issuecomment-147583287 .

OmgImAlexis commented 9 years ago

Like you said there are projects like electron that help with packaging it up, there's also nexe and a few others. There's also the option of just providing the source and forgetting about the binary, then people just install node and do something like this. That'll install nvm and then download and setup node v4.0.0, then clone the repo, install the npm dependencies and start the project with forever using the uid of bitcannon. To stop it they'd just run forever stop bitcannon.

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
nvm install v4.0.0
git clone https://github.com/Stephen304/bitcannon && cd bitcannon && npm install && npm install -g forever && forever --uid bitcannon start app.js
stephen304 commented 9 years ago

@OmgImAlexis I've started a new issue for the rewrite discussion on #89

Issam2204 commented 8 years ago

@stephen304 Hi! Is the project still alive? I'm trying to use it but a couple of bugs (including this one) makes it impossible.

Thanks!

stephen304 commented 8 years ago

Not really, I haven't had much time to put into this project and I don't have the kind of unmetered internet connection I used to have which made testing this easier.

Try making sure the data is clean and in the right format before importing.

On Wed, May 18, 2016, 7:10 AM Issam Chajii notifications@github.com wrote:

@stephen304 https://github.com/stephen304 Hi! Is the project still alive? I'm trying to use it but a couple of bugs (including this one) makes it impossible.

Thanks!

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/stephen304/bitcannon/issues/80#issuecomment-219995390