Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Hathor is a commandline tool that helps you combobulate vanilla-like Lua source code into Roblox Lua compatible modules.
The main goal of hathor is to be able to use vanilla-style imports with Roblox Lua. This makes it so autocompletion within Lua IDEs works properly with Roblox modules. The side effect of this is that the build output can be specialized depending on project needs. To aide with development, hathor also includes a synchronization server that can synchronize your scripts with Roblox Studio.
Hathor is a replacement for two older Rockit tools:
Getting started with hathor is easy. The CLI is installable through pip:
pip install --user hathor
or through pip, but using the git repository as source:
pip install git+https://gitlab.com/rockit-tools/hathor.git
Installing using the git repository should install the latest development (semi-stable) version of hathor.
To get changes synchronized in to studio, you need to install the complementary plugin. Hathor is compatible with the older Zipline plugin for Roblox Studio.
Link: Zipline Synchronization plugin
Creating a new project can be done through the hathor CLI, however you'll need to know about some core concepts.
Every hathor project requires a hathor.project.yml
file to be present at its root. This file
contains all requisite configuration for a hathor project to function. An example of this can be
found in the example_project
that is bundled with the source code.
All paths in the project configuration are:
Hathor can pull sources from multiple source directories. These should be listed under the sources
section of the project configuration file. The key of each source is the path to the source, while
the key/value pairs for a source are its properties. Sources can be enabled and disabled as required.
The build
section of the project contains build profiles. A build profile specifies how your
hathor project should be built. The configuration directly under the build
section is the default
build profile. However, additional profiles can be specified using the profiles
subsection.
Hathor is bundled with 'builders'. These are simply functions that build your project into the desired result. Currently hathor ships with two builder:
modular
: Creates a modular build, using the Hathor loadercopy
: Creates a 1:1 copy of your sourcesThe hathor serve
command spins up a REST api for the synchronization plugin. The server will
detect changes in your defined sources and build your project in memory. Output files from the build
will be synchronized to Roblox Studio.
Creating a new project with hathor is as easy as its gets. All you have to do is:
cd
into your project directoryhathor init
The hathor init
command will prompt you with several questions, and will set up a project for you.
FAQs
A lua script combobulator aimed at roblox
We found that hathor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.