r/ComputerCraft • • May 01 '26

CCraft Studio - Design and Build apps with ease!

35 Upvotes

Hi everyone,
I’m building CCraft Studio, an open-source desktop app for CC: Tweaked to make app development easier, especially for people who find Lua difficult at the start.

With CCraft Studio, you can build GUIs using drag-and-drop components and create logic using a block-based system, so you don’t need to write Lua to begin. You can also test your apps quickly with built-in CraftOS-PC support, then export them to use in-game.

Also there is a website to share your projects and explore others
https://ccraft.studio

The project is currently in active alpha development, I’d like to know what feels missing, what is confusing, and what should be improved next.

Source: https://github.com/MohammedMMC/CCraft-Studio
If you try it, I’d appreciate honest feedback. And if you like the project, consider starring the repo.

Discord Server: https://discord.gg/pxUFCxUu5h
short preview video: https://youtu.be/-vh0cw1-7a4


r/ComputerCraft • • Jun 15 '25

Making a windows-like operating system (LambdaOS)

35 Upvotes

I only just started this project 3 days ago, but I'm really liking how it's turning out so far!
Think I'm gonna call it LambdaOS. Haven't seen anyone else use that name so it's my title now lololol.
Not gonna publish it yet as I'm just now getting started.

Each window has its own stored "content" table, which in itself can have multiple tables of different positions, lengths, words, colors, etc. You could even show a picture in a window by just printing " " with a certain color at every slot on it. The content table will also be live, so technically you could play a movie inside a window if you constantly update the content. Soon I plan to add interactability to the content like buttons and type boxes.

PLANNED FEATURES (I will mark them when they're implemented):

  • Window terminals and redirects ✅

  • Window minimize button ✅

  • Custom Shell ✅

  • Custom alternatives to the rom programs (edit, list, lua, etc.) ⏳

  • Draggable file/folder/app icons

  • Calendar (or just the date) when you click on the bottom-right clock.

  • A right-click menu ✅

  • A settings window where you can change many different preferences

  • Log-in screen

  • OS installer

  • Disk drive compatibility (files on disk can be visible in some way)

  • Printer app

  • File-explorer and browser

  • Neat pop-up windows with pictures like "Insert Disk" or "No Printer Attached", etc.

I honestly have very little programming experience, but I'm learning as I go which is why I'm pretty proud of this.


r/ComputerCraft • • Dec 22 '23

How do I fix this? I've been trying forever.

Thumbnail
gallery
35 Upvotes

r/ComputerCraft • • Dec 20 '22

Made a short video about Pine3D!

Thumbnail
youtu.be
35 Upvotes

r/ComputerCraft • • Jul 31 '26

¿Qué les parece? Mi dashboard para CC:Tweaked y Create

Thumbnail
gallery
34 Upvotes

No se si es de utilidad real. Pero hice un dashboard que muestra información sobre tu red de almacenamiento directamente en tu smartphone, y que se actualiza en tiempo real.

Quiere decir que desde mi smartphone, puedo enviar señales de redstone, ver el estado de algunas "fabricas" de mi mundo.

Aclaro esto totalmente ayudado por la IA, la verdad tengo nulo conocimiento en programación.


r/ComputerCraft • • Sep 22 '24

Turtle brewer with the DrinkBeer mod

34 Upvotes

r/ComputerCraft • • Sep 15 '24

Image conversion quality improved, now usable on NON accelerated, most stuff taking under 5s at very high resolutions (example in comments)

Thumbnail
gallery
34 Upvotes

r/ComputerCraft • • Apr 28 '24

Turmitor is now ready for the public!

Post image
34 Upvotes

r/ComputerCraft • • Aug 19 '21

I compressed Bad Apple!! below 1 MB and now it can be played with a single command

Thumbnail
youtu.be
34 Upvotes

r/ComputerCraft • • Aug 05 '20

Infinite Cobblestone Generator

34 Upvotes

r/ComputerCraft • • May 10 '20

Some say the OwO turtle is now in heaven uwu

Thumbnail
youtube.com
34 Upvotes

r/ComputerCraft • • 10d ago

Progress on YTPlay

33 Upvotes

Well, I'm back guys after some work on the program. I've improved the overall color and frame rate of the video playback, as well as support for monitor stitching and using multiple speakers to distribute work and reduce noise!

Again, this project converts a whole youtube video by running a custom youtube client similar to yt-dlp and automatically updates from the repo, uses a full h.264 decoder and AAC decoder to decode audio and music, then play it on monitors.

I'm currently optimizing the script even further and making other resolutions than 144p actually playable, so stay tuned!

Video Credit: https://www.youtube.com/watch?v=NROujp4ZJ9U


r/ComputerCraft • • Jun 18 '26

how to factory reset a computer ?

Post image
33 Upvotes

so i am dumb and i put a script in /startup with os.reboot() and now i cant stop this script from rebooting in loop.
do any one know how i can factory reset or fix that ?
thanks in advance.


r/ComputerCraft • • May 06 '26

CC:Zombies! Version: 0.6

33 Upvotes

First time ever making a post advertising a project of mine, so im just gonna keep it short and simple.
CC:Zombies is basically a de-make of classic CoD zombies to CC:Tweaked. It currently has two maps bundled in the installer, with more on the way.

  1. Nacht Der Untoten (No EE)

  2. Nuketown 1975 (+ a small easter egg)

Right now, it has:
Singleplayer
Doors
Points System, both bo2 and bo6 (change your preferance in settings)
Fully working settings menu (Minus FOV)
Keybind readjustion
Mystery Box
8 working perks (theres not 8 perks in each map, though.)
Effecient(ish) rendering systems
Experimental Modding support.
The ability to change map colors & add/remove blocks in the middle of the game.
Press ] to play the easter egg song on maps that dont have an EE song quest! (At the moment, no map has an EE song quest, so this applies to all.)
Nacht Der Untoten's EE Song: Undone
Nuketown 1975's EE Song: Come Back Down

