Yes, it's finally here!
Since Lightshot came out, I thought it would be a good idea to make a 'YouTube' version for ComputerCraft which can be used to play Lightshot Videos.
ComputerCraft YouTube is a program that uses the HTTP API to get information from a MySQL Database which has information about videos saved into it. This program accesses the page and stores all the information for each video into a table and then prints it onto the screen.
I'm using a website hosted freely by 000webhosts.com to store all the information for the videos.
The website is the official website for ComputerCraft YouTube and was made by me. It is available for uploading/downloading and contacting
me if you have any questions.
Official Website: ComputerCraft YouTube - sink into our videos.
What can you do on the website?
- Upload videos
- Download videos
- View the changelog
As of v3.1, an 'Accounts' menu has been added with a Register/login feature which allows your to register an account with a desired name, *email, username and password. This information is stored into a MySQL database with the passwords been **HEAVILY SECURED to prevent any breaches into my system. Registration only requires a username and password, name and email are optional.
Also, I need feedback about everything to do with the Account tab, the colours, text, position, etc. The colours now are from testing and I still yet need to find a better combination.
* For now, emails will be used to notify you about updates (soon to come)
** Passwords are secured like so:
- EACH password has it's own generated salt
- Hashed using SHA in many various ways about 6 times
- According to How Secure Is My Password, it will take A quattuordecillion years to hack my password :P/>/>
Even if someone had the SAME password as yours, their hash code wouldn't been the same as yours.
FOR YOUR OWN SAFETY: Choose a password that you do not use anywhere else in-case something were to happen, but I'm positive nothing will.
Features:
- Login/Register your own account
- Delete your account
- Viewing a video in the website gallery will show with a green + on the left if you have it on your computer already (Mouse and key support)
- Download videos that other users have posted
- Play downloaded videos from your computer
- Search for updates
- Upload your own video using a pastebin code - I will soon add the feature to upload a file directly from your computer. If upload has failed, it now remembers the details that you added previously
- Connects to a website to manage everything
- Mailing system - mail other users using there username
- Installer - custom installer for ComputerCraft YouTube which downloads/creates all files/folders in a sourceFolder '.ccYouTube'
- has a -redownload feature to which deletes current CC YouTube on your computer and redownloads a fresh one (TheOriginalBit's idea)
- -redownload feature now backs up all current videos and copies them back to the downloads folder
- Files uploaded to you will be saved into your user profile if you're logged in.
- Support for changing your user details in 'Prefrences' tab
- Able to view all users and check their uploaded videos.
- Backup folder - create backups of videos
Need feedback on the colours. Colours at the moment don't seem to fit in so nice.
Credits:
- TheOriginalBit - LoadingScreen and Extended String Library APIs
- Orwell - helping me with http.post and string.gmatch
- Bubba - helped with string.gmatch multiline removal
- GravityScore - PHP help and general way of how the mailing system will work
You can get it by downloading and running this installer - or pastebin get tLSZaRB2 installer
Watch this Lightshot Video (CC YouTube v3.0) to see what's new and to inspire you to download it and use it :P/>/>/> ( Becomes very laggy though :/ )
Changelog:
Spoiler
v3.2 (03/16/13)- Removed dialogue boxes within the accounts tab
- Few more changes with PHP code
- New colours for the table in Website Gallery (need feedback)
- Fixed a bug with updating
- Updated help screen - now has help for Logging in and Registration
v3.2 (03/16/13)
- More changes with PHP, added new ways of getting information
- Mailing system!
- Fixed a few functions
- Fixed a bug where the description isn't uploaded when uploading a video
- Few other changes with Accounts tab
v3.1 (03/16/13)
- Few changes with PHP code which intern needed me to change source code (You won't be able to login with v3.1 RP2 or lower, I don't think)
- Changed 'TheOriginalBit' to 'TheOriginalBIT' in credits
- Added GravityScore in credts - helped with PHP coding and how I will be able to go about the mailing system
- Fixed a bug where menu doesn't change in Prefrences
v3.1 PR2 (03/16/13)
- Changed a few colours for homescreen / account screen
- Fixed update function ( it may find an update, but it wouldn't update )
- Fixed up code a bit, had useless calls there and here
- Homescreen's sliding bar is now bigger
- You can click 'Login' or 'Register' button within the account tab to either go into the next box or to complete the form
v3.1 PR1 (03/15/13)
- Renamed 'Login' tab to 'Account'
- Account tab includes:
- Login/Register/Prefrences/Logout
- Prefrences and Logout are only shown when logged in
- Login/Register is removed when logged in
- Able to register your account with desired name, email address, username and password
- Post a Video 'name' entry is set to your name if you're logged in
- General bug fixes and a few changes
v3.0 (03/10/13)
- Everything has now been moved to GitHub
- Completely re-wrote most functions
- New GUI and colours
- Removed Control Panel Menu
- Added 3 new menus: Home, Login and Help – Login is still in progress
- Website and local gallery are now in the form of a table, looks much better.
- Local gallery now displays who the uploader was with the timestamp
- New installer
- Installer's -redownload option now backs up download videos and then copies them back after the new installation of CCYouTube is complete.
- Videos that you already have are shown with a green + in the website gallery
- Uploading a video now keeps previously added text if the upload failed.
v2.0 (02/16/13)
- Massive upgrade to the website
- Post a video description box has improved
- Themes
- New installer
v1.2 (02/10/13)
- Local videos been playing can now be stopped by clicking F1
- Description field in window for when you open a file to check the details in Website Gallery has been changed. It supports infinity lines and has scroll feature.
- Update window has been changed - now uses the confirmBox function from my box API if an update is found
- Main screen has changed slightly
- Added a new menu 'Control Panel' - In progress
v1.1 (02/09/13)
- Added a 'post a video'
- Changed the credits screen
- Able to delete local videos
- Installer now has a -redownload feature which can be used to delete current CC YouTube and download a fresh one
- General function shortening
v1.0
- Initial Release
Screenies
Spoiler
Homescreen (orange bar on the left is a sliding bar with text)Spoiler
Account menu tab
Spoiler
LoginSpoiler
Register
Spoiler
Prefrences (only available when logged in)
Spoiler
Logging out
Spoiler
Local Gallery
Spoiler
Website Gallery
Spoiler
Viewing all videosSpoiler
Viewing a video's information
Spoiler
Uploading (if logged in, name becomes your username) description field comes after
Spoiler
Help screen
Spoiler
Post ANY feedback or suggestions (what can I improve/add?) here!