{"id":15621776,"url":"https://github.com/pirtleshell/aladinlite","last_synced_at":"2025-03-29T15:47:19.275Z","repository":{"id":91424828,"uuid":"78164127","full_name":"pirtleshell/AladinLite","owner":"pirtleshell","description":"an SSL-enabled fork of CDS's AladinLite, an astronomy data viewer","archived":false,"fork":false,"pushed_at":"2017-01-06T23:11:32.000Z","size":341,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-04T16:49:48.734Z","etag":null,"topics":["astronomy","astrophysics","space","ssl"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pirtleshell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-06T01:54:04.000Z","updated_at":"2018-07-20T10:16:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac751dfb-3892-454d-9461-26452e1fd9a4","html_url":"https://github.com/pirtleshell/AladinLite","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/pirtleshell%2FAladinLite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirtleshell%2FAladinLite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirtleshell%2FAladinLite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirtleshell%2FAladinLite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pirtleshell","download_url":"https://codeload.github.com/pirtleshell/AladinLite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246207491,"owners_count":20740723,"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":["astronomy","astrophysics","space","ssl"],"created_at":"2024-10-03T09:51:49.212Z","updated_at":"2025-03-29T15:47:19.248Z","avatar_url":"https://github.com/pirtleshell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AladinLite\n\n\u003e an SSL-enabled fork of [CDS](http://cds.u-strasbg.fr/)'s [AladinLite](http://aladin.u-strasbg.fr/AladinLite)\n\n## About\n\nThis is a copy of AladinLite, a totally awesome telescope imagery viewer developed by the [Centre de Données astronomiques de Strasbourg](http://cds.u-strasbg.fr/) (CDS). I corresponded with them about serving the images over an https protocol, and although they plan on implementing it in the near future, currently, the easy, plug-and-play AladinLite viewer is only available over http. However, they did provide me with links to https images ([JSON](http://alasky.unistra.fr/MocServer/query?hips_service_url*=https*\u0026fields=ID,obs_collection,hips_service_url*\u0026fmt=json) \u0026 [human-readable](http://alasky.unistra.fr/MocServer/query?hips_service_url*=https*\u0026fields=ID,obs_collection,hips_service_url*)), so I have implemented an SSL version here.\n\n## Usage\n\nIt works just like the original. The CSS and JS files can be found in the `/dist` directory, so either host them yourself, or use rawgit CDN. The CSS hasn't been modified, so feel free to use [the original](http://aladin.u-strasbg.fr/AladinLite/api/v2/latest/aladin.min.css).\n\nModified from the [original documentation](http://aladin.u-strasbg.fr/AladinLite/doc/):\n\n```html\n\u003c!-- include Aladin Lite CSS file in the head section of your page --\u003e\n\u003clink rel=\"stylesheet\" href=\"https://cdn.rawgit.com/PirtleShell/AladinLite/master/dist/aladin.min.css\" /\u003e\n\n\u003c!-- you can skip the following line if your page already integrates the jQuery library --\u003e\n\u003cscript type=\"text/javascript\" src=\"https://code.jquery.com/jquery-1.9.1.min.js\" charset=\"utf-8\"\u003e\u003c/script\u003e\n\n\u003c!-- insert this snippet where you want Aladin Lite viewer to appear and after the loading of jQuery --\u003e\n\u003cdiv id=\"aladin-lite-div\" style=\"width:400px;height:400px;\"\u003e\u003c/div\u003e\n\u003cscript type=\"text/javascript\" src=\"https://cdn.rawgit.com/PirtleShell/AladinLite/master/dist/aladin.min.js\" charset=\"utf-8\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\"\u003e\n    var aladin = A.aladin('#aladin-lite-div', {survey: \"P/DSS2/color\", fov:60});\n\u003c/script\u003e\n```\n\n## Building\n\n### With gulp\n\nClone this repository and install the node dependencies for building:\n```\ngit clone https://github.com/PirtleShell/AladinLite.git\ncd AladinLite\nnpm install\n```\n\nNow you can build it by running `gulp build`. To live update and compile on changes, just run `gulp`.\n\n### With original build script\n\nCompiling the js and css files requires that you have [uglifyjs2](https://github.com/mishoo/UglifyJS2) and [less](https://github.com/less/less.js). These can be installed with `npm`:\n```sh\nnpm i -g uglify-js less\n```\n\nThen run `./build.sh`. The new files will be replace those in `/dist`.\n\n## License\n\nThis and the original are licensed under [GNU GPLv3](http://choosealicense.com/licenses/gpl-3.0/). The original license file can be found [here](https://github.com/PirtleShell/AladinLite/blob/master/COPYING) and [here is the original source code](http://aladin.u-strasbg.fr/AladinLite/doc/#source-code). It is copyrighted by the CDS.\n\n---\n\n## Currently needed Shims\n\n- [X] `Sesame.resolve`. Original uses [this url](http://cds.u-strasbg.fr/cgi-bin/nph-sesame.jsonp?). New live SSL mirror available [here](https://laniakean.com/api/v1/resolveNames/?) through the [Laniakean API](https://laniakean.com/api#resolve-names-api).\n\n- [X] `nph-aladin.pl` which retrieves available surveys. [The original list](http://aladin.u-strasbg.fr/java/nph-aladin.pl?frame=aladinLiteDic). A live SSL version is available [here](https://laniakean.com/data/nph-aladin.json).\n\n- [X] default surveys in `HpxImageSurvey.js`\n\n- [X] logging? [Current logging endpoint](http://alasky.u-strasbg.fr/cgi/AladinLiteLogger/log.py). I think it's available over SSL [here](https://alaskybis.unistra.fr/cgi/AladinLiteLogger/log.py). Need to confirm.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpirtleshell%2Faladinlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpirtleshell%2Faladinlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpirtleshell%2Faladinlite/lists"}