1
0
mirror of https://github.com/AR2000AR/openComputers_codes.git synced 2025-09-01 19:25:58 +02:00
2025-03-22 21:39:56 +01:00
2023-08-16 15:12:42 +02:00
2023-08-16 15:12:42 +02:00
2023-08-16 15:12:42 +02:00
2023-08-16 15:12:42 +02:00
2023-08-26 18:21:57 +02:00
2023-08-16 15:12:42 +02:00
2023-08-16 15:12:42 +02:00
2023-08-16 15:12:42 +02:00
2023-08-16 15:12:42 +02:00
2023-08-16 15:12:42 +02:00
2023-08-16 15:12:42 +02:00
2024-03-11 21:14:06 +01:00
2023-08-16 15:12:42 +02:00
2023-08-16 15:12:42 +02:00
2023-08-16 15:12:42 +02:00
2023-12-02 14:26:46 +01:00
2023-08-16 15:12:42 +02:00
2023-08-16 15:12:42 +02:00
2023-08-16 15:12:42 +02:00
2023-04-13 16:47:47 +02:00
2023-08-16 15:12:42 +02:00
2023-11-30 21:02:08 +01:00
2023-08-16 15:12:42 +02:00
2025-03-22 21:39:56 +01:00
2025-03-22 21:39:56 +01:00
2023-06-26 17:49:45 +02:00
2023-08-16 15:12:42 +02:00
2023-08-16 15:12:42 +02:00
2023-08-16 15:12:42 +02:00
2023-08-16 15:12:42 +02:00
2023-11-30 21:18:42 +01:00
2023-08-20 00:52:33 +02:00
2021-03-13 16:00:59 +01:00
2023-11-30 21:26:15 +01:00
2023-01-18 16:46:48 +01:00
2025-03-22 21:39:56 +01:00
2023-12-02 14:26:46 +01:00

OpenComputers codes

My lua programs for openComputers.

Installation with oppm

  • install oppm
  • run oppm register AR2000AR/openComputers_codes
  • run oppm install <package>

Install with pm-get

  • run pm-get install <package>

Install with pm

  • download the tar file from packages with get (get the raw file url)
  • run pm install <archiveName.tar>

Network

Yes, yes, I know. Yet a other network stack. Why use it when minitel or network are a thing. No reason really, except that my version called osinetwork is close the the reals RFCs. It implement Ethernet, ARP, ICMP, IPV4, and UDP.

osinetwork

The main package. It provide the network stack and surrounding utilities. Provide a socket library using the same interface as luasocket

dns_common

Common files for dns resolution

dns_server

DNS server as a rc daemon.

nslookup

Command line tool for dns resolution


PM Package manager

oppm is good. No denying it. But it has it's limitations. The main one for me : requiring a github repository (ironic I know).
To fix this issue, I created a package format using tar as container.\

You can find instructions to make a installation floppy here

pm

The package manager. Install, uninstall and keep track of installed packages.

pm_get

Download and install pm packages from a repo on internet. Customs repos can be added


Banking system

The bank is made of 2 main part : the server and a client. The client can be an ATM or a app to manage accounts.

Main apps

bank_server

The main server hosting every files needed for the system to work. The opp package provide tools to help setting up clients who need the secret

bank_dev_tools

Add a simple command line program to edit the encrypted accounts info. Don't install it if you don't need it.

bank_atm

Let account holders withdraw or deposit coins. Coins used are defined by libCoin

bank_account_maker

Let users create a bank account and create a new debit card.

vending

A automatic vending machine. Install it on a normal computer with a transposer. Accept coins (libCoin) items and debit card (libCB/bank_api).

Library and API

bank_api

Enable the programs to make requests to the server.

libCB

Read and write debit card on an unmanaged floppy. new Debit card can be a magnetic card from open security

libCoin

Move coins with a transposer. Use coins from the ordinary coins mod.


Lua Network File System

lnfsc

lnfs client. Provide the lib (filesystem proxy) and mount.lnfs command example usage : mount.lnfs address -p=21 -r

lnfss

lnfs server. Configuration handled by /etc/rc.cfg. See man lnfsd or lnfsd for more info


Other programs

stargate2

Graphical interface to control and monitor gates from Stargate Network. Whitelist, blacklist, gate list, iris management and password. Fully configurable from the GUI.

doorCtrl

Control a number of redstone IO blocs with a single touchscreen. Easy to configure with doorCtrl -c

itemIdCatcher

Write the item id of every items in the chest on top of the transposer in a file. Item are moved on the chest on the bottom once it's id is saved. The program stop after 3 loop without items in the chest.

autocrafter

Experimental. Use a PC, a Robot, linked card and a transposer to craft items.

crypttool

Ful disk encryption utility.
Let you mount a "decrypted" version of the disk for easy file manipulation.


Additional library

libClass2

add object oriented programming to lua.

libGUI

draw graphical element on screen. Use a widget system based on libClass.

libGUI_extra

Non essential widgets for libGUI.

Description
collection of code for opencomputers, a minecraft mode. This repo is compatible with oppm
Readme 1.2 MiB
Languages
Lua 87.2%
Python 11.2%
HTML 1.2%
CSS 0.4%