{"id":15140778,"url":"https://github.com/lambdacasserole/avogadrio","last_synced_at":"2025-04-09T12:04:21.006Z","repository":{"id":37547035,"uuid":"99426780","full_name":"lambdacasserole/avogadrio","owner":"lambdacasserole","description":"Worship your favorite molecule by setting it as your wallpaper.","archived":false,"fork":false,"pushed_at":"2022-12-11T01:14:41.000Z","size":864,"stargazers_count":301,"open_issues_count":24,"forks_count":12,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-02T04:59:22.764Z","etag":null,"topics":["api","chemical","molecule","php","wallpaper"],"latest_commit_sha":null,"homepage":"https://avogadr.io/","language":"JavaScript","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/lambdacasserole.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}},"created_at":"2017-08-05T14:12:29.000Z","updated_at":"2025-03-25T09:07:29.000Z","dependencies_parsed_at":"2023-01-26T13:31:20.997Z","dependency_job_id":null,"html_url":"https://github.com/lambdacasserole/avogadrio","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/lambdacasserole%2Favogadrio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdacasserole%2Favogadrio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdacasserole%2Favogadrio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdacasserole%2Favogadrio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lambdacasserole","download_url":"https://codeload.github.com/lambdacasserole/avogadrio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248036064,"owners_count":21037092,"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":["api","chemical","molecule","php","wallpaper"],"created_at":"2024-09-26T08:41:08.371Z","updated_at":"2025-04-09T12:04:20.988Z","avatar_url":"https://github.com/lambdacasserole.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Avogadrio\nWorship your favorite molecule by setting it as your wallpaper.\n\nAvogadrio is a web app that will render your favourite molecule as a desktop wallpaper from either a compund name or\n[SMILES structure](https://en.wikipedia.org/wiki/Simplified_molecular-input_line-entry_system). Molecule rendering\nis designed to be powered by [Sourire](https://github.com/tmoerman/sourire) which itself wraps the\n[Indigo cheminformatics toolkit](https://github.com/ggasoftware/indigo). Built on the\n[Silex](https://github.com/silexphp/Silex) micro-framework.\n\n![Logo](logo.png)\n\n## Prerequisites\nYou'll need to have a web server installed and configured with PHP for this to work. I really recommend [XAMPP](https://www.apachefriends.org/), especially for Windows users. Once you've done that you can proceed.\n\nYou'll also need [Node.js](https://nodejs.org/en/) and [npm](https://www.npmjs.com/) installed and working.\n\n## Configuration\nA couple of files need changing to get the site working for you.\n\n1. Copy `config/config.yaml.dist` and rename it to `config.yaml`. Fill in the fields according to their descriptions and save.\n2. For `sourire_service` you'll want to point it to your local [Sourire](https://github.com/tmoerman/sourire) server. For example `http://localhost:8080/`.\n3. Create files at `templates/_analytics.html.twig` for your analytics code and `templates/_donations.html.twig` for any donation buttons. Leave them blank if you like, but you must create them.\n\n## Building\nClone the project down and open the folder in your favourite editor. It's a JetBrains PhpStorm project but you can use whichever paid/free software takes your fancy.\n\nBefore anything else, note that this project uses the [Composer](https://getcomposer.org/) package manager. Install composer (see their website) and run:\n\n```\ncomposer install\n```\n\nOr alternatively, if you're using the PHAR (make sure the `php.exe` executable is in your PATH):\n\n```\nphp composer.phar install\n```\n\nThen, install the npm packages necessary to build and run the website. Run the following in your terminal in the project root directory:\n\n```\nnpm install\n```\n\nThis will install [Bower](https://bower.io/) which will allow you to install the assets the website requires (Bootstrap, jQuery etc.) using the command:\n\n```\nbower install\n```\n\nGulp will also have been installed. This will compile the [Less](http://lesscss.org/) and [CoffeeScript](http://coffeescript.org/) into CSS and JavaScript ready for production. Do this using the command:\n\n```\ngulp\n```\n\nThis command will need running again every time you make a change to a Less or CoffeeScript file. If you're working on them, run `gulp watch` in a terminal to watch for file changes and compile accordingly.\n\n## Acknowledgements\nA big thank you to:\n\n* [Nile Red](https://www.youtube.com/user/TheRedNile) inspired me to build this. I wasn't that big on chemistry until I came across his videos.\n* [Jay Holtslander](https://codepen.io/j_holtslander/) put together the hamburger menu/sidebar combo in his [Pen](https://codepen.io/j_holtslander/pen/XmpMEp) on CodePen. I believe it's derived from earlier work by [maridlcrmn](https://bootsnipp.com/maridlcrmn).\n* [Thomas Moerman](https://github.com/tmoerman) created [Sourire](https://github.com/tmoerman/sourire), which really simplified the molecule rendering process.\n* [Andre Plötze](https://github.com/andrepxx) created [pure-knob](https://github.com/andrepxx/pure-knob), which is used here for the rotation knob/wheel/dial thing.\n* [Contributors to this awesome repo](https://github.com/spothq/cryptocurrency-icons) which provides the cryptocurrency donation icons in the web app (they aren't bundled here).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdacasserole%2Favogadrio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flambdacasserole%2Favogadrio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdacasserole%2Favogadrio/lists"}