Giter Club home page Giter Club logo

taobataoma / meantorrent Goto Github PK

View Code? Open in Web Editor NEW
487.0 45.0 145.0 17.55 MB

meanTorrent - MEAN.JS BitTorrent Private Tracker - Full-Stack JavaScript Using MongoDB, Express, AngularJS, and Node.js, A BitTorrent Private Tracker CMS with Multilingual, and IRC announce support, CloudFlare support. Demo at:

Home Page: https://mean.im

License: Other

JavaScript 64.70% HTML 28.60% CSS 6.62% Shell 0.03% Dockerfile 0.05%
meanjs angularjs express nodejs mongodb bootstrap3 gulp passport socketio mongoose

meantorrent's People

Contributors

amoshaviv avatar codydaig avatar enkodellc avatar fyockm avatar hyperreality avatar igorauad avatar ilanbiala avatar itelo avatar jloveland avatar katoxi avatar liorkesos avatar lirantal avatar luebken avatar michaeljcole avatar mleanos avatar mrjasonweaver avatar netusco avatar pgrodrigues avatar pierrebrisorgueil avatar pontifier avatar purebaba avatar rhutchison avatar rschwabco avatar simison avatar spacemonkey avatar sujeethk avatar sylvainlap avatar taobataoma avatar trainerbill avatar wansco 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

meantorrent's Issues

Updates

@taobataoma often do updates. You can write how to update on the server so that each time you do not install again?

Uploaded torrents don't display home/torrent

As mentioned in the title, after uploading a torrent, the only way I can get to its sheet is by browsing my uploaded torrents.
In fact it doesn't show neither on the home page nor in the torrent section (all filters empty).
It seems that admin cannot valide torrents

error on npm start

hello,
when i run "npm start" , I get the error Could not connect to MongoDB!.

However, mongodb is ok and fonctionnal

[22:33:53] [nodemon] Looking in package.json for nodemonConfig
[22:33:53] [nodemon] 1.12.1
[22:33:53] [nodemon] reading config /home/titinio/meanTorrent-master/package.json
[22:33:53] [nodemon] to restart at any time, enter rs
[22:33:53] [nodemon] ignoring: .git .nyc_output .sass-cache bower_components coverage /home/titinio/meanTorrent-master/node_modules//*
[22:33:53] [nodemon] watching: modules//server/views/.html server.js config/
/.js modules//server/**/.js modules//server/config/*.js
[22:33:53] [nodemon] watching extensions: js,html
[22:33:53] [nodemon] starting node --debug server.js
[22:33:53] [nodemon] child pid: 11405
Debugger listening on [::]:5858

[22:33:54] [nodemon] watching 488 files
Could not connect to MongoDB!
[SyntaxError: Unexpected token ...]

thank you in advance for your explanations

Jul13n

Chat

In chat page, If I send message:

<script>alert("Hello!")</script>

It is ok, but if I send:
<script<>>alert("Hello!")</script<>>
Code will be executed.

I‘m not good at English.I hope my description is clear...

Forum issues

Normal/VIP users can view Admin Topics that are in "Global topics".
Normal user can access any admin/vip topic through it's url even though it's not displayed.
Users aren't restricted to access certain parts of the forum, those topics are just hidden.
Also, admin/oper can't modify topic titles, they can only modify it's content.
List usable emojis in forum/comment section, you can use existing jQuery models or css plugins
https://github.com/OneSignal/emoji-picker
http://franverona.com/jemoji/
https://ckeditor.com/cke4/addon/emojione (CKEditor's plugin)

README.md

You can add to README.md:
By adding a language:
Add to /config/assets/default.js:
'public/lib/bootstrap-markdown/locale/bootstrap-markdown.zh.js'
'public/lib/bootstrap-markdown/locale/bootstrap-markdown.new.js'
and
'modules/core/client/app/trans-string-en.js',
'modules/core/client/app/trans-string-new.js',
To /config/assets/production.js
'public/lib/bootstrap-markdown/locale/bootstrap-markdown.zh.js',
'public/lib/bootstrap-markdown/locale/bootstrap-markdown.new.js',

