{"id":19080253,"url":"https://github.com/clemos/try-haxe","last_synced_at":"2025-07-18T16:38:10.623Z","repository":{"id":3484730,"uuid":"4540386","full_name":"clemos/try-haxe","owner":"clemos","description":"A small webapp that allows to test Haxe online","archived":false,"fork":false,"pushed_at":"2019-10-29T08:56:28.000Z","size":4901,"stargazers_count":126,"open_issues_count":27,"forks_count":41,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-02-22T05:42:28.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://try.haxe.org","language":"Haxe","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"aviat4ion/OpenSQLManager","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clemos.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":"2012-06-03T20:30:24.000Z","updated_at":"2023-11-25T21:28:12.000Z","dependencies_parsed_at":"2022-08-20T14:51:07.105Z","dependency_job_id":null,"html_url":"https://github.com/clemos/try-haxe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/clemos/try-haxe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clemos%2Ftry-haxe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clemos%2Ftry-haxe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clemos%2Ftry-haxe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clemos%2Ftry-haxe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clemos","download_url":"https://codeload.github.com/clemos/try-haxe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clemos%2Ftry-haxe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265793684,"owners_count":23829180,"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-09T02:18:06.493Z","updated_at":"2025-07-18T16:38:10.599Z","avatar_url":"https://github.com/clemos.png","language":"Haxe","readme":"try-haxe\n========\n\n[![Build Status](https://travis-ci.org/clemos/try-haxe.png)](https://travis-ci.org/clemos/try-haxe)\n\nThe try-haxe project is a browser-based IDE for testing Haxe code.  It provides a\nquick and easy environment for playing with the Haxe language and compiles to\nJavaScript or Flash, instantly viewable in the browser.  It also allows saving\nand sharing of programs with the auto-generated hyperlink hash-codes.\n\nThe official project is hosted at [try.haxe.org](http://try.haxe.org).\n\nTechnical notes:\n----------------\nThe try-haxe project is written in Haxe, with part of the application compiling to\nJavaScript for use on the client, and part of the application compiling to PHP as\na backend service.  The backend PHP service provides server-side compilation of\nprograms as well as language auto-complete results.\n\nRun your own instance:\n----------------------\n\nYou can run the try-haxe project on a server with Apache, PHP, and Haxe installed.  Some commands may be distribution-specific (location of web server root, etc) -- the below works on Ubuntu.\n\nClone the repo and initialize the submodules:\n\n    git clone https://github.com/clemos/try-haxe.git\n    cd try-haxe\n    git submodule init\n    git submodule update\n\nYou may need to update the location of the haxe compiler executable in the `Compiler.hx` source file, line 26.  You can specify a full path to your haxe compiler, such as:\n\n    public static var haxePath = \"/opt/haxe-3.1.3/haxe\";\n\nBuild the try-haxe compiler and app:\n\n    haxe build.hxml\n\nLink (or copy) this project directory to a location served by Apache (or other PHP-enabled web server):\n\n    sudo ln -s `pwd` /var/www/\n\nThe above creates a `/var/www/try-haxe` symlinked to your git repo.\n\nCreate the tmp directory (where web-based projects will be created and saved):\n\n    mkdir tmp\n    chmod a+rw tmp\n\nEnsure Apache has mod_rewrite enabled:\n\n    sudo a2enmod rewrite\n\nEdit the apache configuration file and add the `/var/www/try-haxe` location with `AllowOverrides All` directive (so it can use the .htaccess file):\n\n    sudo emacs /etc/apache2/sites-available/default\n\nAdd a `\u003cDirectory\u003e` entry like so:\n\n    # Required by try-haxe\n    \u003cDirectory /var/www/try-haxe\u003e\n      Options FollowSymLinks\n      AllowOverride All\n    \u003c/Directory\u003e\n\nRestart the apache server:\n\n    sudo /etc/init.d/apache2 restart\n\nNavigate to your server (by name, ip address, or localhost) and enjoy try-haxe!  [http://localhost/try-haxe/](http://localhost/try-haxe/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclemos%2Ftry-haxe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclemos%2Ftry-haxe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclemos%2Ftry-haxe/lists"}