Skip to content

Commit

Permalink
Merge pull request #36 from crypti/detail-group
Browse files Browse the repository at this point in the history
feat: put currency list in detail group
  • Loading branch information
radiovisual authored Apr 22, 2024
2 parents 218e7eb + 61ca64d commit 97e16df
Show file tree
Hide file tree
Showing 28 changed files with 12,759 additions and 12,318 deletions.
7 changes: 2 additions & 5 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import sortby from 'lodash.sortby';
import request from 'sync-request';
import ora from 'ora';
import chalk from 'chalk';
import {getDetailSummaryFromSymbolData} from './utils/markdown-table.js';

const endpoint = 'https://www.cryptocompare.com/api/data/coinlist/';

Expand Down Expand Up @@ -67,12 +68,8 @@ fetch(endpoint)
let table = `There are currently **${newSymbols.length} cryptocurrencies** represented*:\n`;
table += `\n<small><em>* Last updated: ${new Date().toUTCString()}</em></small>`;
table += '\n\n';
table += '| Symbol | Name |\n';
table += '| :------ | :------ |\n';

for (const symbol of newSymbols) {
table += `| \`${symbol}\` | ${data[symbol]} |\n`;
}
table += getDetailSummaryFromSymbolData(data);

// Look for the HTML comments in the README as a target
const targetRegex
Expand Down
21 changes: 21 additions & 0 deletions cryptocurrencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@
"AKTIO": "AKTIO Coin",
"ALA": "ALA",
"ALX": "ALAX",
"ALBEDO": "ALBEDO",
"ALEX": "ALEX Lab",
"ALIS": "ALISmedia",
"ALLBI": "ALL BEST ICO",
Expand Down Expand Up @@ -291,6 +292,7 @@
"AUSDC": "Aave USDC v1",
"GHST": "Aavegotchi",
"FOMO": "Aavegotchi FOMO",
"AABL": "Abble",
"ABEL": "Abelian",
"ABEY": "Abey",
"ABJ": "Abjcoin",
Expand Down Expand Up @@ -1584,6 +1586,7 @@
"BLC": "BlakeCoin",
"BLAS": "BlakeStar",
"BLANK": "Blank Token",
"BINU": "Blast Inu",
"BEPE": "Blast Pepe",
"BD": "BlastDEX",
"BLAZE": "Blaze",
Expand Down Expand Up @@ -3638,6 +3641,7 @@
"EDG": "Edgeless",
"EDGESOL": "Edgevana Staked SOL",
"EDGEW": "Edgeware",
"NFE": "Edu3Labs",
"EDUCOIN": "EduCoin",
"EAC": "Education Assessment Cult",
"LEDU": "Education Ecosystem",
Expand Down Expand Up @@ -4078,6 +4082,7 @@
"FNC": "Fancy Games",
"FNCY": "Fancy That",
"FDM": "Fandom",
"FAND": "Fandomdao",
"FTI": "FansTime",
"FHM": "FantOHM",
"XFT": "Fantasy Cash",
Expand Down Expand Up @@ -4502,6 +4507,7 @@
"GBO": "Gabro.io",
"RUX": "Gacrux NFT",
"GAFA": "Gafa",
"GAGA": "Gaga",
"GEP": "Gaia",
"GAIA": "Gaia Everworld",
"GMRX": "Gaimin",
Expand Down Expand Up @@ -4911,6 +4917,7 @@
"GRUMPY": "Grumpy Finance",
"GTR": "Gturbo",
"GUAC": "Guacamole",
"GUAP": "Guapcoin",
"TEE": "Guarantee",
"GET": "Guaranteed Entrance Token",
"GETX": "Guaranteed Ethurance Token Extra",
Expand Down Expand Up @@ -6700,6 +6707,7 @@
"MZC": "MazaCoin",
"MAZI": "MaziMatic",
"MZR": "Mazuri GameFi",
"MAZZE": "Mazze",
"MBIT": "Mbitbooks",
"MDX": "Mdex (BSC)",
"MDXH": "Mdex (HECO)",
Expand Down Expand Up @@ -6914,6 +6922,7 @@
"THAVAGE": "Mike Tython",
"MKT": "MikeToken",
"LADYS": "Milady Meme Coin",
"LADYF": "Milady Wif Hat",
"MVC": "MileVerse",
"MUU": "MilkCoin",
"MILK": "Milkshake Swap",
Expand Down Expand Up @@ -7519,6 +7528,7 @@
"VANA": "Nirvana",
"ANA": "Nirvana ANA",
"NAC": "Nirvana Chain",
"NITEFEEDER": "Nitefeeder",
"NITROG": "Nitro",
"NITRO": "Nitro League",
"NITROE": "NitroEX",
Expand All @@ -7538,6 +7548,7 @@
"NOR": "Noir",
"NRB": "NoirBits",
"NRS": "NoirShares",
"NOIS": "Nois Network",
"NOKA": "Noka Solana AI",
"NOLA": "Nola",
"NLS": "Nolus",
Expand Down Expand Up @@ -7701,6 +7712,7 @@
"OWC": "Oduwa",
"OCN": "Odyssey",
"ODYS": "OdysseyWallet",
"OFE": "Ofero",
"XFTC": "Offshift",
"OGGY": "Oggy Inu",
"OH": "Oh! Finance",
Expand Down Expand Up @@ -7921,6 +7933,7 @@
"PBET": "PBET",
"PCC": "PCORE",
"PDATA": "PDATA",
"DPDBC": "PDBC Defichain",
"PDD": "PDDOLLAR",
"PDX": "PDX Coin",
"PCE": "PEACE COIN",
Expand Down Expand Up @@ -8472,6 +8485,7 @@
"POSTC": "PostCoin",
"POT": "PotCoin",
"P404": "Potion 404",
"POU": "Pou",
"PRCH": "Power Cash",
"PIPT": "Power Index Pool Token",
"POWR": "Power Ledger",
Expand Down Expand Up @@ -9655,6 +9669,7 @@
"SMAT": "Smathium",
"SMG": "Smaugs NFT",
"SMILE": "Smile Token",
"SMILEK": "Smilek to the Bank",
"SMLY": "SmileyCoin",
"SMOG": "Smog",
"SMOKE": "Smoke",
Expand Down Expand Up @@ -9758,6 +9773,7 @@
"SMA": "Soma Network",
"SBE": "Sombe",
"SMBR": "Sombra",
"SOMM": "Sommelier",
"SOMNIUM": "Somnium Space CUBEs",
"BRATT": "Son of Brett",
"SONAR": "SonarWatch",
Expand Down Expand Up @@ -10753,6 +10769,7 @@
"UPC": "UPCX",
"UPS": "UPFI Network",
"XUP": "UPGRADE",
"UPTOS": "UPTOS",
"UPCOIN": "UPcoin",
"UR": "UR",
"URX": "URANIUMX",
Expand Down Expand Up @@ -11490,6 +11507,7 @@
"WILC": "Wrapped ILCOIN",
"WIOTX": "Wrapped IoTeX",
"WKAVA": "Wrapped Kava",
"WLUNC": "Wrapped LUNA Classic",
"WLUNA": "Wrapped LUNA Token",
"WMNT": "Wrapped Mantle",
"WMATIC": "Wrapped Matic",
Expand Down Expand Up @@ -11583,6 +11601,7 @@
"XT": "XT.com Token",
"XTAL": "XTAL",
"XBY": "XTRABYTES",
"XTTB20": "XTblock",
"XXX": "XXXCoin",
"XY": "XY Finance",
"XYO": "XY Oracle",
Expand Down Expand Up @@ -12068,6 +12087,7 @@
"OSC": "iOscar",
"IRYDE": "iRYDE COIN",
"ISTEP": "iSTEP",
"DEEM": "iShares MSCI Emerging Markets ETF Defichain",
"ITU": "iTrue",
"ITG": "iTrust Governance",
"IVIP": "iVipCoin",
Expand Down Expand Up @@ -12099,6 +12119,7 @@
"MINISHIB": "miniSHIB ETH",
"MIF": "monkeywifhat",
"MOOLYA": "moolyacoin",
"MOW": "mouse in a cats world",
"NOSN": "nOS",
"NSI": "nSights DeFi Trader",
"N0031": "nYFI",
Expand Down
Binary file added images/AABL.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/ALBEDO.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/BINU.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/DEEM.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/DPDBC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/FAND.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/GAGA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/GUAP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/LADYF.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/MAZZE.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/MOW.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/NFE.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/NITEFEEDER.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/NOIS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/OFE.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/POU.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/SMILEK.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/SOMM.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/UPTOS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/WLUNC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/XTTB20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 97e16df

Please sign in to comment.