Menu add

if possible please add "Home" in main menu bar

Collections tab

  • 31.Complete movie collections support, Admin can create a collection and insert any movie into it, user can view collection and download all torrents of the collection.

I didn't find options where can 'admin' or 'oper' put torrent to collection like this http://chd.im:3000/collections

Announce URL with passkey

Hello,
Firstly, thank you for your great work, it's working fine :)

I have a suggestion about the announce URL, how if we put directly the passkey on the announce URL on the upload page? So the user don't need to redownload the file after upload it to begin the seed?

And, have you a forum about request or issue?

Thank you and the best of wishes for the future ;)

Hiding meanTorrentConfig from source code

Hi,

Please excuse my ignorance, but is there any way to hide the config from the source code? If you view the source you can see the full torrents.js config. This exposes alot of information, some being sensitive. Thanks.

EG.

<script type="text/javascript"> var user = null; var env = "production"; var meanTorrentConfig =

WYSIWYG editor for comments, forums, ...

Would be nice to offer a simple rich text editor for user messages, comments, forum posts and so forth. I think for parts of the user base learning Markdown syntax could be a barrier.

I would prefer the rich text editor to be rather lightweight and unobstrusive. TinyMCE and others are powerful but might be overkill in this situation.

Possible options:

Potentially useful formatting options:

  • P, H1, H2, Code, Pre
  • bold, italic, underline
  • insert images (hook this up with meanTorrent upload?)
  • insert links
  • bullet/numbered lists
  • quotes
  • insert smileys

Configuration options:

  • Formatting options to show
  • Site-wide enable/disable WYSIWYG editor
  • Per-user enable/disable WYSIWYG editor

I experimented with Hallo with good results. All the content is saved as Markdown to the database (using to-markdown).

Would do you think?

Modification

I showed my work to a few friends. They like it very much. They said that if there was an admin panel in which you could set all the options that need to be changed in the configuration files then this would be the best tracker they have seen.
But everyone said that he did not want to register his name and name with just a nick.
Is there a possibility of such a modification?
screenshot_xxx1

All torrent on simple clic on torrent in menu user or subcat

first of all, I would like to congratulate you on your work.
It's been 10 days since I installed your code, explored and put in real situation.
the script is clean, fast, and low resource utilization.

However, I have a question:
1 / How to display all torrent in torrents/movie (is a example) without the need to select a tag.
2 / How to create a link to domain.tld/torrents to display all torrents of all categories.

I hope you'll be able to clear me up.

best regard

Jul13n

Deploying meanTorrent To Heroku fails

When using the Heroku method I'm running into the build failing:

-----> Deleting 0 files matching .slugignore patterns.
-----> Node.js app detected
-----> Creating runtime environment
       NPM_CONFIG_LOGLEVEL=error
       NPM_CONFIG_PRODUCTION=true
       NODE_VERBOSE=false
       NODE_ENV=production
       NODE_MODULES_CACHE=true
-----> Installing binaries
       engines.node (package.json):  >=6.10.0
       engines.npm (package.json):   >=3.10.8
       Resolving node version >=6.10.0...
       Downloading and installing node 9.2.0...
       Bootstrapping npm >=3.10.8 (replacing 5.5.1)...
       npm 5.5.1 installed
-----> Restoring cache
       Skipping cache restore (not-found)
-----> Building dependencies
       Installing node modules (package.json + package-lock)
       WARNING: You are likely using a version of node-tar or npm that is incompatible with this version of Node.js.
       Please use either the version of npm that is bundled with Node.js, or a version of npm (> 5.5.1 or < 5.4.0) or node-tar (> 4.0.1) that is compatible with Node.js 9 and above.
       /tmp/build_ecbf9df11af64b73a68b3087d2b5b528/taobataoma-meanTorrent-484529b/.heroku/node/bin/node[238]: ../src/node_zlib.cc:437:static void node::{anonymous}::ZCtx::Init(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args.Length() == 7 && "init(windowBits, level, memLevel, strategy, writeResult, writeCallback," " dictionary)"' failed.
       1: node::Abort() [npm]
       2: node::Assert(char const* const (*) [4]) [npm]
       3: 0x1255aff [npm]
       4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) [npm]
       5: 0xb77f9c [npm]
       6: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [npm]
       7: 0x24ec4e8042fd
