{"id":18879964,"url":"https://github.com/opal/opal-cdn-legacy","last_synced_at":"2026-02-20T06:30:18.674Z","repository":{"id":66260490,"uuid":"104004698","full_name":"opal/opal-cdn-legacy","owner":"opal","description":"Legacy support for the old cdn.opalrb.org","archived":false,"fork":false,"pushed_at":"2017-09-19T00:34:19.000Z","size":6921,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"gh-pages","last_synced_at":"2024-12-31T03:12:43.325Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/opal.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-09-19T00:09:08.000Z","updated_at":"2017-09-19T00:21:46.000Z","dependencies_parsed_at":"2024-01-23T21:33:56.793Z","dependency_job_id":null,"html_url":"https://github.com/opal/opal-cdn-legacy","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/opal%2Fopal-cdn-legacy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opal%2Fopal-cdn-legacy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opal%2Fopal-cdn-legacy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opal%2Fopal-cdn-legacy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opal","download_url":"https://codeload.github.com/opal/opal-cdn-legacy/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239841743,"owners_count":19705981,"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-08T06:40:48.565Z","updated_at":"2026-02-20T06:30:18.637Z","avatar_url":"https://github.com/opal.png","language":"JavaScript","readme":"# Opal CDN distribution (Legacy)\n\n*For more recent releases see [cdn.opalrb.com](https://cdn.opalrb.com)*\n\n## URL scheme\n\n    //cdn.opalrb.org/opal/\u003cVERSION\u003e/opal.js\n    //cdn.opalrb.org/opal/\u003cVERSION\u003e/opal.min.js\n    //cdn.opalrb.org/opal/\u003cVERSION\u003e/opal.min.js.gz\n\nWhere `\u003cVERSION\u003e` is the desired version number or `current`, examples:\n\n    //cdn.opalrb.org/opal/0.10.1/opal.js\n    //cdn.opalrb.org/opal/0.9.4/date.min.js\n    //cdn.opalrb.org/opal/current/base64.min.js.gz\n\n\n## Embedding in your HTML\n\n```html\n\u003c!doctype html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n  \u003cscript src=\"http://cdn.opalrb.org/opal/current/opal.min.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"http://cdn.opalrb.org/opal/current/native.min.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"http://cdn.opalrb.org/opal/current/opal-parser.min.js\"\u003e\u003c/script\u003e\n  \u003cscript type=\"text/javascript\"\u003eOpal.load('opal-parser')\u003c/script\u003e\n  \u003cscript type=\"text/javascript\"\u003eOpal.load('native')\u003c/script\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n  \u003cscript type=\"text/ruby\"\u003e\n  #\u003c![CDATA[\n    puts 'Hello from the console!'\n    $$[:document].write %{\n\u003c!doctype html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n  \u003cstyle\u003ebody{font-family:sans-serif;font-weight:100;}\u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\u003ch1 id=\"opal_cdn_distribution\"\u003eOpal CDN distribution\u003c/h1\u003e\n\n\u003ch2 id=\"url_scheme\"\u003eURL scheme\u003c/h2\u003e\n\n\u003cpre\u003e\u003ccode\u003e//cdn.opalrb.org/opal/\u0026lt;VERSION\u0026gt;/opal.js\n//cdn.opalrb.org/opal/\u0026lt;VERSION\u0026gt;/opal.min.js\n//cdn.opalrb.org/opal/\u0026lt;VERSION\u0026gt;/opal.min.js.gz\n\u003c/code\u003e\u003c/pre\u003e\n\n\u003cp\u003eWhere \u003ccode\u003e\u0026lt;VERSION\u0026gt;\u003c/code\u003e is the desired version number or \u003ccode\u003ecurrent\u003c/code\u003e, examples:\u003c/p\u003e\n\n\u003cpre\u003e\u003ccode\u003e//cdn.opalrb.org/opal/0.10.1/opal.js\n//cdn.opalrb.org/opal/0.9.4/date.min.js\n//cdn.opalrb.org/opal/current/base64.min.js.gz\n\u003c/code\u003e\u003c/pre\u003e\n\n\u003ch2 id=\"license\"\u003eLicense\u003c/h2\u003e\n\n\u003cp\u003eSee \u003ca href=\"http://example.com/\"\u003ehttp://opalrb.org\u003c/a\u003e.\u003c/p\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n    }\n  #]]\u003e\n  \u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Updating\n\n### Opal\n\nFrom the `opal` dir, assuming there's a checkout of the `gh-pages` branch of `opal-cdn` in the `cdn/` folder:\n\n    $ rake dist DIR=cdn/opal/0.7.0.dev\n    $ rake dist DIR=cdn/opal/master\n\n### External libraries\n\n    $ opal-build -ropal/browser browser     \u003e cdn/external/0.6.2/opal-browser-0.2.0.beta1.js\n    $ opal-build -ropal-jquery  opal-jquery \u003e cdn/external/0.6.2/opal-jquery-0.2.0.js\n\n\n## License\n\nSee [http://opalrb.org](http://opalrb.org).\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopal%2Fopal-cdn-legacy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopal%2Fopal-cdn-legacy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopal%2Fopal-cdn-legacy/lists"}