What it DOESNT have.
Multiplayer (Will be coming in the form of a mod)
Drops system
Balance (Some guns are OP. will be fixed by the time 1.0 comes around.)

Updates are.. kinda rare? ish?

Planned updates are 0.6.5, 0.7, 0.8,0.9,1.0

0.6.5 will be adding multiplayer, bug fixes, and removing bad code.

Found at https://pinestore.cc/projects/228/cc-zombies-0-6-updated-


r/ComputerCraft • • Dec 29 '24

Stockpile : The powerful storage manager system

33 Upvotes

Stockpile is a backend Minecraft storage manager system using the CC: Tweaked mod. It provides an easy-to-use API to transfer items between inventory groups in a finely controlled way. It includes powerful search tools in the storage content database.

Features

- Blazingly Fast: Item transfer speed can reach up to 128k items per second. Average search time in the database <10 ms.

- Flexible and Expandable: Easily add and remove inventories to be part of your storage and define custom inventory groups to suit your needs.

- Efficient: Uses storage space in the most efficient way possible, always trying to stack items together.

- NBT Support: Filter searches and item transfers using regex searches in NBT data.

- Easy-to-Use API: The API is comprehensive and can be called from any other computer, such as a frontend GUI client, automation programs, etc.

Github and installation

Visit the GitHub page for more info and installation tutorial.

https://github.com/MintTee/Stockpile

The API Documentation can be found here :

https://github.com/MintTee/Stockpile/blob/main/Documentation.md

As of right now, Stockpile is solely a backend server side system. I am currently developing a GUI Client for use in a survival scenario.

I need your input!

I am open for any remarks, suggestions, bug reports and code collaborations from the community. Feel free to share your thoughts and experience with the system. If you wish to help me develop Stockpile, contact me via discord's pm or via GitHub.


r/ComputerCraft • • Mar 28 '24

Bank Of ComputerCraft

33 Upvotes

Welcome Bank Of ComputerCraft (BoCC)

