Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trikko/tshare
The fastest way to share your files on the web, for free
https://github.com/trikko/tshare
d dlang filesharing sharing transfer-files
Last synced: 3 months ago
JSON representation
The fastest way to share your files on the web, for free
- Host: GitHub
- URL: https://github.com/trikko/tshare
- Owner: trikko
- License: mit
- Created: 2023-10-04T22:22:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-13T14:30:52.000Z (11 months ago)
- Last Synced: 2024-06-21T18:11:21.812Z (5 months ago)
- Topics: d, dlang, filesharing, sharing, transfer-files
- Language: D
- Homepage: https://tshare.download
- Size: 1.22 MB
- Stars: 112
- Watchers: 4
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-d - tshare - fast file sharing from cli, using transfer.sh (End-user applications / XML)
README
# tshare [![BUILD](https://github.com/trikko/tshare/actions/workflows/d.yml/badge.svg)](https://github.com/trikko/tshare/actions/workflows/d.yml)
The fastest way to share your local files on the web (Windows / Linux / macOS), for free. \
Powered by [transfer.sh](https://transfer.sh) online service.![tshare](https://github.com/trikko/tshare/assets/647157/ea844e94-886a-43ed-aecd-44e09f301cba)
# get tshare 🚀
| Linux + macOS | Windows |
|:------------------------------------:|:----------------------------------------------------------------------:|
| ```curl https://tshare.download \| bash``` | ```curl -L https://tshare.download/windows.zip -o tshare.zip``` |# examples
minimal
```bash
tshare /path/to/file
```keep file online for two days / max 10 downloads
```bash
tshare -t 2 -d 10 /path/to/file
```encrypt using [gpg](https://gnupg.org/download/index.html) if installed on your system
```bash
tshare -c your-secret-password /path/to/file
```save a copy of your mysql db
```bash
mysqldump wordpress_db | tshare --stdin -c secret_password -o export.sql
```# pre-builds binaries
[![Windows](https://img.shields.io/badge/-Windows_x64-blue.svg?style=for-the-badge&logo=windows)](https://github.com/trikko/tshare/releases/latest/download/tshare-windows-x86_64.zip)
[![Unix](https://img.shields.io/badge/-Linux-red.svg?style=for-the-badge&logo=linux)](https://github.com/trikko/tshare/releases/latest/download/tshare-linux-x86_64.zip)
[![MacOS](https://img.shields.io/badge/-MacOS-lightblue.svg?style=for-the-badge&logo=apple)](https://github.com/trikko/tshare/releases/latest/download/tshare-macos-x86_64.zip).Binaries are experimental: feedbacks are welcome :)
# install with homebrew (Linux, macOS) 🍺
If you have ```homebrew``` on your MacOS/Linux, you can install ```tshare``` using a local formula:
```
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source ./tshare.rb
```You're done 🎉
Run ```tshare -h```, star this repository and have fun.
# build from source (Linux, macOS, Windows)
_If you don't have homebrew_, you need a dlang compiler to compile tshare by yourself.
### install a dlang compiler
- Ubuntu: ```sudo apt install dub ldc libcurl-dev```
- macOS: ```brew install ldc dub```
- Windows: *see below*
*or*download an official package [here](https://dlang.org/download.html#dmd)
### compile tshare
```d
dub build
```