WebRepo 2.0 - Easy access to projects from the Codea community (not iCloud compatible)

@JakAttak Ladderman is available now, plays wonderfully. As long as your copy of the WebRepo project has correctly updated itself then this one should definitely display the long description. If not then we may have an issue with the text rendering there as I’ve noticed some odd things with text wrapping recently.

When run through WebRepo it even gets supportedOrientations back too!

Hi All,

WebRepo 1.3 is now available (also via autoupdate).

This update adds support for multi-project bundles allowing other users to download multiple projects and asset packs at once!

Project bundles will have the (Bundle) suffix in their project listing on WebRepo.

To make use of this please ensure your .codea and .assets bundles are available at the root of your submitted zip file.

When bundled projects are downloaded they’re placed in the same ‘collection’ in Codea (except Asset packs which are stored in Codea’s root documents folder).

Unfortunately this comes with a couple of limitations:

  • Due to the current lack of folder management support within Codea, WebRepo is unable to handle the deletion of multi-project bundles for you but this can easily be done manually from within the iOS Files app.
  • Bundled projects may have difficulty launching until Codea has been restarted.

Hope you enjoy!

Your implementation of supportedOrientations is very slick, I like it.

Hi all,

I’ll prefix this by letting you know there is no longer a risk and there’s nothing to worry about but I do apologise for the issue.

Just a quick but important update regarding the security of WebRepo and Github access.

I occurred to me today that WebRepo was storing the Github access tokens in plaintext using Codea’s global storage. This made it possible that another project could harvest the token and gain access to Github using this key (All user keys have now been revoked so they are not a risk).

As I am unaware of any method I can currently use to safely store these tokens, you will be required to authenticate at every launch of WebRepo. The token is now never stored to disk and access is also not available to launched projects.

Once again I sincerely apologise for exposing all users to this risk but thought it best to let you know of the (now resolved) issue.

Many thanks,
Steppers

On further inspection this is even less of an issue than I first thought. The Github tokens WebRepo was storing only granted read-only access to public info anyway so I can’t see how anything bad could possibly have happened.

So false alarm but probably worth the fix just in case :smile:

All - just submitted two further projects to WebRepo, old ones, demonstrating the power of using a single mesh to display multiple objects (in the thousands) - please note that the more objects you request the slower the demo is to start.

@Bri_G Amazing, thanks for adding those! They run perfectly in WebRepo. Should be available now.

@Steppers its getting so large we really need a “latest uploads” filter

@UberGoober I think it’s in need of a bit of an overhaul to be honest. I’m currently in the process of separating the various parts out into individual libraries (which will also be available on WebRepo eventually) with the intention to do a bit of a rewrite for a large portion of the code.

I’m currently considering an option that could potentially save us having to use the Github API at all, while also likely making it easier to implement something like a ‘recently updated’ or ‘recently added’ filter.

If we can also avoid the Github API entirely then I’m also considering adding a slimmed down runtime WebRepo library that would allow projects to download and load dependencies on the fly, saving a trip to WebRepo when developing a project locally. Maybe even incorporating the LuaRocks Repo so the community can easily access various Pure Lua libraries with ease.

But long story short, things are in the works :smiley:

o7

It’s been a while but just wanted to throw a quick teaser out there to show you all that I have indeed been quite busy…

Lots of new stuff on its way!

@Steppers Looks great!

WebRepo 2.0 is here!

iPad

This release brings a ton of great new features including:

  • A brand new UI (built on a brand new UI library which is also available on WebRepo)
  • Integrated Submit & Review right from within the app itself, so long Google Forms!
  • Version support for projects (all downloadable on demand)
  • Automatic dependency inclusion for submissions
  • Github login requirement has been removed
  • Light & Dark themes (available from the settings screen, requires a project restart)

Submitting a project is now fairly self explanatory once you run the app.
I’ll attempt to approve new submissions within 24 hours but if it takes much longer feel free to ping me here.

I’ll be looking to provide others with Admin keys soon so they can also manage new submissions. If you’re interested do let me know :smile:

iPad

There are a few small QOL changes that would be nice but the functionality should all be there.

I hope you all enjoy using this as much as I did making it!

Cheers,
Steppers
o7

Games

@steppers - looks really neat, will play with it tonight when I get chance. Thanks

This is fantastic! Haven’t tried all the features yet but it looks really good and there’s SO much more discoverability. Really great.

Only UI comment: the love of Pete use AspectFill!

Also I think I know the first word newcomers are going to search (see screenshot)…

…and that’s all they’ll find?

Come on guys, let’s fill that screen up!

@UberGoober That’s what the ‘Game’ tab is for :wink:

As for aspect fill, I’ve been meaning to sort this out. I’ve got support for a ‘Banner’ image to be displayed there but I just haven’t figured out a way to integrate it into the submission screen just yet.

If anyone wants to receive push notifications for new submissions, approvals & rejections you can subscribe here: https://pushover.net/subscribe/WebRepoSubmissions-enkwbftp5mr7iit

The Pushover App is fantastic btw, I totally recommend it.

@Steppers d’oh!!!

Uh oh it just froze on me, like completely forever froze. It won’t un-freeze even if I restart Codea.