Himan-de commited on
Commit
cd5edae
·
verified ·
1 Parent(s): 924cc82

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +119 -18
index.html CHANGED
@@ -1,19 +1,120 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>MatGraph CLI | Trinetra Labs</title>
7
+ <style>
8
+ body {
9
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
10
+ line-height: 1.6;
11
+ color: #333;
12
+ max-width: 800px;
13
+ margin: 0 auto;
14
+ padding: 2rem;
15
+ background-color: #fcfcfc;
16
+ }
17
+ h1 {
18
+ color: #2c3e50;
19
+ font-size: 2.5rem;
20
+ margin-bottom: 0.5rem;
21
+ }
22
+ h2 {
23
+ color: #34495e;
24
+ margin-top: 2rem;
25
+ border-bottom: 2px solid #ecf0f1;
26
+ padding-bottom: 0.5rem;
27
+ }
28
+ .subtitle {
29
+ font-size: 1.2rem;
30
+ color: #7f8c8d;
31
+ margin-bottom: 2rem;
32
+ }
33
+ .code-block {
34
+ background-color: #282c34;
35
+ color: #abb2bf;
36
+ padding: 1rem;
37
+ border-radius: 8px;
38
+ overflow-x: auto;
39
+ font-family: 'Courier New', Courier, monospace;
40
+ }
41
+ .btn {
42
+ display: inline-block;
43
+ background-color: #3498db;
44
+ color: white;
45
+ padding: 0.8rem 1.5rem;
46
+ text-decoration: none;
47
+ border-radius: 5px;
48
+ margin-top: 1rem;
49
+ font-weight: bold;
50
+ transition: background-color 0.3s;
51
+ }
52
+ .btn:hover {
53
+ background-color: #2980b9;
54
+ }
55
+ .btn-github {
56
+ background-color: #333;
57
+ }
58
+ .btn-github:hover {
59
+ background-color: #111;
60
+ }
61
+ .feature-list {
62
+ margin-top: 1rem;
63
+ }
64
+ .feature-list li {
65
+ margin-bottom: 0.5rem;
66
+ }
67
+ footer {
68
+ margin-top: 4rem;
69
+ text-align: center;
70
+ color: #95a5a6;
71
+ font-size: 0.9rem;
72
+ }
73
+ </style>
74
+ </head>
75
+ <body>
76
+
77
+ <h1>🔬 MatGraph CLI</h1>
78
+ <div class="subtitle">A modern CLI and GraphQL API tool for Material Science Deep Learning Pipelines, powered by Trinetra Labs.</div>
79
+
80
+ <p>MatGraph CLI replaces the outdated, bloated ML implementations in materials science with a sleek, universal interface. It natively wraps the state-of-the-art <strong>M3GNet Universal Potentials</strong> developed by the Materials Virtual Lab.</p>
81
+
82
+ <a href="https://pypi.org/project/matgraph-cli/" class="btn" target="_blank">View on PyPI</a>
83
+ <a href="https://github.com/Himan-D/matgraph-cli" class="btn btn-github" target="_blank">GitHub Repository</a>
84
+
85
+ <h2>🚀 Quick Start</h2>
86
+ <p>Install via pip and set up your Materials Project API key in seconds:</p>
87
+ <div class="code-block">
88
+ pip install matgraph-cli<br><br>
89
+ # Persistently save your API key (No more 'export' commands!)<br>
90
+ matgraph setup YOUR_MP_API_KEY
91
+ </div>
92
+
93
+ <h2>✨ Key Features</h2>
94
+ <ul class="feature-list">
95
+ <li><strong>Thermodynamic Stability:</strong> Instantly predict Formation Energy and Band Gaps.</li>
96
+ <li><strong>Structural Relaxation:</strong> Perform ASE Geometry Optimization using M3GNet.</li>
97
+ <li><strong>Generative Discovery:</strong> Simulate elemental substitution (e.g., swapping Li for Na in LiFePO4) to discover stable alternatives.</li>
98
+ <li><strong>X-Ray Diffraction:</strong> Simulate accurate Cu-Ka XRD patterns.</li>
99
+ <li><strong>Phonon DOS:</strong> Fetch exact Phonon Density of States for thermodynamic properties.</li>
100
+ <li><strong>Blazing Fast:</strong> Zero-config SQLite local caching and highly optimized lazy loading.</li>
101
+ </ul>
102
+
103
+ <h2>💻 Example Usage</h2>
104
+ <p>Predict the properties of a material using the CLI:</p>
105
+ <div class="code-block">
106
+ matgraph predict LiFePO4 --model m3gnet
107
+ </div>
108
+
109
+ <p>Or perform generative elemental substitution (Inverse Design):</p>
110
+ <div class="code-block">
111
+ matgraph substitute LiFePO4 Li Na
112
+ </div>
113
+
114
+ <footer>
115
+ &copy; 2026 Trinetra Labs. All rights reserved.<br>
116
+ Built with ❤️ for the Material Science community.
117
+ </footer>
118
+
119
+ </body>
120
  </html>