• Stars
    star
    289
  • Rank 143,419 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Worship your favorite molecule by setting it as your wallpaper.

Avogadrio

Worship your favorite molecule by setting it as your wallpaper.

Avogadrio is a web app that will render your favourite molecule as a desktop wallpaper from either a compund name or SMILES structure. Molecule rendering is designed to be powered by Sourire which itself wraps the Indigo cheminformatics toolkit. Built on the Silex micro-framework.

Logo

Prerequisites

You'll need to have a web server installed and configured with PHP for this to work. I really recommend XAMPP, especially for Windows users. Once you've done that you can proceed.

You'll also need Node.js and npm installed and working.

Configuration

A couple of files need changing to get the site working for you.

  1. Copy config/config.yaml.dist and rename it to config.yaml. Fill in the fields according to their descriptions and save.
  2. For sourire_service you'll want to point it to your local Sourire server. For example http://localhost:8080/.
  3. 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.

Building

Clone 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.

Before anything else, note that this project uses the Composer package manager. Install composer (see their website) and run:

composer install

Or alternatively, if you're using the PHAR (make sure the php.exe executable is in your PATH):

php composer.phar install

Then, install the npm packages necessary to build and run the website. Run the following in your terminal in the project root directory:

npm install

This will install Bower which will allow you to install the assets the website requires (Bootstrap, jQuery etc.) using the command:

bower install

Gulp will also have been installed. This will compile the Less and CoffeeScript into CSS and JavaScript ready for production. Do this using the command:

gulp

This 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.

Acknowledgements

A big thank you to:

More Repositories

1

uwuscript

World's first uwu-oriented language.
C#
78
star
2

silence

A simple, clean macro recorder written in C#. Windows 10 compatible.
C#
43
star
3

hack-this

A collection of common web programming security mistakes.
HTML
15
star
4

tiny-compiler

Very tiny compiler for a simple arithmetic language.
C
8
star
5

zero-width-js

Proof-of-concept for an 'invisible' JavaScript payload.
HTML
4
star
6

python-ml-demo

A very basic demonstration of the use of neural networks in Python.
Python
3
star
7

brainfony

A super-serious web framework for dedicated developers.
PHP
3
star
8

crisp

Reduced Lisp in C#.
C#
2
star
9

huff

Huffman compression Maven package for Java.
Java
2
star
10

rollout

Possibly the fastest one-page GitHub pages template to deploy.
2
star
11

capriccio

A toolkit for the creation of correct-by-construction arithmetic languages.
Java
2
star
12

condense

Flat-file database in PHP.
PHP
2
star
13

chalk

Allows your users to authenticate against a Blackboard Learn installation.
PHP
2
star
14

denobo

Multi-agent middleware for the Java platform.
Java
2
star
15

sulfide

Some useful libraries and frameworks for integrated development environments.
C#
1
star
16

mayo

Diffie-Hellman key exchange utility for Java on Maven.
Java
1
star
17

shaver

Pretty, minimalist Shavian on-screen keyboard for Windows.
C#
1
star
18

ubuntu-bionic-box

Plain Vagrant box with Ubuntu 18.04 Bionic Beaver with desktop system installed.
Shell
1
star
19

brainy

Neural network implementation in PHP, packaged for Composer.
PHP
1
star
20

lizard

Lempel–Ziv–Welch data compression Maven package for Java.
Java
1
star
21

equis

A library for solving systems of linear equations, using Idris.
Idris
1
star
22

byteribbon

Basic little brainfuck interpreter using the tokenizer from Crisp.
C#
1
star