{"id":19215955,"url":"https://github.com/movingblocks/facadeapplet","last_synced_at":"2025-07-10T00:02:35.458Z","repository":{"id":11219011,"uuid":"13608059","full_name":"MovingBlocks/FacadeApplet","owner":"MovingBlocks","description":"A facade to the Terasology engine that wraps it to run as an applet","archived":false,"fork":false,"pushed_at":"2016-01-30T21:22:45.000Z","size":5500,"stargazers_count":3,"open_issues_count":6,"forks_count":6,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-05-12T23:34:19.805Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MovingBlocks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-16T02:48:26.000Z","updated_at":"2025-03-20T04:46:27.000Z","dependencies_parsed_at":"2022-09-11T16:10:40.934Z","dependency_job_id":null,"html_url":"https://github.com/MovingBlocks/FacadeApplet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MovingBlocks/FacadeApplet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MovingBlocks%2FFacadeApplet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MovingBlocks%2FFacadeApplet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MovingBlocks%2FFacadeApplet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MovingBlocks%2FFacadeApplet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MovingBlocks","download_url":"https://codeload.github.com/MovingBlocks/FacadeApplet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MovingBlocks%2FFacadeApplet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264505733,"owners_count":23618962,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T14:15:21.394Z","updated_at":"2025-07-10T00:02:35.250Z","avatar_url":"https://github.com/MovingBlocks.png","language":"Java","readme":"# Terasology Applet\n\nRun Terasology as an applet in your favorite browser. When it works, anyway :-)\n\nThe Java applet technology has aged a fair bit and can be tricky to keep functional, especially with tighter security regulations for Java in a browser.\n\nThis repository is licensed under the [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0.html).\n\n## Technical\n\nThe applet is signed with a code certificate provided for free by [Certum](http://www.certum.eu) - thanks for the free Open Source Code Signing certificate!\n\nApplets need extra security privileges so there should be a prompt in the browser showing our certificate details, registered by `Rasmus 'Cervator' Praestholm`.\n \nYou can enable the Java console and debug logging for applets via Java settings, which on Windows is accessed through the control panel.\n\nLog files may end up at a path like: `C:\\Users\\[user]\\AppData\\LocalLow\\Sun\\Java\\Deployment\\log` or equivalent on other OSes.\n\nLocal temp files may be found somewhere like: `C:\\Users\\[user]\\AppData\\Local\\Temp\\lwjglcache` as we're using the LWJGL applet setup at present.\n\n## How to create a code signing certificate\n\nRequired resources:\n\n* A Certum root certificate\n* openssl (http://www.openssl.org)\n* jarsigner (comes with Java JDK)\n \nRequired files:\n\n* CodeSigningCertFromCertum.cer (the certificate)\n* CodeSigningCertFromCertum.p12 (the private key)\n* bundle.pem (the certificate chain)\n\nConvert code signing CER file into plain-text .pem format \n\n    openssl x509 -inform DES -in CodeSigningCertFromCertum.cer -out CodeSigningCertFromCertum.pem\n\nThen extract private key from p12 file:\n\n    openssl pkcs12 -in CodeSigningCertFromCertum.p12 -out private.key \n\nThen create a new keystore based on the private key, the certificate and the cerfificate chain to the root CA\n\n    openssl pkcs12 -export -inkey private.key -in CodeSigningCertFromCertum.pem -certfile bundle.pem -out new_certificate.pfx\n\nConvert pkcs12 keystore into a java keystore\n\n    keytool -v -importkeystore -srckeystore new_certificate.pfx -srcstoretype PKCS12 -destkeystore certum.jks -deststoretype JKS\n\nVerify the content (one private key named '1' with certficate chain length of 3)\n\n    keytool -v -list -keystore certum.jks\n\nRename the alias of the the entry to something more useful\n\n    keytool -changealias -destalias cervator -keystore certum.jks -alias 1 \n\nFinally, we can use the keystore and a time-stamping authoritiy to sign the jar\n\n    jarsigner -tsa http://time.certum.pl/ -keystore certum.jks applet.jar cervator\n    \n## Related Links\n\n* [Signed Applets by Oracle](http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html)\n* [LWJGL applet loader](http://lwjgl.org/wiki/index.php?title=Deploying_with_the_LWJGL_Applet_Loader_-_Introduction)\n* [Tutorial page specific to Groovy in an applet](http://www73.pair.com/bgw/applets/GroovyDemo/)\n  * Includes instructions for minimizing the size of the Groovy jar\n* [how to enable the Java Console for applet output if need be](http://www.java.com/en/download/help/javaconsole.xml)\n       ","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmovingblocks%2Ffacadeapplet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmovingblocks%2Ffacadeapplet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmovingblocks%2Ffacadeapplet/lists"}