Giter Club home page Giter Club logo

roblox-package-manager's Introduction

Roblox Package Manager

Let's talk about packages

The idea of packages / modules / libraries is to reuse and share code, right? Currently I find this process quite cumbersome, particularly when trying to use tools / plugins within Roblox Studio only. However, if you do some digging you are likely to come across Wally.

For those who don't know, Wally is a package index & package management tool that is primarily used for a Rojo style workflow (i.e. using a separate editor such as VSCode and syncing changes into studio). There's a growing number of packages becoming available via Wally, such as . Naturally there is a barrier to using Wally if you stick solely to using Studio.

Enter the RPM plugin. This allows you to search the full Wally package index from studio, and to download specific packages into studio directly.

Installation

You can install the plugin straight from the creator marketplace.

Alternatively you can clone the repo, build the plugin using rojo build and move to your local plugins folder.

Windows + PowerShell

For quickly building and re-installing the plugin locally this command has proved useful:

rojo build --output dist/RPM.rbxmx; copy -Force .\dist\RPM.rbxmx $ENV:LOCALAPPDATA\Roblox\Plugins\

Note: this will overwrite the existing plugin in your local plugins folder.

Usage

There are currently two menus that exist. One headed with "Download", the other with "Search Wally".

If you know what package you want then you can use the download menu by simply entering the package in <scope>/<name>@<version> format e.g. evaera/[email protected] . When you click download, the package will be downloaded and installed into the PackageLocation in the config (currently set to the default of ReplicatedStorage/Packages).

The search menu is for finding specific packages on the Wally index. You can enter any search term and see results (if there are any). Each result is seperated by scope/name and each result can be clicked to reveal the available versions of that package. A typical use case is searching by a creator / scope and seeing what packages they have.

Existing work

In order to create the most useful tool possible it is important to understand the existing infrastrucure & standards that are being used.

  • StudioCLI provides a package manager that allows you to install from the Roblox market place either by name using it's own package index or via asset id. This is all done through a command line that the plugin provides.

  • Why you should use Wally

  • Rojo & rbx-dom provide a widely used standard for converting between a standard file system layout and Roblox instances.

There have been some other attempts at creating a plugin of a similar nature before. There doesn't seem to be much current activity for them now.

Roadmap

  • Install from local zip file (e.g. from a downloaded source .zip file from github)

  • Resolving dependencies

  • Updating currently installed packages / inform if an update is available

  • Uploading packages to Wally from Studio

  • Developing a standard dependency import style

  • Authentication checks for package installs (checksum/hash/public-private key etc.)

roblox-package-manager's People

Contributors

mcthor2 avatar jalsop24 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.