Code Monkey home page Code Monkey logo

nodepomf's People

Contributors

aareksio avatar finnoleary avatar gottz avatar maxpowa avatar rx14 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nodepomf's Issues

Delete upload

I'd appreciate the possibility to delete an upload afterwards, probably via delete link

Pastebin thing

A pastebin so pastes don't have to be on another subdomain.

Kanri loop login

Hi,

So I installed the website, and I go to IPADRESS/kanri/login and I connect with github, but he come back on the login page like I never login. I tried on another navigator (into private) and still doesn't work.

There is my conf file :

Github client id and secret keys, for Kanri authentication
config.GITHUB_CLIENT_ID = "xxx";
config.GITHUB_CLIENT_SECRET = "xxx";

// Session options for Kanri. !! YOU MUST SET THESE FOR KANRI TO WORK !!
// Set cookies are always signed with keys[0], while the other keys are
// valid for verification, allowing for key rotation.
// If you don't want to use key rotation, remove the 'keys' and use 'secret'
// instead.
// Documentation: https://github.com/expressjs/cookie-session#cookie-options
config.SESSION_OPTIONS = {
	name: 'kanri.session',
	keys: ['lmaotestingidk', 'lmaotestingidkoldlmao'],
	maxAge: (86400 * 1000), // 1 day (milliseconds)
	secureProxy: false, // Should be true if you are proxying w/ nginx etc
	domain: "http://94.177.249.162" // You should set this to your domain
}

And I use this configuration :

upstream npomf {
  server 127.0.0.1:3000;
  keepalive 128;
}
server {
  listen 80;
  listen [::]:80 ipv6only=on;

  server_name 94.177.249.162;

  location / {
    root home/suzu/npomf/files;
    try_files $uri @npomf;

    charset UTF-8;
  }

  location @npomf {
    proxy_pass http://localhost:3000/;
    proxy_redirect off;

    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-NginX-Proxy true;
  }
}

I hope you can help me,

Bye.

Separate upload domain

Need to be able to upload on a seperate domain to everything else to circumvent cloudflare.

Client-side encryption on uploads

Is this worth it? Would allow for plausible deniability for server owners with regards to the files they're hosting and allows paranoid users to upload without concerning themselves about the intent of the server owner. Would require different handling for downloads, maybe a /decrypt endpoint or something.

Kanri?

In config/core.js line 112

// Session options for Kanri. !! YOU MUST SET THESE FOR KANRI TO WORK !!

I understand that it's some auth. page, but could you explain what this is for, do I even need it?

Global upload size limit per hour

There should be a limit for the whole site of upload data per hour, preferably rolling limit. This prevents the drive filling up. This limit being hit should send an email (or Pushbullet) to the owner.

Might also be a good idea to stop uploads completely when it hits a certain amount of disk space left.

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.