Code Monkey home page Code Monkey logo

mc-sync-upload's Introduction

πŸ“ MC-Sync-Upload

Description

This is part of the pack MC-Sync. MC-Sync are two programms that aims to make easier to play minecraft (java edition) with your friends without a real server.

See MC-Sync-Download

MC-Sync-Upload has the function of send the world (server) to another person or upload it into the firebase cloud (free or paid tier) to make backups.

Purpouse

πŸ“– Learn

  • Create better CLI APPs
  • Interact with NBT files (Minecraft configuration files)
  • Use Firebase Storage
  • Read toml files

✨Create a simple programm to play Minecraft Survival with my friends πŸ‘€

Technologies used πŸ“˜

  • Go (Golang)

External Packages πŸ“¦:

  1. firebase (firebase cloud ☁)
  2. pterm (beautiful UI)
  3. toml (config files βš™)
  4. godotenv (secrets 🀫)
  5. fasthttp (serve files through http requests)
  6. google api (google cloud options)

Docs

Prerequisites πŸ“Œ

  • Go 1.18
  • Ngrok (I mention ngrok but you can use other tools that supports tcp tunnels)
  • Firebase Project (Firebase Storage)

Set up πŸ’»

git clone https://github.com/PiterWeb/MC-Sync-Upload.git
cd ./MC-Sync-Upload
go mod tidy

Configure the project with the .env , serviceAccountKey.json and accounts.toml files.

Build πŸ”¨

go build .

An executable for your OS will be created

Play πŸͺ€

Share the executables (mc-sync-upload / download) and also ngrok with your friends

When you open the world in LAN go to ngrok and type:

ngrok tcp <port> --region <region to host>

And send the ngrok domain name to your friends as an IP for the server (Example: 74329sadoijjiosad.ngrok.io )

mc-sync-upload's People

Contributors

dependabot[bot] avatar piterweb avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

wizhel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.