stu

stuff

HTTPS static file server using LDAP auth

Showing:

Popularity

Downloads/wk

3

Maintenance

No Maintenance Data Available

Package

Dependencies

7

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

A static file server over HTTPS and using LDAP for auth.

Usage:

git clone https://github.com/trentm/stuff.git
cd stuff
npm install

# Create a "config/stuff.json" file, minimally with these entries.
# Note: Yes, I know there are no docs for these yet.
mkdir config
echo '{
  "staticDir": "/path/to/dir/to/serve",
  "sslKeyFile": "/path/to/ssl-key-file.pem",
  "sslCertFile": "/path/to/ssl-cert-file.pem",
  "ldap": {
    "url": "ldaps://ldap.example.com",
    "adminDn": "uid=myapp,ou=users,o=example.com",
    "adminPassword": "mypassword",
    "searchBase": "ou=users,o=example.com",
    "searchFilter": "(uid={{username}})"
  }
}' > config/stuff.json

# Run the server.
node server.js

This is still pretty alpha.

License

MIT. See LICENSE.txt

Configuration

  • ldap.usernameField (String): The field name in a LDAP user record that indicates the username. This is used to log the username for each request log line.

(obviously missing most of the config vars here)

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial