New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

iasur

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iasur

A server to store the contents of zip files as folders on the file system and expose an url to access the content.

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

iasur

A very thin web and api based file upload and destribution service.

  • Latest Release: GitHub version
  • Build-Status: Build Status
  • Official Site: http://dracoblue.net/

iasur is copyright 2014 by DracoBlue http://dracoblue.net

Installation

Install from npm (global):

$ sudo npm install -g iasur

or local:

$ npm install iasur

You might fetch the latest version from git:

$ git clone https://github.com/DracoBlue/iasur.git iasur
$ cd iasur
$ npm install #to fetch dependencies

Usage

Initialize the server directory with:

$ mkdir project
$ cd project
$ iasur create
Initializing folder for iasur:
 - folders: /home/you/project/folders/
 - files: /home/you/project/files/
Done!

Serve folder with: /usr/local/bin/iasur serve http://127.0.0.1:1337/

and thens serve the directory:

$ iasur serve http://127.0.0.1:1337/
Server running at http://127.0.0.1:1337/

Enable theming

If you want to have a custom theme for your iasur server, run:

$ iasur enable-theming
Initializing ./views folder for iasur:
 - ./views/_footer.twig
 - ./views/_header.twig
 - ./views/files.twig
 - ./views/upload_files.twig
 - ./views/upload_zip.twig
Done!

Now you can modify the files at ./views/{_header.twig,_footer.twig} to modify the header and footer.

That's it!

Run tests

$ make test
Execute all Tests
- launched test server at http://127.0.0.1:32457 with pid 38995
Server running at http://127.0.0.1:32457/
- push 2 files (html)
- push zip file (html)
- push 2 files (json)
- push zip file (json)
- killed server at pid 38995

Changelog

  • 1.2.0 (2017/08/06)
    • normalize base url #2
  • 1.1.0 (2014/03/23)
    • use local folder ./views as local theme
    • made views, files and folders relative to process.cwd() #1
  • 1.0.0 (2014/03/23)
    • added option to create a theme
    • initial release

License

iasur is licensed under the terms of MIT.

FAQs

Package last updated on 06 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts