Commit graph

69 commits

Author SHA1 Message Date
Antonio Navarro Perez
1d769673ca
Use go:embed for statics (#92) 2021-11-21 18:31:47 +01:00
Antonio Navarro Perez
ddda39b22a
Server implementation. (#90)
* Server implementation.

- Share the content of a folder as a magnet file.
- Web interface with all data needed for sharing data.
- New configuration to add several servers
- Every time the content of the server folder is changed, the magnet
file will be generated again.

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>

* Update dependencies

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>

* Use boltdb piece completion storage.

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2021-11-21 14:03:18 +01:00
Antonio Navarro Perez
5d4e48f0f9
Improve logs (#89) 2021-11-20 20:57:25 +01:00
Antonio Navarro Perez
66eadf35dc
Fix problems on windows (#87) 2021-11-18 20:36:07 +01:00
Antonio Navarro Perez
2f18213660
Add and remove torrents from web interface (#84) 2021-11-16 13:13:58 +01:00
Antonio Navarro Perez
f606b129b2
Update dependencies and move to Go 1.17 (#81) 2021-10-08 16:15:09 +02:00
Antonio Navarro Perez
b35f303981
Update dependencies. (#56)
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2021-04-25 11:00:27 +02:00
Antonio Navarro Perez
3b87e4aad7
Move from logrus to zerolog. (#45)
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2021-03-10 10:54:56 +01:00
Antonio Navarro Perez
ed8bd64017
Alpha WebDAV support (#37) 2021-03-01 19:04:59 +01:00
Antonio Navarro Perez
0f513ef8b3
Change module name to distribyted/distribyted (#36)
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2021-03-01 17:43:28 +01:00
Antonio Navarro Perez
6a50c17cf2
Update deps (#23)
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-11-16 19:20:17 +01:00
Antonio Navarro Perez
0e2288565d
Reload server and edit configuration. (#15)
The first iteration for config editor and server reload from the web interface.
2020-11-08 18:19:25 +01:00
Antonio Navarro Perez
11702839e1 Update dependencies and fix Makefile
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-10-18 20:44:45 +02:00
Antonio Navarro Perez
d72d77092b Fix cross-compiling with go 1.15.x
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-10-18 20:14:32 +02:00
Antonio Navarro Perez
f5038291b8 go mod tidy
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-10-18 11:48:33 +02:00
Antonio Navarro Perez
45f10e2f81 Refactoring and first steps to make multi OS compatible.
- Using cgofuse to be compatible with multiple OSes
- Refactor to make possible better testing
- Add a bunch of tests
- Add code coverage

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-10-18 11:39:59 +02:00
Antonio Navarro Perez
b9bb9a8fe0 Update dependencies
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-07-27 11:21:50 +02:00
Antonio Navarro Perez
11d501cd51 Implement logrus, fix httpFs
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-07-14 13:55:08 +02:00
Antonio Navarro Perez
b8392c4c50 Remove previous POCs
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-06-13 12:15:46 +02:00
Renamed from torrent/go.mod (Browse further)