Skip to content

Commit

Permalink
restructure code and add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lastmover committed Jan 9, 2025
1 parent 30e7b11 commit 57940a5
Show file tree
Hide file tree
Showing 10 changed files with 76 additions and 35 deletions.
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# ai omegacycle

cool viz of ai omegacycle till now.

## Project Structure
```
aiomegacycle/
├── index.html
├── README.md
├── requirements.txt
├── .env.template
├── data/
│ ├── main.py
│ ├── codex_chain_ids.json
│ ├── tracked_tokens.json
│ └── historical_data.csv
└── assets/
├── styles.css
├── favicon.ico
└── header.png
```
- **`index.html`**: web page embedding the chart.
- **`data/`**: script and config files to fetch daily market caps.
- **`assets/`**: static images/CSS.

## Add a New Token
In `data/tracked_tokens.json`, add your entry, and submit a pull request. Once merged, the new token will be tracked along with the others.

```
{
"ticker": "XXX",
"chain": "solana|base|ethereum",
"address": "your-token-address"
}
```

## Questions
- Project X: [@aiomegacycle](https://x.com/aiomegacycle)
- My X: [@last_mover](https://x.com/last_mover)
File renamed without changes.
File renamed without changes
File renamed without changes.
2 changes: 2 additions & 0 deletions data/.env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CODEX_API_KEY=YOUR_CODEX_API_KEY
BIRDEYE_API_KEY=YOUR_BIRDEYE_API_KEY
File renamed without changes.
64 changes: 32 additions & 32 deletions historical_data.csv → data/historical_data.csv

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<meta name="description" content="who's gonna win?">

<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="apple-touch-icon" sizes="180x180" href="/favicon.ico">
<link rel="icon" type="image/x-icon" href="assets/favicon.ico">
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicon.ico">

<!-- Canonical URL -->
<link rel="canonical" href="https://aiomegacycle.com">
Expand Down Expand Up @@ -40,7 +40,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

<!-- Styles -->
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="assets/styles.css">
<link rel="stylesheet" href="https://flo.uri.sh/template/75310/v11/static/style.css">
<link href="https://fonts.googleapis.com/css?family=IBM+Plex+Mono:400,700&display=swap" rel="stylesheet">
</head>
Expand Down

0 comments on commit 57940a5

Please sign in to comment.