Coder Social home page Coder Social logo

liopun / prp Goto Github PK

View Code? Open in Web Editor NEW
20.0 2.0 0.0 91 KB

A convenient solution for backing up and restoring your installed packages.

License: MIT License

Go 98.76% Makefile 1.24%
backup-tool brew-tap homebrew reinstall-packages restore-utility macports nix nixos hackotberfest

prp's Introduction

Package Restore Point CLI tool

A convenient solution for backing up and restoring your installed packages. This tool offers the portability of your current installed packages and utilizes your GitHub account as a data store for maintaining a record of your packages for future use.

Use Cases

  • Moving to a brand new device (MacOs, Linux)
  • Duplicating your Homebrew/Macports/Nix setup across different devices

Supported On

  • MacOs
  • Linux

Supported Package Managers

Installation

Homebrew

brew install liopun/brew/prp

Binary

The latest release of PRP CLI tool can be found here, and it must be in your PATH for effective usage.

Source

  1. Clone this repository
  2. Build with make build ver="v0.15"
  3. Run ./.dist/prp -h or Copy prp file to your $PATH and use it from there.

Get Started

  • Run the following command to authenticate with Github prp gh TOKEN_HERE
  • You can find out more information about Github personal tokens here

Commands

  • Homebrew
    • Backup your current Homebrew packages: prp brew
    • Restore/Install your previously saved Homebrew packages to another system: prp restore brew
  • Macports
    • Backup your current Macports packages: prp port
    • Restore/Install your previously saved Macports packages to another system: prp restore port
  • NixOS
    • Backup your current NixOs packages: prp nix
    • Restore/Install your previously saved NixOs packages to another system: prp restore nix

Roadmap

  • Support more package managers
    • macports [x]
    • nix [x]
    • pkgsrc

Adding To This Project

  1. Clone this repository
  2. Add your branch git checkout -b BRANCH_NAME_HERE main
  3. Fetch dependencies go mod download
  4. Implement your changes
  5. Run make build ver="v0.16" to build the project
  6. Happy hacking!

Publishing

make release ver="v0.16"

prp's People

Contributors

dependabot[bot] avatar liopun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

prp's Issues

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.