Skip to content

xssnick/TON-Torrent

Repository files navigation

TON Torrent

Based on TON Join our group

TON Storage UI based on tonutils-storage, with storage-daemon support mode.

Getting started

Preview

Download

Install

  • For Windows click on installer
  • For Mac drag icon to Applications
  • For Linux install .deb with dpkg -i

After installation, you could click Add Torrent and download 85d0998dcf325b6fee4f529d4dcf66fb253fc39c59687c82a0ef7fc96fed4c9f to see how it works.

You could also create torrent from some of your folders and share bag id or meta file with your friends, but keep in mind, that at least one of you should have public ip address. Otherwise, you could use one of the storage providers to host your files.

At the first start, this program will try to resolve your external IP and check port availability. If ports are closen, then you can download only from peers with public IP (similar to regular torrent). You could always enable seed mode in settings and set external ip manually, for example, if check failed because of something else.

Switching to original storage-daemon

If you want to use C++ storage daemon and you have it running on your machine, you could switch to it in settings by specifying control port and storage-db path.

Building

To build, you need to install Wails, then run: make build-[mac|windows|linux-[deb|tar]]

Live Development

To run in live development mode, run wails dev in the project directory. This will run a Vite development server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser and have access to your Go methods, there is also a dev server that runs on http://localhost:34115. Connect to this in your browser, and you can call your Go code from devtools.