{"id":27120151,"url":"https://github.com/mahdinhc/atomic","last_synced_at":"2025-06-11T23:03:49.086Z","repository":{"id":258485459,"uuid":"871108308","full_name":"mahdinhc/atomic","owner":"mahdinhc","description":"CLI based molecule tool written in Go!","archived":false,"fork":false,"pushed_at":"2025-02-11T11:00:48.000Z","size":696,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T00:08:59.216Z","etag":null,"topics":["atomic","atomic-go","chemical","cli","go","golang","molecules","molecules-cli"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mahdinhc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-10-11T09:35:01.000Z","updated_at":"2025-02-11T11:00:52.000Z","dependencies_parsed_at":"2025-02-11T11:38:58.948Z","dependency_job_id":null,"html_url":"https://github.com/mahdinhc/atomic","commit_stats":null,"previous_names":["mahdin-hc/atomic","mahdinhc/atomic"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mahdinhc/atomic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdinhc%2Fatomic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdinhc%2Fatomic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdinhc%2Fatomic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdinhc%2Fatomic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mahdinhc","download_url":"https://codeload.github.com/mahdinhc/atomic/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdinhc%2Fatomic/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259360794,"owners_count":22845817,"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":["atomic","atomic-go","chemical","cli","go","golang","molecules","molecules-cli"],"created_at":"2025-04-07T09:52:28.674Z","updated_at":"2025-06-11T23:03:49.065Z","avatar_url":"https://github.com/mahdinhc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ATOMIC\n\nA command-line tool to parse chemical formulas, draw the periodic table, and display electron configurations.\n\n\n![icon](./icon/icon_small.png)\n\n## Features\n\n- Parse chemical formulas and display relevant information, such as molecular mass, charge, and state.\n- Draw the periodic table.\n- Display electron configurations of the elements in the formula.\n\n\n\n## Usage\n\n```bash\natomic [options] \u003cformula\u003e\n```\n\n### Options\n\n- `-pt` : Draw the periodic table with the elements involved in the provided formula.\n- `-e`  : Show electron configurations of the elements in the provided formula.\n\n### Examples\n\n1. **Parse a formula** and show details:\n\n    ```bash\n    atomic NaCl\n    ```\n\n    Output:\n    ```\n\tMolecule : NaCl\n\tSimplify : NaCl\n\tName     : Sodium Chloride\n\tMass     : 58.443000\n\tCharge   : 0\n    ```\n\n2. **Draw the periodic table** and show the electron configurations:\n\n    ```bash\n    atomic -pt -e C7H5N3O7\n    ```\n\n    Output:\n    ![preview](./preview/preview.png)\n\n## Data\n\n- Elements data is loaded from `data/elements.csv`.\n- Molecules data is loaded from `data/molecules.csv`.\n\n## Requirements\n\n- Go 1.16 or later\n\n## Installation\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/mahdin-hc/atomic.git\n    ```\n\n2. Build the executable:\n\n    ```bash\n    go build -o atomic.exe\n    ```\n\n3. Run the tool:\n\n    ```bash\n    atomic.exe -e -pt NaCl\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahdinhc%2Fatomic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmahdinhc%2Fatomic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahdinhc%2Fatomic/lists"}