warpnet

package module
v0.2.447 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2025 License: GPL-2.0, GPL-3.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Go Version Release Telegram Chat

Logo

Warpnet

An awesome README template to jumpstart your projects!
Explore the docs »

· Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

Screenshot

General Principles of the Warp Network

  1. WarpNet cannot be owned by anyone.
  2. WarpNet must operate independently of any third-party services.
  3. WarpNet must not rely on any proprietary or third-party technologies.
  4. A WarpNet node must be distributed as a single executable file.
  5. WarpNet must be a cross-platform solution.
  6. Only one WarpNet member node may run on a single machine, but it may have multiple aliases.
  7. WarpNet member nodes must be governed solely by network consensus.
  8. WarpNet business nodes may allow centralized management.
  9. WarpNet business nodes must responsibly run at least one bootstrap node.
  10. A WarpNet node must store private data only on the local host machine.
  11. WarpNet member nodes must not be developed or controlled by a single individual.
  12. Content on WarpNet must be moderated automatically, without human intervention.
  13. Hosting a WarpNet bootstrap node must be incentivized with rewards.
  14. Node owners bear full personal responsibility for any content they upload to WarpNet.

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running, follow these simple example steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

How to run single node (dev mode)

  • bootstrap node
    go run cmd/node/bootstrap/main.go
  • member node
    go run cmd/node/member/main.go

How to run multiple nodes (dev mode)

  1. go to config/config.go:
    • change all ports to different ones;
    • change database.dir flag to different one.
  2. Run every node as an independent OS process as described in the previous chapter.
  • Example:
    go run cmd/node/member/main.go --database.dir storage2 --node.port 4021 --server.port 4022

How to run multiple nodes in isolated network (dev mode)

  1. In addition to the previous chapter update flags:
    • change node.network flag to different one.
  2. Run multiple nodes as described in the previous chapter.
  • Example:
    go run cmd/node/member/main.go --node.network mynetwork

TODO

  • Set up a website
    • Add docs to website
    • Run URL shortener server
  • Create DMG package
  • Create Snap package
  • TODO
  • TODO

See the open issues for a full list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also open an issue with the tag "enhancement." Remember to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b IssueNumber/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin IssueNumber/AmazingFeature)
  5. Open a Pull Request

Top contributors:

contrib.rocks image

Contact

Maintainer

Developers group in Telegram

License

Warpnet is free software licensed under the GNU General Public License v3.0 or later.

See the LICENSE file for details.

Documentation

Overview

#nosec

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCodeBase

func GetCodeBase() embed.FS

func GetVersion

func GetVersion() []byte

Types

This section is empty.

Directories

Path Synopsis
cmd
node/bootstrap command
node/business command
node/member command
core
dht
api-gen
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL