Hello everyone!
Today I would like to present a little utility that I started a few months ago mostly for fun, but also in protest of App Store policy. That restricts code sharing for developers using legitimate IDEs. Although now there looks like there is hope that Apple may finally be coming to their senses. I still thought I would post this anyway… just in case they change their mind.
Essentially this WebDAV server allows you to perform the functionality that you expect to be able to do with iTunes. Transfer your project source code and assets easily between your PC and Codea.
Features
-
Import project source code and assets directly from your PC into Codea
-
Backup projects and assets easily without extracting files from iTunes backups
-
Remotely access projects, project collections and assets (Documents & Dropbox) with full control (create, modify, rename and delete)
-
Supports all standard project and asset file types
-
Project source files (*.lua, Info.plist) - Info.plist is updated automatically when lua files are created, renamed or deleted.
-
Models (.obj, modelAssetName.mtl, modelAssetName.obj.mtl) - Codea Craft required
-
Music (.mp3, .m4a, .wav)
-
Sounds (.caf)
-
Sprites (.png, .pdf)
-
Text (.txt)
-
Shaders (Fragment.fsh, Vertex.vsh and Info.plist)
-
WebDAV is widely supported by major operating systems
-
Windows 10, 8 & 7 - Tested Windows 7 and Windows 10
-
Mac OS X - Tested Sierra
-
Linux - Untested
Installation
-
Install Working Copy
-
Install DAVify using Working Copy
-
Navigate into the DAVify.codea folder
-
Actions->Copy as Codea project then open Codea
-
Press and hold New Project then press Paste into project
Usage
-
Run the project
-
Connect to the server using a WebDAV client using the URL emitted to the output window.
Windows 10, 8 & 7
-
Open Computer click Map network drive
-
Click Connect to a Web site that you can use to store your documents and pictures
-
Select Choose a custom network location click Next
-
Enter full server url including the port e.g.
http://192.168.0.2:8080
-
Click Next then Finish
-
The Windows DAV client may need some tweaking to get working.
-
If you are experiencing dropouts followed by problems reconnecting try disabling caching with the following reg key.
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\
- FileNotFoundCacheLifeTimeInSec = 0
- Don’t forget to restart your computer afterwards.
-
If you are experiencing slow connectivity try temporarily disabling automatic proxy detection in Control Panel.
-
Internet Options->Connections->LAN settings .
-
You can find a good troubleshooting guide at http://sabre.io/dav/clients/windows/.
Mac OSx
- Finder → Go → Connect to server
- Enter full server url including the port e.g.
http://192.168.0.2:8080
- Click Connect
Linux
-
GNOME Files
-
File → Connect to server
-
Enter full server url including the port e.g.
http://192.168.0.2:8080
-
Click Connect
For a list of 3rd party clients see Comparison of WebDAV software (Wikipedia).
#Thanks
Thank you for reading, I hope you enjoy using DAVify!
I’d be grateful to hear your feedback. If you find any bugs please create an issue. Pull requests are also welcome :).