BoCC is a global economy system which is still in BETA. You can already install 3 BoCC powered programs, BoCC client, BoCC shop and BoCC QuickPay.

BoCC is essentially a whole banking system which is new and is aimed to be simple and quick to use.

Please remember that this project is a week old and is still very early.

During BETA, all new accounts will get 10K coins (a lot), after BETA all users will be deleted and we will have a fresh start when all the systems are correctly implemented.

I would love to see feedback, pull requests, issues, etc.. on GitHub, it'll help me a lot (suggestions for sure)

Discord server for support: https://discord.gg/aBNeYvAenN

Under this a list of links you might want to check out:

Website: https://ccbank.tkbstudios.com/

API docs

PineStore links:

GitHub links:

BoCC Shop video: https://youtu.be/TawZsxq_7GA


r/ComputerCraft • • Feb 08 '23

I made a random house generator + I'm working on a cool library for turtles

Thumbnail
youtu.be
33 Upvotes

r/ComputerCraft • • Dec 17 '22

aight i got bored today so i added nicer textures. Hope yall like it

33 Upvotes

r/ComputerCraft • • Oct 15 '22

Looking for the code to make Blackjack on a monitor, as seen in this image

Post image
33 Upvotes

r/ComputerCraft • • May 08 '22

My new GUI api showcase

33 Upvotes

So hello, for the past like month i have been working on my newest project GuiH

its an somewhat quirky but working GUI api that you can use to build well.. guis

so first before explaining anything imma show some thing made with it

download: wget run https://github.com/9551-Dev/Gui-h/raw/main/installer.lua

ok i think thats way more then enough :D
so lets talk about the main features that the api provided

- inbuild multitasking
- texture on buttons/switches etc
- automatic updating and event handling
- .nimg image format support
- .ppm image format support (smaller then .nimg)
- provided sets of shape drawing functions
- few provided presets (like brick texture)
- debug logging and custom object support, you can create your own objects
you can also remove objects and api will work just fine
- object loading from optional folders and error handling
- 13 default objects, they can be removed or added as you wish
- uses object. you create a new object and then you can copy/cut/kill it however you want
- object "modding" support, you can provide objects with extra files to configure them (none provided by default, other then embedded replicate,cut,isolate,get_position)
- logic/graphic update ordering, being able to select update order of objects
- reccursive objects/guis being able to have a gui object in an gui object

The objects provided are
- button
- switch (an on/off button)
- ellipse (shape)
- frame (an object that can be moved around the screen by dragging)
- group (object that you can put other objects into to manage your GUI)
- inputbox (an box for inputting text, has autocompletion support)
- progressbar (an bar to show progress. atm it doesnt work very well but it does work ! even with textures)
- rectangle (shape)
- script (you can use this object to run custom code within the object updating process)
- scrollbox (changes its value if you scroll within an specified area)
- text (an object that you can give an gui.text object and it will display it in your gui)
- triangle (shape)

now i will make a better docs but the current ones are outdated. so if you really want to use this api and need help with something i reccomend you to dm me on discord

! 9551Dev#7942

but im going to show some usage here too. the api can do a lot and has a lot of functions and object inputs that you can use that you wont really find anywhere.

after you download the api you will get an new folder called GuiH. dont worry about the fact that its an folder you can require it just fine
local GuiH = require("GuiH")
this object will store some useful things but not your gui it self !
it stores theese values: presets,apis,load_texture (nimg),conver_event (not to worry about)
and mainly the create_gui function. this function takes in just 1 argument and that is your terminal object. this object can be either a window,monitor, or term.current()
local gui = GuiH.create_gui(term.current())
once you have that done you have your new gui !, this table will contain all the data about your gui like
elements,general info,functions for object creation,scheduled tasks
what you mainly care about is the create table which allows you to create new objects
the usage is gui.create.<GuiH element type>(data <table>)
what the data table is its an table that will consist all of the info that you want on that object
each object has their unique data they need to be created but most of the values are optional
for example we want to create a 10x3 button at 5,6 that will have "reboot" on it and will reboot the computer when you click it
gui.create.button({
x=5,y=6,width=10,height=3,
background_color=colors.green,
text=gui.text{
text="reboot",
centered=true,
transparent=true
},
on_click=function(object)
os.reboot()
end
})
her we make the text be centered in the middle of the button and we make it transparent so it will be green, you can also provide the gui.text function with an offset_x and offset_y
you can also give it an blit table that consists of 2 strings with the blit data for the text
every object has a few mandatory tags that you can read/set
- visible (should object get drawn)
- reactive (should object react to events)
- logic_order/graphic_order/order (a number that sets the order in which updates happen, the higher number the later will update happen. so if object has graphic_order of math.huge it will always be on top)
- name (even if you dont set it. it gets asigned an random uuid4 tag)

