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

Thanks @UberGoober!
I was finding with the number of projects increasing, WebRepo was getting a little sluggish and HTML/JS handles it so much better.

b) Yes, currently the HTML/JS is hosted at https://codeawebrepo.co.uk/WebRepo/client (Also works from a browser to download project zips) and you can see the current source at https://codeawebrepo.co.uk/WebRepo/client.zip. The vast majority of the code for 3.0 is JS.

c) It should be and is something on the long ToDo list for 3.0. The main task there is having Lua communicate the status of installed projects etc. to the JS side.

WebRepo - 2.5.3 is now available.

Description: Codea Community Repository
Author(s): @Steppers

Description:

WebRepo provides easy access to projects from the community.

WebRepo 2.0 ups the ante with a brand new UI and a simplified submission/review process all from within the app itself.
No more nasty Google forms!

Other new features include:

  • Light & Dark Themes
  • Integrated Submit & Review
  • No more pesky Github login!
  • Support for multiple versions of a single project (only one version installed at a time)
  • Automatic dependency inclusion

Change-notes:

  • Fix issue in WebRepoLib dependency loading.

Latest WebRepo project

@West Thanks for the crash report! I thought I’d already fixed that issue :sweat_smile:

@Steppers no problem. Suspected it was a repeat

Codea+ and its auto-doc project both crash for me.

The error from console on Codea+:

objc.cls.ClassName is deprecated. Use objc.ClassName instead.

Documents/Codea+/DocViewer.lua:67: attempt to index a nil value (field ‘integer index’)
stack traceback:
Documents/Codea+/DocViewer.lua:67: in field ‘integer index’
Documents/Codea+/Thread.lua:80: in upvalue ‘callback’
Documents/Codea+/Tween.lua:630: in field ‘callback’
Documents/Codea+/Tween.lua:164: in upvalue ‘finishTween’
Documents/Codea+/Tween.lua:604: in function <Documents/Codea+/Tween.lua:592>

@UberGoober Thanks! I’ve seen the crash reports. I’ll take a look :slight_smile:

Edit: Should be sorted now.

WebRepoImpl - 1.0.9 is now available.

Description: WebRepo’s implementation.
Author(s): @Steppers

Description:

WebRepo’s actual implementation.

Change-notes:

  • Fix project updating functionality. Looks like a Codea bug but this should workaround it.

Latest WebRepo project

Codea+ - 1.4.2 is now available.

Description: Debugger, Threads & More!
Author(s): @Steppers

Description:

Codea+ is a multi-purpose library allowing complex systems to be created with ease.

Detailed documentation is included.

Features:

  • Cooperative threads
  • Preprocessor
  • Promises
  • Async / Await
  • Debugger
  • Automatic documentation generation

Change-notes:

  • Fix crash when viewing docs.

Latest WebRepo project

Codea+ AutoDoc - 1.0.1 is now available.

Description: Codea+ AutoDoc Standalone.
Author(s): @Steppers

Description:

Standalone implementation of Codea+'s Automatic Documentation generation.

Change-notes:

  • Fix crash in DocViewer.

Latest WebRepo project

Thanks for the fixes!

For me, current WebRepo will install projects but gives me the red screen of death after installing them.

Also for me, current UIKit project will not run and freezes Codea itself.

Sorry to bear bad tidings!

MyAmuseVoxel - 0.0.6 is now available.

Description: Voxel Editor
Author(s): @BinaryBlues

Description:

  • model editing capabilities (which is the core functionality of the original project),
  • a user interface (UI) that conveniently adjusts sizes to fit different screens,
  • the ability to save and load models, You can select the model to be loaded through the thumbnails in the model list panel.
  • the option to freely name models,
  • the capability to slice the model along the XYZ axes at any scale to facilitate the editing of the model’s interior space, such as a castle model,
  • the ability to shrink the model by half and enlarge it by double the scale,
    to cycle the model along the XYZ axes,
  • You have the option to choose solid color blocks or blocks with textured material assets.
    the option to choose different block materials (which can be achieved by incorporating dependencies from different material projects, as long as the block names in each material library are ensured not to be repeated).
  • There are two color panels (I originally planned to only keep one set), and I have not yet determined which colors to provide.
  • You can even import terrain blocks generated by voxel terrain to perform internal editing. If you wish to manually edit an adventurer’s cave, this is a great option. It is important to note that the terrain blocks should not be too large, as this may cause the program to crash.

