3 posts
Location
return new Location();
Posted 11 December 2016 - 04:45 PM
PGUI
PGUI (Pastebin GUI) is a simple GUI for pastebin! (Who would'a guessed?)
InstallerRun `pastebin run zTtNarHC` to install the program.
FeaturesSpoiler
Getting files from pastebin
Putting files onto pastebin
Market for commonly used programs To-Do ListSpoiler
Getting files from GitHub
Background images ScreeniesSpoiler
This program is mainly intended for new people, or for running in the background. Also, this program isn't complete, I'm open to constructive criticism (Of course). If you find any bugs, you can leave a reply, or leave an issue at
https://github.com/U...red/PGUI/issuesHope you find it useful :D/>
Sidenote: This isn't my first program, my others are just private. :)/> (For now)
EDIT: Just realised I didn't include an installer for some reason, added it.
Edited on 11 December 2016 - 05:45 PM
172 posts
Location
USA
Posted 12 December 2016 - 02:36 PM
I would recommend making a table that has all the pastebin codes you want the "Store" to have
Example:
local codes = {
[1] = {
"http://www.pastebin.com/raw/InkCode",
"Ink"
},
[2] = {
"http://www.pastebin.com/raw/SketchCode",
"Sketch"
},
etc.
}
It could make the Browse sections a lot easier!
Overall, Your program seems very nice. One suggestion I have is allow the user to login to their pastebin account (Pastebin made an API for that) and they will be able to get and put files from Pastebin. You can do that all with the Pastebin API and you can get documentation at
http://pastebin.com/api
3 posts
Location
return new Location();
Posted 12 December 2016 - 03:48 PM
Never thought of that, thanks :)/> I'll update it in a few hours. For the users logging in thing, I am already planning that, and will probably get around to it soon.
224 posts
Posted 19 December 2016 - 11:56 PM
Another thing with the codes in general. A way to add / save named pastebins for later download would be cool. Or even a Recently Downloaded tab would be nice.
3 posts
Location
return new Location();
Posted 21 December 2016 - 02:18 PM
Another thing with the codes in general. A way to add / save named pastebins for later download would be cool. Or even a Recently Downloaded tab would be nice.
That's exactly why I was initially saving market files in a file, so I could easily edit it. I could make a file just for user-added pastes, with a seperate area/tab in the market.
45 posts
Posted 18 January 2017 - 04:06 PM
what's the progress on this? Has it been updated?
467 posts
Location
Van Diemen's Land
Posted 10 February 2017 - 12:50 AM
I would recommend making a table that has all the pastebin codes you want the "Store" to have
Example:
local codes = {
[1] = {
"http://www.pastebin.com/raw/InkCode",
"Ink"
},
[2] = {
"http://www.pastebin.com/raw/SketchCode",
"Sketch"
},
etc.
}
It could make the Browse sections a lot easier!
Overall, Your program seems very nice. One suggestion I have is allow the user to login to their pastebin account (Pastebin made an API for that) and they will be able to get and put files from Pastebin. You can do that all with the Pastebin API and you can get documentation at
http://pastebin.com/api
I know this is a late reply to this but you would be better off doing something like this:
tPrograms = {
[1] = { code = "example01", name = "Test Program" },
[2] = { code = "example02", name = "Fred's Program" },
[3] = { code = "example03", name = "Tom's Program" }
}
for i=1, #tPrograms do
print(tPrograms[i].name.." | "..tPrograms[i].code)
end
I haven't tested this code but there is no reason it shouldn't work from what I can see.
Anyway, this way you could add as many as you wanted and not have to change ANY of the existing code.
Another idea would be to create a file that has a list of names and another file that has a list of codes. A program's place in a file corresponds to its code in the other file. Then you wouldn't need to change the code at all but you could easily add more. Or you could just make 1 file with names and codes in the one, however that would require some formatting code.