Posted 07 January 2017 - 09:01 PM
ccfBrowse
Introduction
ccfBrowse is a program which allows browsing and installing* on programs listed in any category of the ComputerCraft forums.
*Not every program supports installation.
How it Works
Daily, the server will search for all recent programs (More than 200) on each of the program forums here such as API & Utilities, Programs, etc. The server will look for information such as the program name, the program creator, the category of the program, and the code to install the program (If possible). This information is stored into a database to be displayed via this program.
Installation
There are 2 main ways to download this program.
1: Using wget
wget http://raw.twijnweb.com/ccfbrowse/ccfbrowse ccfbrowse
2: (If wget is not available) Using pastebin
pastebin run nwEVWK7b rByqPkOPGzxfohK
You can additionally view the source code here.
Flaws of This Program
This program is very new. Nothing has been tested that well and the intelligence of the auto-scanning is very limited. The program likes specific formats to be followed, and the different formats which some people use on this makes it literally impossible to make it gather all info. (View below to see how to make your program ccfBrowse-friendly.) This results in failure to get codes when the installation code is clearly obvious to human eyes. The program also can catch unneeded information (such as HTML info) when it shouldn't, which requires manual moderation from myself. Additionally, requests to find the code of each program is not very friendly, considering that each one requires an additional request to the server for the topic's link. This program as-of this time is purely a concept - the program is not perfect and it will take a TON of work to be perfect - by both me and by you, those posting the programs.
Making Your Program ccfBrowse-Friendly
Below is a checklist to make your program friendly to our system.
- Don't use formatting inside of your codes. - Things such as bolding certain parts of the installation information or adding a link to the pastebin code will halt the scanning, as it adds unexpected HTML to your code.
- Add a space trailing the code. - Adding a space after your code can help because it is less likely for the the scanning to get other characters after the code
- Make sure the code you want is closest to the top of the page - The system finds the first potential code and goes with it.
- We don't allow arguments - If you put in something such as pastebin run XXXXXXXX version1, VERSION1 WILL BE CUT OFF.
Spoiler
Suggestions
Suggestions, Ideas, & Comments are well appreciated, so post them below!
Edited on 07 January 2017 - 09:47 PM