TurtleMarket - Install/Edit apps without Pastebin! BETA

by: TurtleScripts

51 Votes8 Comments1 File (3,267 bytes)

This application has two major features:

1) It can install scripts from the website by looking up their File Key (a new column in the file list below)

2) It can save your work back to the TurtleScripts server directly (this is verified by defining a write pin in your project settings)

We realize that this is a big script and have made it available on pastebin http://pastebin.com/F1wjWW3w for first-time installs. Otherwise, we would prefer you use this script to checkout new projects as we will be adding new features like Search, Top-Ranking, and many other features.

To install via pastebin (the link has changed):
pastebin get w1RtfqFd market

To install manually:
Download the "market" file and drop it into /mods/ComputerCraft/lua/rom/programs/http/



file_key - Found on the project files page (below)
filename - A local filename to read/write
write_pin - Your project's WRITE PIN
read_pin - Your project's READ PIN


market put <file_key> <filename> <write_pin>
[pin required]

market get <file_key> <filename> <read_pin> [y]
[read pin only required if project is private or you are downloading the draft version]
[y] = overrides file if exists


market get gjdgxt bore (downloads file #gjdgxt as local file "bore")
Key Filename Size Options
#gjdgz7 market 3,267 bytes Download View/Install
Feature Matrix:
Feature Required Optional Unused
Advanced Computer Unused
Advanced Monitor Unused
Computer Required
Monitor Unused
Disk Drive Unused
Turtle Unused
Digging Turtle Unused
Felling Turtle Unused
Mining Turtle Unused
Wireless Turtle Unused
RedPower Support:
Feature Required Optional Unused
Bundled Cable Unused
ccSensors Support:
Feature Required Optional Unused
ccSensors Unused
MiscPeripherals Support:
Feature Required Optional Unused
Feeding Turtle Unused
Chunk Loader Turtle Unused
Laser Turtle Unused
Resupply Turtle Unused
Solar Turtle Unused
Shearing Turtle Unused
Compass Turtle Unused
Wrench Turtle Unused
Treetap Turtle Unused
Alchemist Turtle Unused
Sign Reader Turtle Unused
REther Turtle Unused
Tank Turtle Unused
Inventory Turtle Unused
Thaum Scanner Turtle Unused
MFFS Turtle Unused
RTG Turtle Unused
Charge Station Unused
Iron Note Block Unused
Resupply Station Unused
Interactive Sorter Unused
Gate Reader Unused
Rail Reader Unused
Nuclear Information Reader Unused
Turtle Teleporter Unused
Player Detector Unused
Computer Controlled Crafter Unused
Tree Analyzer Unused

User Comments 8 Comments

When we use "market get <file_key> <filename>". Can you make it replace the file if it already exists by deleting it first then downloading it?

by zachdyer11/23/2012 10:10:00 am

I think it would be better to add a new function for this.

market update gjdgxt bore

This would delete the "bore" file if it existed first and then download and save the new version.

by gpgautier11/24/2012 06:32:45 am

May I suggest that you also encode the pin when sending the request to the server (line 109). It is user input.

by gpgautier11/24/2012 06:36:50 am

@gpgautier When you were talking about overwriting the file it reminded me of a discussion me and 404 about it. Now with the new version you can pass in "y" as an argument to overwrite the file. The trickiest part is downloading your new drafts when you are debugging and testing your scripts you have type "market get <id> <script> <pin> <overwrite>" This will download and overwrite your script with your draft.

by zachdyer12/01/2012 09:14:04 am

Can I have some help? I just see jumbly bits of code where I believe others see links. pastebin get w1RtfqFd market looks nothing like I think it should. Occasionally, the website tells me HTTP API needs to be enabled, and I think this is my problem, but I don't know how.

by Tsa6Plus12/23/2012 08:16:40 am

How can I download my private projects?

by willwac07/11/2013 02:28:17 pm

I don't understand how the write pin works

by ShadowXGaming_02/09/2014 10:51:43 am

I have no clue what I"m doing... How and where do I install this to work on my mining turtle on a server

by MrsChrissy05/18/2016 06:45:58 pm

Leave a comment:
You must be logged in to add a comment.