/app/tmp/buildpacks/19862b8792e84bd8421ded4660b92dfd1c41d92e19ac0b38c90301adc8ae3e0bd512fa01998af18fc2f0d31a157e9c82e8fdceba1a05e5d29adb8dc2bfaf08e1/lib/dependencies.sh: line 111:   238 Aborted 
npm install --unsafe-perm --userconfig $build_dir/.npmrc 2>&1
-----> Build failed
       
       We're sorry this build is failing! You can troubleshoot common issues here:
       https://devcenter.heroku.com/articles/troubleshooting-node-deploys
       
       Some possible problems:
       
       - Dangerous semver range (>) in engines.node
       https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
       
       Love,
       Heroku
       
 !     Push rejected, failed to compile Node.js app.
 !     Push failed

Any suggestions? Thank you.

Torrent delete failed

Hi
I'm using Linux (Arch) and can not delete. Display error:
Torrent delete failed

Suggestions

Hi!
I just found about meanTorrent and I think you did a great work there. I love it !
However, I would like to see some features and adjustments made in futur updates 👍

Here are some suggestions:

More Payment Methods

Hi taobataoma,

We need more payment methods. We cant use Alipay, Weixin ..

I would prefer paypal, BTC and Skrill, payza, paysafecard and what is possible. More options will be good.
(https://gear.mycelium.com/ is good options for Bitcoin)

** Donations system can be work fully automate ?

Users Donations Gift Example

  1. Immunity Status for Hit and Run
  2. Temporary Donor Star and VIP Status
  3. Temp. VIP Status
  4. IRC Voice
  5. Upload Credit and etc..

** Signup with Donations System is possible? When non user made donations, system will send invite to user email adress?

This is system is really important for trackers owners. Please take some time for it.

Thank You.

Edition

How can you edit a torrent theme to change a movie description or add a new torrent after reset passkey?

First user was created as "user" not admin

I've followed the instruction and ran meanTorrent in production mode. I've registered a user and I've confirmed the email. So far so good. But the newly created user was not admin user, but a normal user. How can I fix that?

TV series

I want to add a serial that has 2500 episodes and every day is a new episode.
Can you add new episodes to this series? Are there only new topics every day?
Is there an option like in collections?

Hit and run

Hi,your script is very good and i like it much.

Is there any hit and run implement in the next releases?

IMDB Language

How I may set own language, for example: "ru", because all movies or tv serials has non-russian descriptions ?

Smtp configuration

How to set up smtp mail?
Port, authentication, password, stmp.domain.com?

Getting error during startup

Hello
I m receiving following error during start up. Pls help in resolving the issue.

[root@vps meanTorrent]# npm start

> [email protected] start /root/meanTorrent
> gulp

[20:02:16] Using gulpfile ~/meanTorrent/gulpfile.js
[20:02:16] Starting 'default'...
[20:02:16] Starting 'env:dev'...
[20:02:16] Finished 'env:dev' after 180 μs
[20:02:16] Starting 'copyLocalEnvConfig'...
[20:02:16] Starting 'makeUploadsDir'...
[20:02:16] Finished 'makeUploadsDir' after 582 μs
[20:02:16] Finished 'copyLocalEnvConfig' after 32 ms
[20:02:16] Starting 'lint'...
[20:02:16] Starting 'less'...
Potentially unhandled rejection [2] '../../../../public/lib/bootstrap/less/mixins/vendor-prefixes.less' wasn't found. Tried - /root/meanTorrent/public/lib/bootstrap/less/mixins/vendor-prefixes.less,../../../../public/lib/bootstrap/less/mixins/vendor-prefixes.less in file /root/meanTorrent/modules/core/client/less/mt-var.less line no. 3

Problem on creating account

Hello all,

I am encountering a problem when creating a user:

  • when I use a mail address with gmail, I don't have any error, I can create the account successfully

  • but when I use other mail domain (like ours "@ipedom.com"), I get an error when I active the account with the link I received in the mailbox
    create_account_error

  • Or when I checked the account status, I can see that the status of the account is "normal"
    create_account_error3

  • so I have test to log with the account and I have already the error message
    create_account_error2

  • but I have tried to refresh the page and now I can viewed the home page successfully

So were is the problem, perhaps I have put wrong thing on my config?

PS: before, I have created 2 user with that domain mail (@ipedom.com) and I haven't error; I encountered this error since Friday.
And I have make a test to create the account with the same name and login name but just with domain mail "gmail", I haven't seen any error

npm run problem

hi i am trying to run your meanTorrent and get this error .

[22:40:43] Starting 'less'...
Potentially unhandled rejection [2] '../../../../public/lib/bootstrap/less/mixins/vendor-prefixes.less' wasn't found. Tried - /home/talmuri/meanTorrent/public/lib/bootstrap/less/mixins/vendor-prefixes.less,../../../../public/lib/bootstrap/less/mixins/vendor-prefixes.less in file /home/talmuri/meanTorrent/modules/core/client/less/mt-var.less line no. 3

Deleting Torrents

When trying to delete a torrent the on the following page /localhost/admin/torrents
The following error is being generated in the console and no model window pops up.

"Error: [$injector:unpr] http://errors.angularjs.org/1.5.11/$injector/unpr?p0=oProvider%20%3C-%20o G/<@http://192.168.1.18/lib/angular/angular.min.js:6:426 fb/n.$injector<@http://192.168.1.18/lib/angular/angular.min.js:43:219 d@http://192.168.1.18/lib/angular/angular.min.js:41:1 fb/H<@http://192.168.1.18/lib/angular/angular.min.js:43:279 d@http://192.168.1.18/lib/angular/angular.min.js:41:1 e@http://192.168.1.18/lib/angular/angular.min.js:41:242 invoke@http://192.168.1.18/lib/angular/angular.min.js:41:327 tf/this.$get</</<@http://192.168.1.18/lib/angular/angular.min.js:91:266 a.$get</j.open/k<@http://192.168.1.18/lib/angular-bootstrap/ui-bootstrap-tpls.min.js:8:31463 e/<@http://192.168.1.18/lib/angular/angular.min.js:132:434 $eval@http://192.168.1.18/lib/angular/angular.min.js:147:65 $digest@http://192.168.1.18/lib/angular/angular.min.js:144:123 $apply@http://192.168.1.18/lib/angular/angular.min.js:147:361 l@http://192.168.1.18/lib/angular/angular.min.js:99:192 K@http://192.168.1.18/lib/angular/angular.min.js:103:376 tg/</N.onload@http://192.168.1.18/lib/angular/angular.min.js:104:338 "

No torrents

New installation.
After adding a torrent, it is not available on the site. Displays in popup:
Get movie top info failed
MOVIE_PAGE_INFO_ERROR
Second time adding the same:
File already exists

Error during Install

Error: [email protected] prepublish: `npm run snyk-protect`
verbose stack Exit status 1
verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
verbose stack     at emitTwo (events.js:106:13)
verbose stack     at EventEmitter.emit (events.js:191:7)
verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
verbose stack     at emitTwo (events.js:106:13)
verbose stack     at ChildProcess.emit (events.js:191:7)
verbose stack     at maybeClose (internal/child_process.js:891:16)
erbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
verbose pkgid [email protected]
> [email protected] snyk-protect /usr/home/mean/wednesday
> snyk protect

The patch against "node_modules/mocha/node_modules/ms" (npm:ms:20170412) failed.
The patch against "node_modules/socket.io-adapter/node_modules/ms" (npm:ms:20170412) failed.
Please email [email protected] if this problem persists.


npm ERR! FreeBSD 11.1-RELEASE
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "snyk-protect"
npm ERR! node v6.11.1
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] snyk-protect: `snyk protect`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] snyk-protect script 'snyk protect'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the meanTorrent package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     snyk protect
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs meanTorrent
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls meanTorrent
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /usr/home/mean/wednesday/npm-debug.log

