https://github.com/engossoftware/tarolas
Lightweight file server written in Go
https://github.com/engossoftware/tarolas
Last synced: 4 months ago
JSON representation
Lightweight file server written in Go
- Host: GitHub
- URL: https://github.com/engossoftware/tarolas
- Owner: EngosSoftware
- License: apache-2.0
- Created: 2023-10-19T16:12:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-20T16:01:23.000Z (over 1 year ago)
- Last Synced: 2025-01-02T10:46:20.968Z (6 months ago)
- Language: Go
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# tarolas
Lightweight file storage service written in Go.
## Installation
Download sources from this repository and build **tarolas** binary.
```shell
$ go build wisbery.com/tarolas
```
## RunningTarolas server requires single configuration file given in command line:
```shell
$ tarolas --config my_tarolas_config.json
```Configuration options are described in details in **Configuration** section.
The simplest configuration file may look like the following:
(Windows)
```json
{
"serverPort": 15000,
"rootDirectory": "C:\\Temp\\tarolas"
}
```
(Linux)```json
{
"serverPort": 15000,
"rootDirectory": "/home/john/tarolas"
}
```You can find example configuration file in **config** directory of this repository.
After starting tarolas server you will see the similar messages in the console:
(Windows)
```shell
tarolas v0.0.8
>> server port : 15000
>> root directory : C:\Temp\tarolas
```(Linux)
```shell
tarolas v0.0.8
>> server port : 15000
>> root directory : /home/john/tarolas
```The **tarolas** file server is ready to serve your files!
## Configuration
- port number the sever will be listening on
- root directory for storing files
- public key for JWT token verification## Functionality
### Directories
- list directory tree,
- list directory content,
- create directory,
- delete directory,
- move directory,
- copy directory.### Files
- create file,
- append file,
- delete file,
- move file,
- copy file,
- share file,
- read file.## Security
Directories and files may be accessed without any restrictions.
Usually this is not a good idea. That's why any operation may be restricted
only to user who has required rights granted.## License
Licensed under either of
- [MIT license](https://opensource.org/licenses/MIT) ([LICENSE-MIT](https://github.com/wisbery/tarolas/blob/main/LICENSE-MIT)), or
- [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) ([LICENSE-APACHE](https://github.com/wisbery/tarolas/blob/main/LICENSE-APACHE))at your option.
## Contribution
All contributions intentionally submitted for inclusion in the work by you,
shall be dual licensed as above, without any additional terms or conditions.