npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

webfm

v0.9.39

Published

Two pane file manager for the Web

Downloads

11

Readme

Two-pane file manager for the web.

Demo: webfm.daemon-notes.com

Login/Password: guest/guest

WebFM

  • Backend is Sails v1 application on Node v8

    Custom ORM adapter is created for file system access. Basically, I am using ORM models and queries to work with the shares and files.

    The rest is simple REST server accessed via WebSockets.

    Backend is under api/ directory.

  • Frontend is React/Redux on Bootstrap 4

    Fully responsive application created using Reactstrap, which is Bootstrap 4 for React, using custom CSS when needed (mainly flexgrid).

    Initial markup comes prepared on the server utilizing Server-Side Rendering.

    Frontend is under assets/js/ directory.

  • Everything is powered by JavaScript ES2017, native on Node and processed with Babel/Webpack for the browser.

Installation

  1. Install Node v8 and Redis according to your OS way of doing so.

  2. Get the sources:

# git clone https://github.com/basarevych/webfm
# cd webfm
# cp webfm.conf.example webfm.conf
# yarn install --prod

NOTE: If you are going to use build commands then remove --prod from the yarn arguments above.

I recommend using yarn for the dependencies and pm2 for starting as system service.

Edit the initial webfm.conf file, add your users and shares. User password is SHA256 hash of a password actually - don't put the real password there. Shares are defined as items in read[] or write[] array of the user section. You will find the example in the config file.

  1. Start

Do yarn start or npm start to start the thing. To make it permanent you can do pm2 start ./ecosystem.config.js --env production (this ecosystem.config.js file is in the repo).

Development

In order to build production bundles use yarn run build (after that run yarn start to start the server).

Development version is built using yarn run build:dev - this command will not terminate but will watch the files for changes, recompiling the bundle when need. In another terminal run yarn run start:dev to start dev version of the server.

Development bundles are excluded from the repo, but production bundles should be committed into it so you will not have to run build task on hosting server.

License

MIT

TODO

  • Turn this React/Redux demo into a real application for everyday use.