https://github.com/dhamith93/shortcut
A simple way to share files and clipboard within a local network.
https://github.com/dhamith93/shortcut
clipboard-share file-share go golang local-sharing
Last synced: 6 months ago
JSON representation
A simple way to share files and clipboard within a local network.
- Host: GitHub
- URL: https://github.com/dhamith93/shortcut
- Owner: dhamith93
- License: mit
- Created: 2021-10-10T07:53:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-20T07:20:14.000Z (over 4 years ago)
- Last Synced: 2024-06-19T05:55:31.058Z (about 2 years ago)
- Topics: clipboard-share, file-share, go, golang, local-sharing
- Language: Go
- Homepage:
- Size: 52.7 KB
- Stars: 19
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shortcut
Simple way to share **files** and **clipboard** with devices within a local network.
## Usage
Run the ./shortcut executable. A browser window will be opened with the URL to connect from other devices.
Default port is `:5500`, but it can be changed by editing the `config.json` file. Make sure to add the semicolon before the port when changing.
Files can be dragged and dropped / uploaded from the browser and can be uploaded/downloaded by anyone visiting the URL from the same network from any device.
Device that runs the executable act as a centralized server, and the files will be uploaded to the `public/files/` dir in executable path. These files will be removed once the executable is stopped running or the next time it is running if executable crashed/force closed.
### Available configuration through config.json
```
Port: string (:port),
MaxClipboardItemCount: int,
MaxFileSize: string (xMB),
MaxDeviceCount: int,
PreserveClipboardOnExit: bool
```