{"id":25761378,"url":"https://github.com/teimurjan/go-p2p","last_synced_at":"2025-02-26T18:34:54.085Z","repository":{"id":43581354,"uuid":"165183158","full_name":"teimurjan/go-p2p","owner":"teimurjan","description":"Peer-to-peer local network ","archived":false,"fork":false,"pushed_at":"2022-12-10T04:08:11.000Z","size":2894,"stargazers_count":5,"open_issues_count":23,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-19T11:16:57.364Z","etag":null,"topics":["distributed-file-system","go","golang","peer-to-peer"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teimurjan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-11T05:12:23.000Z","updated_at":"2023-09-08T17:49:10.000Z","dependencies_parsed_at":"2023-01-26T06:01:22.646Z","dependency_job_id":null,"html_url":"https://github.com/teimurjan/go-p2p","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teimurjan%2Fgo-p2p","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teimurjan%2Fgo-p2p/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teimurjan%2Fgo-p2p/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teimurjan%2Fgo-p2p/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teimurjan","download_url":"https://codeload.github.com/teimurjan/go-p2p/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240912609,"owners_count":19877593,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["distributed-file-system","go","golang","peer-to-peer"],"created_at":"2025-02-26T18:34:53.541Z","updated_at":"2025-02-26T18:34:54.079Z","avatar_url":"https://github.com/teimurjan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\ngo-p2p - is a peer-to-peer network targeting on the local network in order to have a distributed file system inside the companies.\n\n# Installation\n\n## Docker\n\nThe app is dockerized so it can be started using [Docker](https://docs.docker.com/docker-for-mac/install/) and [Docker Compose](https://docs.docker.com/compose/install/).\n\nIf you have the tools installed on your machine, create `.env` file by example file `.env.example` and type:\n\n### Development\n\n```sh\ndocker-compose -f docker-compose.dev.yml up -d\n```\n\n### Production\n\n```sh\ndocker-compose -f docker-compose.prod.yml up -d\n```\n\n## Locally\n\nIf you need to run the app without docker, you will need [Go](https://golang.org/doc/install), [Dep](https://golang.github.io/dep/) and [Node](https://nodejs.org/en/download/).\n\nAfter the tools installation:\n\n### Backend setup\n\n```sh\ndep ensure\n```\n\nto install all Go dependencies.\n\nCreate `.env` file like in [Docker](##Docker) section and run it:\n\n```sh\ngo run main.go\n```\n\n### Testing broadcast\n\n* Using netcat: ```./broadcast_udp.netcat.sh -m \"{\\\"ID\\\":1}\" -p 3333```\n* Using socat: ```./broadcast_udp.socat.sh -m \"{\\\"ID\\\":1}\" -p 3333```\n\n### GUI setup\n\n```sh\ncd gui\nnpm i\nnpm run start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteimurjan%2Fgo-p2p","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteimurjan%2Fgo-p2p","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteimurjan%2Fgo-p2p/lists"}