dependences:

  • Block Library
  • UI
  • Cameras
  • Touches

Change-notes:

  • Initial Release
  • require Codea version <= 4.9.8(443)

Latest WebRepo project

@binaryblues Amazing work! Just so you’re aware in future, WebRepo should bundle any dependencies with your project automatically when you upload it, so you shouldn’t have to worry about them in your description :slightly_smiling_face:

@UberGoober You’re definitely running the latest version? If so what error are you seeing?

Are you running the beta? I’ve seen an increase in issues recently and I don’t believe they’re related to any of my changes.

Oh and that’s my castle ain’t it? Awesome!

I could download the above voxel project without crashing, but I deleted Codea+ and tried it again and WebRepo crashed again. Screenshot above.

MyAmuseVoxel - 0.0.7 is now available.

Description: Voxel Editor
Author(s): @BinaryBlues

Description:

  • model editing capabilities (which is the core functionality of the original project),
  • a user interface (UI) that conveniently adjusts sizes to fit different screens,
  • the ability to save and load models, You can select the model to be loaded through the thumbnails in the model list panel.
  • the option to freely name models,
  • the capability to slice the model along the XYZ axes at any scale to facilitate the editing of the model’s interior space, such as a castle model,
  • the ability to shrink the model by half and enlarge it by double the scale,
    to cycle the model along the XYZ axes,
  • You have the option to choose solid color blocks or blocks with textured material assets.
    the option to choose different block materials (which can be achieved by incorporating dependencies from different material projects, as long as the block names in each material library are ensured not to be repeated).
  • There are two color panels (I originally planned to only keep one set), and I have not yet determined which colors to provide.
  • You can even import terrain blocks generated by voxel terrain to perform internal editing. If you wish to manually edit an adventurer’s cave, this is a great option. It is important to note that the terrain blocks should not be too large, as this may cause the program to crash.

dependences:

  • Block Library
  • UI
  • Cameras
  • Touches

Change-notes:

  • require Codea version <= 4.9.8(443)
  • modify the default model save/load path to asset.models in itemPanel.lua

Latest WebRepo project

@Steppers That’s great, WebRepo can automatically package dependencies. I discovered this feature after submitting, and it’s a very practical function! Thank your for the good job!

@UberGoober Please try the new version.

WebRepoImpl - 1.0.10 is now available.

Description: WebRepo’s implementation.
Author(s): @Steppers

Description:

WebRepo’s actual implementation. Do not install this directly.

Change-notes:

  • Fix crash during project install (unsplitProject call)

Latest WebRepo project

@UberGoober I believe the project install crash you were seeing should now be resolved :slight_smile: It should be picked up automatically next time you launch WebRepo.

Hi everyone,

Here is a currently up to date backup of the entire WebRepo setup. Docker files and server too. (I’ve removed any credentials from the docker-compose.yml file).

I have no intention of abandoning this so don’t worry about that. I’d just been intending to release the server side code since I pretty much started working on WebRepo and have only now gotten around to it.

The zip file should hopefully contain everything one could need to host WebRepo elsewhere.

https://codeawebrepo.co.uk/CodeaWebRepo.zip

Cheers,
Steppers

@sim On an unrelated note, how would you feel about adding a DNS subdomain to point to the current WebRepo server? I think webrepo.codea.io has a nice ring to it :wink:

1 Like

Installing Codea+ still crashes. Red screen of death. Console error:

Exception invoking setValue:forKeyPath:, verify the arguments: [<UITextView 0x16b9bd400> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key isEditable.

Asset Key: Codea+.codea (path: “/var/mobile/Containers/Data/Application/255B801D-E82B-46B9-A145-7CF433BCA3A5/Documents/Codea+.codea”)

If you would like to upload your crash report please press the button above.

Please provide any useful info you may have (what you were doing at the time, any modifications etc.) and your forum name if you wish.