-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
476 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "gomod" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Go | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.17 | ||
|
||
- name: Build | ||
run: mkdir -p ./licensing/my-licenses && touch ./licensing/my-licenses/make_embedFS_happy && go build -v -buildmode=pie -ldflags "-s -w" -o ./subspace ./cmd/main.go | ||
|
||
- name: Test | ||
run: mkdir -p ./licensing/my-licenses && touch ./licensing/my-licenses/make_embedFS_happy && go test -v ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,62 @@ | ||
# subspace | ||
# subspace | ||
File sharing application. | ||
|
||
## Supported Platforms | ||
|
||
| OS | 386 | amd64 | arm6 | arm64 | | ||
| --- | --- | ---- | --- | ---- | | ||
| Linux | ✅ | ✅ | ✅ | ✅ | | ||
| Windows | ✅ | ✅ | | ✅ | | ||
| MacOS | | ✅ | | ✅ | | ||
|
||
## Building | ||
Requirements: | ||
- Golang 1.16+ | ||
- [Goreleaser](https://goreleaser.com/) (optional, to build linux packages) | ||
|
||
```shell | ||
go test ./... | ||
|
||
mkdir -p ./licensing/my-licenses | ||
touch ./licensing/my-licenses/make_embedFS_happy | ||
go-licenses save github.com/jimmale/subspace --force --save_path="licensing/my-licenses" | ||
|
||
go build -buildmode=pie -ldflags "-s -w" -o ./subspace ./cmd/main.go | ||
``` | ||
|
||
### Build packages | ||
`goreleaser release --rm-dist --snapshot` | ||
|
||
## Dependencies | ||
### Buildtime | ||
|
||
### Runtime | ||
- quic-go github.com/lucas-clemente/quic-go | ||
|
||
## TODO | ||
|
||
- Peer discovery | ||
- Cache | ||
- Out of Band | ||
- Bittorrent Trackers | ||
- LAN multicast | ||
- DHT | ||
- Peer Exchange | ||
- Cert Management | ||
- Generate new Cert | ||
- Keep Peer Certs | ||
- Trust Peer Certs | ||
- Network Management | ||
- UPnP Port Forwarding | ||
- Transfers | ||
- Transfer Resume | ||
- Compression | ||
- BT-style sharing (eg if Alice and Bob are downloading from Charlie, Alice and Bob will share chunks of the file amongst themselves) | ||
- CI/CD | ||
- Build in licenses for `--license` invocation | ||
- Semantic Versioning | ||
- Include Buildinfo (git revision, release version, GOOS, GOARCH, Build Time) | ||
- RPM Packages | ||
- Deb Packages | ||
- Windows EXEs | ||
- OSX DMG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package main | ||
|
||
import "fmt" | ||
|
||
func main() { | ||
fmt.Println("Hello, World!") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module github.com/jimmale/subspace | ||
|
||
go 1.16 | ||
|
||
require github.com/lucas-clemente/quic-go v0.24.0 |
Oops, something went wrong.