to access and modify the button you can created you can just get what gui.create.button returns
or you can use the gui.gui table which consits all of the created elements sorted by
gui.gui.<type>.<name>
by default objects get named with uuid4 but you can provide it with an name on creation. lets say we have a button called bob. how do we get it ? its simple
gui.gui.button.bob
every object also has "manipulators" on it so you can do guielement.<thing>()
this thing can be replicate,cut,isolate,get_position but if you have something in the objects manipulators folder those will also get loaded !
but so far we have been just creating objects. and not doing anything this gui doesnt run !
well to run the gui you can do gui.execute()
this function will run the gui until it dies/errors and returns the error
you can also provide it with functions which are
gui.execute(main loop function,on event,before draw,after draw)
note that once the main loop function stops so does the gui ! main loop function needs to loop or not be provided for the gui to run. you can also use it to stop the gui, have the main loop end when you want will cause the gui to stop

about loading textures you can do something like this, lets say we have an .ppm texture that we want to put on our previous button bob, thats already been created
gui.gui.button.bob.texture = gui.load_ppm_texture(filename.ppm)
note that texture is called just tex on creation !
if you happen to have an error that doesnt show up anywhere look into the GuiH/a-tools/log.log folder, everything that the api does and errors and stack trace get saved that for the current session
if your texture doesnt work please contact me to fix my shit :D, but from my testing all textures exported by gimp worked very well !

but lets say you want to just draw a texture and not od anything else. well then GuiH has an graphics api for your usage in code that you can require like this
local graphic = require("GuiH.texture-wrapper").code
once you have that you can use the draw_box_tex function to draw your texture
graphic.draw_box_tex(terminal,texture,x,y,width,height,bg,fg) (bg and fg are optional)

this api has a lot more but this took me like half an hour to write and its almost midnight already !
i hope someone will find this api useful in some way or another. support/feedback in the comments apreciated !

here i will just send some example code you can try to see how the api works !

CC-lock by ascpyal wget run https://github.com/ascpial/cc-lock/raw/main/cc-lock/installer.lua
weird among us thing: https://pastebin.com/XrB5m9Eu
sus.ppm for that example: https://pastebin.com/9D9f5uk9

window program demo: https://github.com/9551-Dev/programs/blob/main/window.lua

seriously if you wanna use this but dont know how dm me im more then glad to help :D
new docs planned btw. ;P


r/ComputerCraft • • Aug 01 '26

Do i even have to say?

Post image
32 Upvotes

r/ComputerCraft • • Jun 14 '25

My turtle is working really well! It even found diamonds.(3pieces xd)

Post image
32 Upvotes

r/ComputerCraft • • Sep 14 '24

So, I guess I did a multi-speaker system

32 Upvotes

r/ComputerCraft • • Sep 21 '22

Computer Craft Quarry

32 Upvotes

Lua program to mine quarry of equal length and breadth.

pastebin get qLNTfKvM <file name>

Usage: <file name> <size> <depth>

Features -

  1. Efficient mining algorithm

  2. Refueling system which conserves fuel by consuming minimum fuel.

  3. Drops items in chest when inventory is full.

  4. Gravel friendly

  5. Returns back when done mining.

  6. Gives useful info about the mining process. eg - fuel level, levels digged, etc.