Kind regards,
vr0

Cannot start meanTorrent

Hello, I get this issue when trying: npm start

[10:09:11] Using gulpfile ~/meanTorrent/gulpfile.js
[10:09:11] Starting 'default'...
[10:09:11] Starting 'env:dev'...
[10:09:11] Finished 'env:dev' after 499 μs
[10:09:11] Starting 'copyLocalEnvConfig'...
[10:09:11] Starting 'makeUploadsDir'...
[10:09:11] Finished 'makeUploadsDir' after 3.14 ms
[10:09:11] Finished 'copyLocalEnvConfig' after 47 ms
[10:09:11] Starting 'lint'...
[10:09:11] Starting 'less'...
Potentially unhandled rejection [2] '../../../../public/lib/bootstrap/less/mixins/text-emphasis.less' wasn't found. Tried - /root/meanTorrent/public/lib/bootstrap/less/mixins/text-emphasis.less,../../../../public/lib/bootstrap/less/mixins/text-emphasis.less in file /root/meanTorrent/modules/core/client/less/mt-var.less line no. 4

Some Request List

Hi taobataoma,

Thanks for your great works. What do you think about these mods?

  1. Hit and Run System

  2. FULLY AUTO Donations System (I would prepfer paypal, BTC and Skrill)
    I prefer this site would for BTC options https://gear.mycelium.com/

