• Stars
    star
    29
  • Rank 860,095 (Top 17 %)
  • Language
    Lua
  • Created over 11 years ago
  • Updated about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

command line tool for working with rocks.moonscript.org

moonrocks

A command line tool for uploading and installing from the public Lua module hosting site, LuaRocks.

This tool is no longer necessary as this functionality has been added to the main LuaRocks tool.

How To Install

Install using LuaRocks:

$ luarocks install moonrocks

Add --local or --tree if you need to install to a different location

This will give us the command line tool moonrocks.

How To Use

moonrocks comes with two main commands, install and upload. You can run moonrocks help to see help from the command line.

moonrocks install

This command is no longer necessary as rocks.moonrocks.org has become luarocks.org

install is a simple wrapper for running luarocks install, except that it prepends --server=http://rocks.moonscript.org to the argument list, ensuring that MoonRocks is checked as a module source.

For example, the following two commands are equivalent:

$ moonrocks install --local moonscript # install with moonrocks

$ luarocks --server=http://rocks.moonscript.org install --local moonscript # install with luarocks

moonrocks upload <rockspec>

upload will upload a rockspec to the server. If the module doesn't exist yet it will be created, if it already exists the new version will be added to it. If a version for that rockspec already exists then you will be prompted to overwrite.

This is equivalent to going to http://rocks.moonscript.org/upload and uploading a rockspec.

By default upload will use luarocks pack to pack the rockspec into a rock. That rock will also be uploaded along with the rockspec. (This creates a src rock). If you don't wish to pack and upload a rock then include the flag --skip-pack

All remote actions (such as uploading a rockspec) require an associated account on MoonRocks. You give access to your account by generating and API key. The first time you issue a remote command you will be asked to log in. This involves generating an API key at http://rocks.moonscript.org/settings and pasting it into the tool.

moonrocks login

You can call login to set or replace your API key. You shouldn't normally need to call this, upload will attempt to log you in automatically if a key is not configured.

Your API key is stored in USER_HOME/.moonrocks/config.lua.

Dependencies

Thanks to the following libraries:

License (MIT)

Copyright (C) 2013 by Leaf Corcoran

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

moonscript

🌙 A language that compiles to Lua
Lua
3,026
star
2

lapis

A web framework for Lua and OpenResty written in MoonScript
MoonScript
2,923
star
3

sticky-kit

A jQuery plugin for creating smart sticky elements
CoffeeScript
2,908
star
4

lessphp

LESS compiler written in PHP
PHP
2,210
star
5

scssphp

SCSS compiler written in PHP
PHP
1,351
star
6

sightreading.training

🎹 Sight reading training tool
JavaScript
443
star
7

magick

Lua bindings to ImageMagick for LuaJIT using FFI
Lua
404
star
8

pgmoon

A pure Lua Postgres driver for use in OpenResty & more
MoonScript
393
star
9

gifine

Quickly record and edit gifs and videos of your desktop
Lua
285
star
10

etlua

Embedded Lua templates
Lua
219
star
11

aroma

a game engine: lua, opengl es 2.0, native client
C
197
star
12

streak.club

a website for running creative streaks
MoonScript
139
star
13

tableshape

Test the shape or structure of a Lua table, inspired by React.PropTypes & LPeg
MoonScript
112
star
14

gifserver

A server for transcoding gif to video on the fly
Go
101
star
15

lovekit

Miscellaneous code for making games in LOVE with MoonScript
Lua
96
star
16

moonscript-vim

MoonScript support for vim
Vim Script
96
star
17

lua-enet

Bindings to ENet for Lua
C
85
star
18

gh-actions-lua

GitHub action for Lua/LuaJIT
JavaScript
83
star
19

heroku-openresty

Run OpenResty on Heroku with the Lua buildpack
Lua
78
star
20

sitegen

static site generator in MoonScript
Lua
76
star
21

lua-payments

Various payment provider APIs for Lua (and OpenResty): Stripe, PayPal
MoonScript
72
star
22

web_sanitize

Lua library for sanitizing, parsing, and editing untrusted HTML
MoonScript
70
star
23

moonlisp

a Lisp that compiles to Lua
C
67
star
24

scssphp-compass

Compass for scssphp
PHP
66
star
25

image-server-tutorial

An example of an image processing server in OpenResty and Lua
Lua
65
star
26

compohub

A website for listing game jams
CoffeeScript
62
star
27

lua-openai

OpenAI API bindings for Lua
MoonScript
52
star
28

lapis-community

Pluggable message board for Lapis powered websites
MoonScript
49
star
29

itchio-app-old

Desktop itch.io client
C++
45
star
30

goattracker2

a fork of goattracker2
C
43
star
31

loadkit

Loadkit allows you to load arbitrary files within the Lua package path
MoonScript
42
star
32

gh-actions-luarocks

GitHub action for installing LuaRocks
JavaScript
42
star
33

lapis-console

Interactive console for working with Lapis
Lua
42
star
34

cloud_storage

A Lua library for communicating with Google Cloud Storage
Lua
40
star
35

moonscript-javascript

MoonScript compiled to JavaScript with Emscripten
JavaScript
38
star
36

