{"id":27646058,"url":"https://github.com/mrft/orientdblanguagescompiledtojavascripthook","last_synced_at":"2025-07-15T16:41:08.394Z","repository":{"id":17822876,"uuid":"20723143","full_name":"mrft/OrientDBLanguagesCompiledToJavascriptHook","owner":"mrft","description":null,"archived":false,"fork":false,"pushed_at":"2014-06-12T16:43:59.000Z","size":3828,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-24T01:16:17.495Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-11T11:45:29.000Z","updated_at":"2014-06-12T16:43:59.000Z","dependencies_parsed_at":"2022-08-04T21:15:43.584Z","dependency_job_id":null,"html_url":"https://github.com/mrft/OrientDBLanguagesCompiledToJavascriptHook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrft/OrientDBLanguagesCompiledToJavascriptHook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrft%2FOrientDBLanguagesCompiledToJavascriptHook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrft%2FOrientDBLanguagesCompiledToJavascriptHook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrft%2FOrientDBLanguagesCompiledToJavascriptHook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrft%2FOrientDBLanguagesCompiledToJavascriptHook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrft","download_url":"https://codeload.github.com/mrft/OrientDBLanguagesCompiledToJavascriptHook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrft%2FOrientDBLanguagesCompiledToJavascriptHook/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265445703,"owners_count":23766550,"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":"2025-04-24T01:16:16.739Z","updated_at":"2025-07-15T16:41:08.370Z","avatar_url":"https://github.com/mrft.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a hook for OrientDB that will add some functionality to functions.\nOrientDB functions are stored in the database as docuemtns of class OFunction.\nThey have a 'language' property that can be sql or Javascript, \nand a 'code' property that contains the sql or javascript code.\nWhat this hook will do is, it will check if the saved OFunction contains \na property called 'icedcoffeescript' or 'livescript'. If it does, \nthe 'code' will be replaced by the compiled-to-javascript version of the script.\n\nThis way, you can also write server-side functions in either coffeescript or livescript.\nIt should be quite easy to add otehr languages, if there is a javascript compiler available.\n\nInstalling the hook is quite easy:\n\n- Use ant to build the IcedCoffeeScriptHook.jar file in the '/target' folder (bad name since it also supports LiveScript but anyway)\n- copy the IcedCoffeeScriptHook.jar file to your /orientdb-community-1.7.x/lib directory\n- add a section called hooks to /orientdb-community-1.7.x/conf/orientdb-server-config.xml (example below)\n\t\u003corient-server\u003e\n\t\t...\n\t\t\u003chooks\u003e\n\t\t\t\u003chook class=\"be.vsko.orientdb.IcedCoffeeScriptHook\" position=\"REGULAR\"/\u003e\n\t\t\u003c/hooks\u003e\n\t\u003c/orient-server\u003e\n- restart OrientDB\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrft%2Forientdblanguagescompiledtojavascripthook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrft%2Forientdblanguagescompiledtojavascripthook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrft%2Forientdblanguagescompiledtojavascripthook/lists"}