{"id":27061598,"url":"https://github.com/syphon/java","last_synced_at":"2025-04-05T14:26:34.344Z","repository":{"id":9746928,"uuid":"11710168","full_name":"Syphon/Java","owner":"Syphon","description":"Syphon Implementation for Java","archived":false,"fork":false,"pushed_at":"2023-06-26T02:13:03.000Z","size":5509,"stargazers_count":15,"open_issues_count":3,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-03-27T00:55:27.042Z","etag":null,"topics":["java","jnilib","syphon","syphon-framework"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Syphon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-27T19:52:17.000Z","updated_at":"2023-10-26T00:08:14.000Z","dependencies_parsed_at":"2022-09-05T19:21:15.623Z","dependency_job_id":null,"html_url":"https://github.com/Syphon/Java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syphon%2FJava","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syphon%2FJava/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syphon%2FJava/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syphon%2FJava/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Syphon","download_url":"https://codeload.github.com/Syphon/Java/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247349306,"owners_count":20924683,"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":["java","jnilib","syphon","syphon-framework"],"created_at":"2025-04-05T14:26:33.783Z","updated_at":"2025-04-05T14:26:34.314Z","avatar_url":"https://github.com/Syphon.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Java\n====\n\nJSyphon - a Java Native Interface for Syphon. It has been tested with JOGL via Processing, and LWJGL.\n\n\nGetting Started:\n====\n\n* After cloning the repository, use ```git submodule update --init``` to pull in the \u003ca href=\"https://github.com/Syphon/Syphon-Framework\"\u003eSyphon-Framework\u003c/a\u003e and \u003ca href=\"https://github.com/Syphon/Shared\"\u003eShared\u003c/a\u003e repos\n\n* Update the Syphon-Framework and Shaded submodules:\n\n```bash\ncd Syphon-Framework/\ngit pull origin master\ncd ../Shared/\ngit pull origin master\ncd ..\ngit add Syphon-Framework\ngit add Shared\ngit commit -m \"Updated Syphon submodules\"\n```\n\n* Change into the JSyphon subfolder: \n\n```cd JSyphon```\n\n* Build jsyphon.jar, by running ```ant dist``` inside the ant folder:\n\n```bash\ncd ant\nant dist\ncd ..\n```\n\nThe resulting jsyphon.jar file will be placed inside the jar folder.\n\n* Generate the headers changing into the native_src folder and running the script gen_headers.sh script:\n\n```bash\ncd native_src\n./gen_headers.sh\ncd ..\n```\n\n* Open the JSyphon XCode project inside native_src, and build it. This will generate a debug version of the library, which will print several messages at runtime. You need to archive it to create a release version without debug mesages. \n\nYou can also build/archive the project from the command line (it requires the Command Line Tools Package, see [here](https://developer.apple.com/library/content/technotes/tn2339/_index.html) for more info) with the following line for building:\n\n```bash\nxcodebuild -scheme libJSyphon build -project native_src/JSyphon.xcodeproj\n```\n\nand this other one for archiving:\n\n```bash\nxcodebuild -scheme libJSyphon archive -project native_src/JSyphon.xcodeproj\n```\n\nThe build step (either from the IDE or the command line) will generate two files: the Syphon framework binary, named simply \"Syphon\", and the JSyphon JNI library, named \"libJSyphon.jnilib\". They will be placed inside the \"native_libs\" folder, where you can then load it in Java using System.load or System.loadLibrary depending on your path setups. We suggest System.loadLibrary.\n\n* To experiment with the JSyphon examples, we provide an Eclipse project which you can import into your workspace, and experiment with \"ServerTest.java\" and \"ClientTest.java\". \n\nAcknowledgments\n====\n\nInitial JSyphon implementation by Skye Book and Anton Marini.\n\nFinishing up implementation of JSyphonClient, server listing, ClientTest example by Andres Colubri.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyphon%2Fjava","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyphon%2Fjava","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyphon%2Fjava/lists"}