inperiod

Crates.ioinperiod
lib.rsinperiod
version
sourcesrc
created_at2024-11-18 04:08:50.075299
updated_at2024-12-17 14:32:56.574834
descriptionModern fancy interactive online periodic table of chemistry elements
homepagehttps://mhfan.github.io/inperiod
repository
max_upload_size
id1451760
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
MeiHui FAN (mhfan)

documentation

README

Build status Crates.io dependency status License: MIT

There are plenty of periodic tables available online, including web pages, spreadsheet, JPEG/PNG/SVG images, mobile APP, Python-generated, and even those can be purchased from various e-commerce platforms, but none of them fully meet my expectations.

What I want is a periodic table that could comprehensively showcase all aspects of the periodic trends of chemical elements, provide rich and layered information, synchronize with the latest authoritative data in real-time, and include interactive features as a WebAPP or native/mobile APP. Moreover, it had to feature Chinese names and pinyin and be printable on A4/A3 paper for use by sixth and ninth-grade students as an educational and memorization aid. Thus, this project was born.

https://mhfan.github.io/inperiod

Elements Periodic Table Show electron configuration diagram Show crystal structure

Additionally, this project also targets to provide a set of API in Rust for accessing all kinds of information and data about the elements.

Instructions

  1. Install npm: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
  2. Install the tailwind css cli: https://tailwindcss.com/docs/installation
  3. Run the following command in the root of the project to start the tailwind CSS compiler:
npm install tailwindcss -D -g

npx tailwindcss -i tailwind_base.css -o assets/tailwind.css -w #-m

Launch the Dioxus Web/Desktop/Mobile app:

dx serve --platform web #--verbose

dx serve --platform desktop #rm -rf dist
#cd dist && cargo r -F desktop

dx serve --platform android #ios

Open the browser to http://localhost:8080/inperiod

Note: Recommended to print as PDF on Chrome browser.

References

Commit count: 0

cargo fmt