moonscript-tmbundle

textmate support for MoonScript
37
star
37

lapis-bayes

Naive Bayes classifier for use in Lua
MoonScript
30
star
38

lua-twitter

A Lua twitter library that works with OpenResty or LuaSocket
Lua
27
star
39

lua-mailgun

Lua bindings to Mailgun HTTP API
MoonScript
25
star
40

ludum-dare-browser

a website for browsing ludum dare games
HTML
25
star
41

lapis-redis

Redis integration for Lapis
Lua
23
star
42

lua-syntaxhighlight

A code syntax to HTML highlighter using lexers from Textadept
Lua
21
star
43

luajit-geoip

luajit bindings to maxmind geoip
MoonScript
21
star
44

lapis-systemd

systemd integration for lapis
Lua
18
star
45

lapis-exceptions

Exception tracking for Lapis
MoonScript
17
star
46

moonscript-javascript-compiler

compile moonscript to javascript
MoonScript
16
star
47

mursic

sight reading training tool
MoonScript
15
star
48

lapis-site

The homepage for Lapis
HTML
14
star
49

lua-date

LuaDate 2 modified to work with newer versions of lua/luajit
Lua
14
star
50

lua-base58

base58 decode and encode for strings in pure lua
MoonScript
13
star
51

moondoc

MoonScript library documentation generator
Lua
13
star
52

lapis-archlinux-docker

Dockerfile for running lapis in archlinux
Dockerfile
13
star
53

moonscript-love

LÖVE game engine with baked in moonscript support
C
13
star
54

lua-uinput

A Lua library for creating a virtual keyboard on Linux with uinput
MoonScript
13
star
55

ludum-dare-22

A game built in 48 hours for the Ludum Dare Competition
12
star
56

moonscript-site

CSS
11
star
57

heroku-lapis-example

An example of running Lapis on Heroku with heroku-openresty
Lua
11
star
58

imagesize

Detect size & format of image file
MoonScript
10
star
59

ludum-dare-27

theme: 10 seconds
MoonScript
9
star
60

ludum-dare-38

lets make a game "a small world"
MoonScript
9
star
61

ludum-dare-25

Make a game in 48 hours!
MoonScript
9
star
62

moonscript-textadept

Textadept support for MoonScript
MoonScript
9
star
63

saltw-bot

irc/twitch bot written in MoonScript
MoonScript
9
star
64

lapis-stats

Statsd and Influxdb support for Lua, OpenResty & Lapis
Lua
8
star
65

selfwatch

inspired by selfspy
Go
8
star
66

snes-renoise-instruments

Various snes samples ripped from spc -> xrni
8
star
67

lapis-spec-screenshot

A busted screenshot handler that takes images of your pages when testing
Lua
8
star
68

ludum-dare-24

Let's make a video game!
7
star
69

giflib

gif
MoonScript
7
star
70

garfield

garfield comic viewer 🐱
MoonScript
7
star
71

weeklyloops

loops for http://streak.club/s/134/weekly-loop
Go
7
star
72

lapis-annotate

Annotate lapis models with their schema from the database
Lua
7
star
73

moonscrape

web scraper
MoonScript
6
star
74

lessphp-site

the lessphp homepage
PHP
6
star
75

lapis-eswidget

A widget base class designed for generating ES modules for bundling JavaScript & more
MoonScript
5
star
76

wallrun-js

Trying to get love2d game working in browser using fengari
MoonScript
5
star
77

elng

an interpreted language running on erlang
Erlang
5
star
78

dullcache

A simple large file cache for sitting in front of storage provider to offload bandwidth
Go
5
star
79

ludum-dare-32

Something butt
MoonScript
4
star
80

uglyphp

a templating language for php with emphasis on macros
PHP
4
star
81

fireplace

GTK+ campfire client
Python
4
star
82

album-1

my first album, chiptune
4
star
83

net.leafo.MIDIThing

Control your MIDI modules from Renoise
TeX
4
star
84

gh-actions-openresty

Install OpenResty inside of your GitHub Actions runner
JavaScript
4
star
85

ludum-dare-23

make a game in 48 hours!
4
star
86

talkxtyper

Type with your voice
Go
4
star
87

workdad

a chorded keyboard layout and training program
MoonScript
3
star
88

lapis-http

HTTP library wrangler for OpenResty & Lua
MoonScript
3
star
89

somestory

lets make a game for real this time....
Lua
3
star
90

ludum-dare-30

Connected worlds
Lua
3
star
91

pixel-react

creating pixelated game interface with html in react
JavaScript
3
star
92

st

my terminal
Objective-C
3
star
93

awesome-config

My awesome configuration
Lua
2
star
94

godot-game-1

GDScript
2
star
95

ludum-dare-41

combine two genres
GDScript
2
star
96

noteshed

a personal wiki for notes
2
star
97

ludum-dare-31

Entire Game on One Screen
MoonScript
2
star
98

ludum-dare-40

Lets make another game
Lua
2
star
99

moonparse

MoonScript
2
star
100

gslog2pg

Copy Google Cloud storage logs into PostgreSQL
MoonScript
2
star