Onedrive directroy listing by node.js.
- Run
npm install
to install node modules. - Get a token from onefolder-token-generator (GitHub Repo).
- Create
config.toml
fromconfig.example.toml
. - Initialize your service.
- Use ZEIT Now
npm install -g now now
- Use your own server (Nginx proxy recommended)
npm serve
- Use ZEIT Now
HEAD.md
will be displayed before directory listing on web page. (Simple theme is not supported.)README.md
will be displayed after directory listing on web page. (Simple theme is not supported.)- A password can be provided to protect the current folder. Just add a file named
{SHA1 Hash result from your password}.password
to the folder you want to protect. For example, if you want to protect the root path by password123
, add a file named40bd001563085fc35165329ea1ff5c5ecbdbbeef.password
to your root path.
You just need to input password while authenticating. Username is no use.
- Files lists will be updated every 10 minutes.