{"id":18262856,"url":"https://github.com/roblib/crayfits","last_synced_at":"2026-04-21T10:02:50.960Z","repository":{"id":37521913,"uuid":"181530888","full_name":"roblib/CrayFits","owner":"roblib","description":"Symfony 4 Microservice to retrieve FITS data and persist it as a Drupal media node","archived":false,"fork":false,"pushed_at":"2023-09-25T17:54:09.000Z","size":11048,"stargazers_count":0,"open_issues_count":2,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-02-14T19:36:15.145Z","etag":null,"topics":["islandora8","rdm-085","symfony"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roblib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-04-15T17:02:50.000Z","updated_at":"2022-04-05T19:40:29.000Z","dependencies_parsed_at":"2024-11-05T11:23:33.075Z","dependency_job_id":null,"html_url":"https://github.com/roblib/CrayFits","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/roblib%2FCrayFits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roblib%2FCrayFits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roblib%2FCrayFits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roblib%2FCrayFits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roblib","download_url":"https://codeload.github.com/roblib/CrayFits/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247954456,"owners_count":21024226,"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":["islandora8","rdm-085","symfony"],"created_at":"2024-11-05T11:09:05.369Z","updated_at":"2026-04-21T10:02:45.345Z","avatar_url":"https://github.com/roblib.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CrayFits\n\n## Introduction\n\n[FITS][1] as a microservice.\n\n## Requirements\n\n* Tomcat\n* [Composer][2]\n\n## Installation\n\n### Install FITS webservice\n\n* Download the latest `fits.zip` and `fits.war` from\n[https://projects.iq.harvard.edu/fits/downloads](https://projects.iq.harvard.edu/fits/downloads).\nYou may need to install a zip library to unzip the file.\n* Copy the `.war` file to your Tomcat webapps directory and test.\n* Edit the Tomcat `conf/catalina.properties` file by adding the\nfollowing two lines to the bottom of the file:\n```properties\nfits.home=/\\\u003cpath-to-fits\u003e/fits\nshared.loader=/\\\u003cpath-to-fits\u003e/fits/lib/*.jar\n```\n* Restart Tomcat.\n* Test the webservice with:\n```bash\ncurl -k -F datafile=\"@/path/to/myfile.jpg\" http://[tomcat_domain]:[tomcat_port]/fits/examine\n```\n(note: the ‘@’ is required.)\n\n### Install CrayFITS microservice\n\n* Clone this repository somewhere in your web root.\n* `$ cd /path/to/CrayFits` and run `$ composer install`\n* For production, configure your web server appropriately (e.g. add a VirtualHost for CrayFits in Apache)\n\nTo run the microservice on the Symfony Console, enter:\n```bash\nphp bin/console server:start *:8050\n```\nin the microservice root folder.\n\nThe server is stopped with:\n```bash\nphp bin/console server:stop\n```\nOn a production machine you'd probably want to configure an additional\nport in Apache.\n\nNote: The location of the FITS webserver is stored in the `.env` file in the\nroot dir of the Symfony app.  This will have to be reconfigured if the FITS\nserver is anywhere other than `localhost:8080/fits`\n\n\n#### Optional: Configure Alpaca to accept derivative requests from Islandora.\n\nTo use Alpaca as an interface to this microservice, configure\nan [`islandora-connector-derivative`](https://github.com/Islandora/Alpaca#islandora-connector-derivative)\nappropriate to your installation of CrayFits.\n\n[1]: https://projects.iq.harvard.edu/fits\n[2]: https://getcomposer.org/download/\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froblib%2Fcrayfits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froblib%2Fcrayfits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froblib%2Fcrayfits/lists"}