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

http-up

v1.3.0

Published

Simple share folder via http with upload

Downloads

1,616

Readme

http-up

Simple share folder via http with upload

Multiple files upload to current showed folder

In extended mode you can delete group of files

Mobile window

If you switch --extend-mode

App will change main list view to table.

Below you see display width more than 992 pix (1), less than (2) and mobile window (3):

Fast running without install

npx http-up .

or

npx http-up --port 3999 /path/to/fold

Basic auth

[!IMPORTANT]
It is recommend for work on public network interfaces

every time when you start, you get a list of random accounts

npx http-up --basic .

or only one basic auth specific user

npx http-up --user login1 --password EAJteG5 .

Notes

[!CAUTION] Be careful, if you start this App on public network interface, anybody can work with it

[!CAUTION]
Always run this app only under unprivileged common user

  • If you run application under some User, this user should be have privileges to write current folder
  • App using temporary folder for upload form, usually it /tmp/httpup, do not forget to clean it

Automatic TLS keys generate

  • For start HTTPS server you need easyrsa linux package
  • When you start server with --tls option, all keys generate automatically
npx http-up . --tls
  • Server use self signed certs, generated at first time. Thus you need approve this connection on your clients.

Magic file index.html inside any folder

If you put inside folder file index.html, it will be return as context

History

backlog

  • [ ] - add table of files with extended information and sort instead simple list?
  • [ ] - need some aside panel with folders tree?
  • [ ] - save whitespaces for filenames?
  • [ ] - add arg --tee and --log to file
  • [ ] - need tests and vulnerability tests too
  • [ ] - what is the lib can resize images enough fast
  • [ ] - and how store thumbs (home dot cache folder?)

1.3.0

  • [x] - check index file index.html inside folder and show it

1.2.7

  • [x] - success publish with right /view folder path

1.2.4

  • [x] - core: rewrite for template express-handlebars (big rewrite)
  • [x] - remove unused assets
  • [x] - change http_path_clear util function

1.2.2

  • [x] - change out and path.join everywhere
  • [x] - set sendfile

1.2.0

twin brother rewrite to v1.2.0

  • [x] - add --extend-mode (table view, thumbnails and delete)
  • [x] - decomposition of code

1.0.57

  • [x] - add folder tree

1.0.51

  • [x] - add two experimental view modes

1.0.48

  • [x] - show upload progress as simple as possible

1.0.47

  • [x] - decomposition
  • [x] - change default content type
  • [x] - set utf charset for js files

1.0.44

  • [x] - cors for api
  • [x] - cmd args configure
  • [x] - add folder with tests

1.0.43

  • [x] - 401 error page show
  • [x] - new util.http_path_clear function

1.0.42

  • [x] - show basic login in log

1.0.41

  • [x] - basic auth with --basic make list of credentials

1.0.37

  • [x] - add tls

1.0.35

  • [x] - security fix - double slashes

1.0.34

  • [x] - filename and foldername letters extended

1.0.32 and 1.0.33

  • [x] - security fix - double dot

1.0.31

  • [x] - catch read errors and new error page

1.0.30

  • [x] - grouping folders on top of list
  • [x] - change stdout log info

1.0.29

  • [x] - --upload-disable and --folder-make-disable keys

1.0.27

  • [x] - set right mime type

1.0.26

  • [x] - change stdout log info
  • [x] - change file listing view to full row
  • [x] - move uploader and folder create interfaces up
  • [ ] - arg --log to file

1.0.25

  • [x] - show files_count_max warning

1.0.21

  • [x] - add basic auth

1.0.19

  • [x] - remove H1
  • [x] - autoclean temp folder
  • [x] - change breadcrumbs font
  • [x] - change list font

1.0.17

  • [x] - change temp folder to /tmp/httpup
  • [x] - change copy function to rename
  • [x] - fix multiple upload

1.0.16

  • [x] - add config file

1.0.15

  • [x] - make folder by enter

1.0.14

  • [x] - swap bg color between folder and file

1.0.13

  • [x] - decomposition for lib/http-up.js

1.0.12

  • [x] - make new folder via web interface

1.0.11

  • [x] - refresh npm modules with clear recreate lock file

1.0.10

  • [x] - refresh bootstrap
  • [x] - file size warning show
  • [x] - add prettier for code
  • [ ] - refresh npm modules with clear recreate lock file
  • [ ] - public folder automake (if not exist)
  • [ ] - file size show in page

Join to dev

clone repo: https://github.com/western/http-up

download necessary packs: npm i

run instance: npm run start or ./bin/http-up