Users Donations Gift
a) Immunity Status for Hit and Run
b) Temporary Donar Star and VIP Status
c) Temp. VIP Status
d) IRC Voice
e) Upload Credit and etc..

  1. Signup with Donations System

  2. STEAM Api for Game Category (Just like your TMDB System)

  3. Discogs or Musicbrainz Api for Music Categories (Just like your TMDB System)

  4. Media Info Log Options for Movies and TV Categories and MediaINFO SCRAPPER important lines just like gazelle

  5. Ocelot or XBT

Torrent Sections

Notice script is current demoing just movies and tv series. Could this script be used solely for other content like tutorials and ebooks or would it need to be updated to support that type of content also?

Have to say the demo is very responsive. We're still setting up demo site to see what we can suggest to help the project.

Would be nice if in the future there was a way to connect the Donation page to WHMCS also and have WHMCS handle all the donations.

Adding images

Can you add after adding pictures from your computer:
screenshot_20171108_150140
Add an option with url:
screenshot_20171108_150538

Translation errors

Can not translate:
Edit profile successful!
Welcome
ANNOUNCE_URL_ERROR
INFO_HASH_ALREADY_EXISTS

Public Indexer

hello
is it possible to use public tracker with DHT enable torrent?
and will it support Mass Tracker Scrapper?
like YiFY was.
how can i contact you?

also for music can u insert "musicbrainz" as it was on What.cd?

Demo Site

Can you please bring the demo site up?

Public tracker

How hard world it be to convert the code to a public tracker?

about/rules

modify the .md file at modules/about/client/templates/rules-xx.md , not working on me.

Problem with maker group

Hello,
I want to create a maker and I have an error
create_maker_group

But when I checked on "Managed Uploader", I can see the maker group, but I can't add member to this group
uploader_maker_group

Awesome work!

Hey,

Looks like you're really kicking ass from checking out the commits. One quick question, do you have any screenshots or info on how I could set this up to try it out? Or is it still very WIP and not there yet?

I'm willing to do anything to help out.

Thanks!

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.