All Projects → klipitkas → fs-go

klipitkas / fs-go

Licence: Unlicense License
A tiny CLI tool to start a local file server.

Programming Languages

go
31211 projects - #10 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to fs-go

Unifile
Unified access to cloud storage services through a simple web API.
Stars: ✭ 105 (+556.25%)
Mutual labels:  ftp, fs
vue-fs
A Vue file management client, complete with a node/express/FS backend.
Stars: ✭ 40 (+150%)
Mutual labels:  fs, fileserver
is-directory
Extends `stats.isDirectory()`, returns `true` if a filepath is a directory.
Stars: ✭ 28 (+75%)
Mutual labels:  fs
bash-glob
Bash-powered globbing for node.js. Alternative to node-glob. Does not work on Windows 9 and lower.
Stars: ✭ 13 (-18.75%)
Mutual labels:  fs
watcher
The file system watcher that strives for perfection, with no native dependencies and optional rename detection support.
Stars: ✭ 37 (+131.25%)
Mutual labels:  fs
fs
Reactive filesystem powered by @vue/reactivity
Stars: ✭ 45 (+181.25%)
Mutual labels:  fs
floyer
🚀 Floyer is simple and fast deployment tool using git/svn and (S)FTP - especially useful for shared hosting.
Stars: ✭ 57 (+256.25%)
Mutual labels:  ftp
sandboxed-fs
Sandboxed Wrapper for Node.js File System API
Stars: ✭ 41 (+156.25%)
Mutual labels:  fs
async-folder-walker
A recursive async iterator of the files and directories in a given directory. Can take multiple directories and files, limit walk depth and filter based on path names and stat results.
Stars: ✭ 18 (+12.5%)
Mutual labels:  fs
SimpleOS
Operating System Coded in Assembly and C
Stars: ✭ 72 (+350%)
Mutual labels:  fs
korefile
File System API for Local/GitHub.
Stars: ✭ 29 (+81.25%)
Mutual labels:  fs
pythonwhat
Verify Python code submissions and auto-generate meaningful feedback messages.
Stars: ✭ 55 (+243.75%)
Mutual labels:  fs
proSeed
ProSeed modification for Farming Simulator 2022
Stars: ✭ 63 (+293.75%)
Mutual labels:  fs
docker-vsftpd
vsftpd Docker Image
Stars: ✭ 39 (+143.75%)
Mutual labels:  ftp
gof
Yet another simple Go filesystem wrapper
Stars: ✭ 13 (-18.75%)
Mutual labels:  fs
node-fs
node-fs
Stars: ✭ 55 (+243.75%)
Mutual labels:  fs
pate
Modern and light-fast CLI app that scans all the desired files of a certain folder and returns a list with the name of the files which contain a certain RegEx pattern
Stars: ✭ 23 (+43.75%)
Mutual labels:  fs
copy
Copy files using glob patterns. Sync, async, promise or streams. (node.js utility)
Stars: ✭ 84 (+425%)
Mutual labels:  fs
readdir
Recursively read a directory, blazing fast. Use with picomatch or micromatch to match globs.
Stars: ✭ 37 (+131.25%)
Mutual labels:  fs
Eagle
Multithreaded Plugin based vulnerability scanner for mass detection of web-based applications vulnerabilities
Stars: ✭ 85 (+431.25%)
Mutual labels:  ftp

FS Go

FS Go is a tiny CLI tool in order to spawn a local file server.

REQUIREMENTS

  • Go >= 1.13

BUILD

In order to build the executable run the following command:

go build

START THE SERVER

Starting the server is easy:

./fs-go -addr 8080 -dir .

Only two parameters are needed:

  • dir: The directory that will be served. (default: .)
  • addr: The address that the server will listen to. (default: :8080)

INSTALL GLOBALLY

If you only want to use this CLI tool as a binary then you can do that easily:

go install

Now you can use:

fs-go

From anywhere in your system.

BUILD AND RUN WITH DOCKER

To build the Docker image:

docker build -t fs:local .

Run the server using Docker:

docker run --rm -v $(pwd):/data -p 8080:8080 -d fs:local

To run the server using Docker in a different port:

docker run --rm -v $(pwd):/data -p 9000:9000 fs:local -addr :9000
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].