{"id":21364172,"url":"https://github.com/ml-evs/odbx.science","last_synced_at":"2025-07-13T03:32:10.326Z","repository":{"id":37969139,"uuid":"224840923","full_name":"ml-evs/odbx.science","owner":"ml-evs","description":"An OPTIMADE implementation for @AJMGroup using https://github.com/Materials-Consortia/optimade-python-tools","archived":false,"fork":false,"pushed_at":"2024-11-21T11:26:39.000Z","size":254,"stargazers_count":2,"open_issues_count":18,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-21T12:26:17.063Z","etag":null,"topics":["optimade"],"latest_commit_sha":null,"homepage":"https://odbx.science","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ml-evs.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-11-29T11:26:32.000Z","updated_at":"2024-11-21T11:26:43.000Z","dependencies_parsed_at":"2023-10-15T11:19:09.402Z","dependency_job_id":"128e2135-1581-4215-909e-8970bfcf11df","html_url":"https://github.com/ml-evs/odbx.science","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ml-evs%2Fodbx.science","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ml-evs%2Fodbx.science/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ml-evs%2Fodbx.science/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ml-evs%2Fodbx.science/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ml-evs","download_url":"https://codeload.github.com/ml-evs/odbx.science/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225852181,"owners_count":17534453,"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":["optimade"],"created_at":"2024-11-22T06:23:30.390Z","updated_at":"2024-11-22T06:23:31.101Z","avatar_url":"https://github.com/ml-evs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# odbx.science\n\n[![OPTIMADE](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Materials-Consortia/optimade-python-tools/v0.13.3/optimade-version.json)](https://github.com/Materials-Consortia/OPTIMADE/)\n[![Build Status](https://img.shields.io/github/workflow/status/ml-evs/odbx.science/Remote%20validator?logo=github)](https://github.com/ml-evs/odbx.science/actions?query=branch%3Amaster+)\n[![Website](https://img.shields.io/website?down_color=lightgrey\u0026down_message=down\u0026label=OPTIMADE%20API\u0026logo=json\u0026up_color=green\u0026up_message=up\u0026url=https%3A%2F%2Foptimade.odbx.science)](https://optimade.odbx.science/)\n\nThis repo contains some notes about the server running at odbx.science. \n\nThis implementation of an OPTIMADE server builds upon the reference server in\nthe following way:\n\n- Additional routes from `odbx.science/\u003cendpoint\u003e` that mimic `optimade.odbx.science/\u003cendpoint\u003e` but\n  provides rich HTML displays of the data.\n\n## Hardware \n\nAs of 02/12/19, the server runs as an RCS OpenStack VM (quadcore Haswell, 8 GB RAM), with three virutal disks attached:\n\n- `/dev/vda`, 80 GB, mounted at `/` contains OS and apps\n- `/dev/vdb`, 1 TB, mounted at `/data/sql`, contains SQL database for OQMD\n- `/dev/vdc`, 500 GB, mounted at `/data/mongo`, contains our MongoDB.\n\n## Services \u0026 security\n\nThe site now runs as 5 coupled docker containers, with shared `/tmp/` volume, deployed and built with `docker-compose`:\n- `mongo` runs a near-default MongoDB.\n- `odbx` runs `gunicorn` that connects to the mongo via `/tmp/mongodb-27017.sock` and serves the HTML responses. (As of 26/04/20, this server also runs the JSON API temporarily at `odbx.science/optimade`.\n- `odbx_rest` runs `gunicorn` that connects to the mongo via `/tmp/mongodb-27017.sock` and serves the REST API as JSON at `optimade.odbx.science`.\n- `nginx` runs `nginx` that takes HTTP/HTTPS requests and forwards them onto `gunicorn` via the appropriate socket, as well as hosting static content from `./odbx/static/`\n- `certbot` calls certbot to attempt to renew SSL certificates every 12 hours.\n\n## Domains \u0026 SSL\n\n- The domain `odbx.science` was purchased until 2023 from Namecheap, which currently redirects to the public IP of the VM.\n- All `*@odbx.science` email addresses currently redirect to my personal account.\n- The domain came with a 1 year SSL certificate (~£4 year after). Since 26/04/20 certbot has been used to get free SSL from Let's Encrypt. This should renew automatically (see notes about `certbot`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fml-evs%2Fodbx.science","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fml-evs%2Fodbx.science","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fml-evs%2Fodbx.science/lists"}