Code Monkey home page Code Monkey logo

gitpack's Introduction

GitPack is going to go through significant changes in the future. My GitPack projects are and will be compatible.


GitPack

GitPack logo

CI status GitPack standard-readme compliant

Simple Git-based package manager.

Wouldn't it be great to install and update your favorite Git projects like this?

gitpack install <url>

And when they are no longer needed, uninstall them that way?

gitpack uninstall <url>

If you are in, then GitPack comes in pretty handy. All you need is a URL of a compatible Git project.


Are you a developer? Do you like the idea stated above? Then keep reading in the Developer section.

Do you want to support this awesome project? Then spread the word!

Table of Contents

Install

Global (system) installation:

mkdir -p /tmp/gitpack/ && cd /tmp/gitpack/ && # prepare a temporary directory
git clone https://github.com/dominiksalvet/gitpack.git ./ && # clone repository
git checkout "$(git describe --tags --abbrev=0)" && # use latest version
sudo src/gitpack install github.com/dominiksalvet/gitpack # install GitPack

Local (user) installation:

mkdir -p /tmp/gitpack/ && cd /tmp/gitpack/ && # prepare a temporary directory
git clone https://github.com/dominiksalvet/gitpack.git ./ && # clone repository
git checkout "$(git describe --tags --abbrev=0)" && # use latest version
src/gitpack install github.com/dominiksalvet/gitpack # install GitPack

Dependencies

  • Git software

Usage

Install or update a Git project:

gitpack install <url>

Uninstall a Git project:

gitpack uninstall <url>

Show status of a Git project:

gitpack status <url>

Your favorite project is not compatible? Then encourage its developers to take a look at the Developer section below.

Example

GitPack example

As demonstrated, GitPack works with either global or local installations based on whether it is run with root permissions.

Developer

Why should you use GitPack in your projects?

  • Simple by design
  • Language-independent
  • Runs on Linux, macOS and Windows (WSL)
  • Shell environment and Git is all you need
  • Global and local installations
  • Delta updates
  • POSIX-friendly

How? The guide.md file will show you the way. Then users can immediately use GitPack to install your projects.

Not sure? Take a look at .gitpack directory of GitPack itself. It can be that simple.

Badge

GitPack projects work best with the following sleek badge:

GitPack

Markdown:

[![GitPack](https://img.shields.io/badge/-GitPack-571997)](https://github.com/dominiksalvet/gitpack)

Questions

If you have any questions, you can find out how to get them answered in support.md file.

Contributing

Do you want to contribute somehow? Then contributing.md file is here for you.

License

GitPack is licensed under the MIT License.

gitpack's People

Contributors

dominiksalvet avatar

Watchers

James Cloos avatar

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.