Code Monkey home page Code Monkey logo

chimie's Introduction

Chimie

Light-weight browser extension to copy random molecule data from trusted sources that can be used by scientists and enthusiasts alike.

chimie-light-preview chimie-dark-preview
Chimie light Chimie Dark

⚙️ Getting started

The project requires that you have Node running on your machine. It has been tested using v20.9.0.

⏳ Installation

First, install the dependencies:

npm i

Then run build the project:

npm run build

This generates an output into the ./build folder. Using your Chromium-based browser (support might be coming to other browsers later on), navigate to the Extension management page, turn on Developer mode and click on "Load unpacked". Navigate to the location of this project on your disk, select the ./build folder then click "Select Folder".

If everything went smoothly, you should see the extension listed in your Installed Extensions section.

💡 For ease of use, it's recommended to pin the extension to your toolbar so you can click on it without navigating anywhere.

Development

If you want to tailor the project to your needs, you can either:

  1. npm run dev
    • run the project as a standalone svelte project in your browser
    • this option is great if you just need style changes as the updates can be applied almost instantenosly on localhost
  2. npm run dev:ext
    • run the build in watch mode
    • this option allows you to work on the extension directly

🏗️ Structure

The overall structure can be seen in the tree representation below, and can be broken down into the following sections.

.
└── chimie/
    ├── build/                      # output directory, used for install
    ├── src/
    │   ├── lib/
    │   │   ├── components/
    │   │   │   ├── ui/             # shadcn components
    │   │   │   ├── spinner.svelte
    │   │   │   └── ...
    │   │   ├── storage-handler.ts  # custom helpers
    │   │   └── ...
    │   ├── routes/                 # file system-based routing
    │   │   ├── +page.svelte
    │   │   └── +layout.svelte
    │   └── utils/
    │       ├── constants.js
    │       └── ...
    ├── static/
    └── ...

📚 Learn more

SvelteKit fast, fun and flexible love letter to web development. In other words, a framework built on Svelte and provides additional features like SSR, filesystem-based routing, preloading, API routes, and many more. And it makes writing extensions surprisingly easy.

SMILES Language is a line notation for entering and representing molecules and reactions. InChI is the International Chemical Identifier. A chemical identifier is a text label that denotes a chemical substancea. These labels are of the utmost importance as they provide a convenient means of comparing and distinguishing chemicals in a variety of applications, from the design of new materials to legal and regulatory issues.

PubChem the world's largest collection of freely accessible chemical information. Their API is used for querying molecules based on a randomly generated ID.

chimie's People

Contributors

vabe avatar bence-valent avatar github-actions[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.