I made a package manager!

I made a Package manager!

I made a package manager. It can download a package. It depends on simple ini files in a repository instead of package.json or anything else. Its entire production zip is less than 5kbs of space including docs an…


This content originally appeared on DEV Community and was authored by Pandademic

I made a Package manager!

I made a package manager. It can download a package. It depends on simple ini files in a repository instead of package.json or anything else. Its entire production zip is less than 5kbs of space including docs and other things. It is written in ruby and depends on wget and Inifile to download and read the package files , respectively. feedback and pull requests (for packages) welcome!
REPO:

GitHub logo Pandademic / Latte

Latte package manager!

Latte

CodeFactor gitpod

Latte is a Open source MIT licenced Package management system.It works by take the name of the package, finding its package.ini file and then getting the source code from the repo or the latest release zip/tar.gz.

Install

Prerequisites

  • ruby 2.6 or higher
  • latest files in the production branch
  • wget

Actual Install

Linux:

  • extract the file called latte(should be located in the dist folder of the source code) into your home directory
  • in your ./bashrc or .zshrc or .fishrc put sh alias latte ="ruby ~/latte"
  • and you should be good to use commands!

Creating a package

steps:

    1. Fork this repo
    1. Make a new github repo and do your coding there
    1. Then in the Fork of packages folder create a packageName.ini where packageName is your packages name.Then look at the package_example.ini in the docs to format the package.ini
    1. Push your changes in the fork to a pull request





Please leave your feedback!


This content originally appeared on DEV Community and was authored by Pandademic


Print Share Comment Cite Upload Translate Updates
APA

Pandademic | Sciencx (2021-08-22T23:16:09+00:00) I made a package manager!. Retrieved from https://www.scien.cx/2021/08/22/i-made-a-package-manager/

MLA
" » I made a package manager!." Pandademic | Sciencx - Sunday August 22, 2021, https://www.scien.cx/2021/08/22/i-made-a-package-manager/
HARVARD
Pandademic | Sciencx Sunday August 22, 2021 » I made a package manager!., viewed ,<https://www.scien.cx/2021/08/22/i-made-a-package-manager/>
VANCOUVER
Pandademic | Sciencx - » I made a package manager!. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/08/22/i-made-a-package-manager/
CHICAGO
" » I made a package manager!." Pandademic | Sciencx - Accessed . https://www.scien.cx/2021/08/22/i-made-a-package-manager/
IEEE
" » I made a package manager!." Pandademic | Sciencx [Online]. Available: https://www.scien.cx/2021/08/22/i-made-a-package-manager/. [Accessed: ]
rf:citation
» I made a package manager! | Pandademic | Sciencx | https://www.scien.cx/2021/08/22/i-made-a-package-manager/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.