Skip to content

Commit 414771c

Browse files
committed
Repurposed for ISO 3166-1
1 parent 322e773 commit 414771c

File tree

13 files changed

+82
-222
lines changed

13 files changed

+82
-222
lines changed

.github/workflows/ghpages-deploy.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ jobs:
3434
yq --version
3535
jq --version
3636
37-
- name: Process Six Group data to JSON
37+
- name: Process Github data to JSON
3838
run: |
39-
./bin/sixgroup_download.sh
40-
./bin/sixgroup_to_json.mts
39+
./bin/gh_download.sh
40+
./bin/gh_to_json.mts
4141
4242
- name: Set Status Info
4343
run: |

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dist
44
*.env
55
*.log
66
node_modules
7-
public/iso-4217.json
7+
public/iso-3166-1.json
88
tmp
99
*.tmp
1010

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ to attach them to the start of each source file to most effectively
629629
state the exclusion of warranty; and each file should have at least
630630
the "copyright" line and a pointer to where the full notice is found.
631631

632-
ISO 4217 - search through the ISO 4217 Currency data
632+
ISO 3166-1 - search through the ISO 3166-1 Country data
633633
Copyright (C) 2025 by Andrew Marcuse
634634

635635
This program is free software: you can redistribute it and/or modify

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# ISO 4217 Currencies Data Browser <img alt="Languages icon" src="public/favicon.svg" height="90" align="right" />
1+
# ISO 3166-1 Countries Data Browser <img alt="Languages icon" src="public/favicon.svg" height="90" align="right" />
22

3-
[![deploy](https://github.com/FileFormatInfo/iso-4217/actions/workflows/ghpages-deploy.yaml/badge.svg)](https://github.com/FileFormatInfo/iso-4217/actions/workflows/ghpages-deploy.yaml)
4-
[![currencies](https://img.shields.io/badge/dynamic/json.svg?label=currencies&url=https%3A%2F%2Fiso-4217.fileformat.info%2Fstatus.json&query=%24.datacount)](https://iso-4217.fileformat.info/)
3+
[![deploy](https://github.com/FileFormatInfo/iso-3166-1/actions/workflows/ghpages-deploy.yaml/badge.svg)](https://github.com/FileFormatInfo/iso-3166-1/actions/workflows/ghpages-deploy.yaml)
4+
[![currencies](https://img.shields.io/badge/dynamic/json.svg?label=currencies&url=https%3A%2F%2Fiso-3166-1.fileformat.info%2Fstatus.json&query=%24.datacount)](https://iso-3166-1.fileformat.info/)
55
[![Status](https://img.shields.io/nodeping/status/BNS8BXQX-FIS3-4ORQ-87JX-JKQELP1RI4OV.svg?style=flat)](https://nodeping.com/reports/checks/BNS8BXQX-FIS3-4ORQ-87JX-JKQELP1RI4OV)
66

7-
A web app for searching and browsing the ISO 4217 Currencies database.
7+
A web app for searching and browsing the ISO 3166-1 Countries database.
88

9-
See it in action: [iso-4217.fileformat.info](https://iso-4217.fileformat.info/)
9+
See it in action: [iso-3166-1.fileformat.info](https://iso-3166-1.fileformat.info/)
1010

1111
## Links
1212

13-
- [Six Group downloads](https://www.six-group.com/en/products-services/financial-information/market-reference-data/data-standards.html)
14-
- [Wikipedia ISO 4217 Page](https://en.wikipedia.org/wiki/ISO_4217)
13+
- https://github.com/mledoze/countries
14+
- [Wikipedia ISO 3166-1 Page](https://en.wikipedia.org/wiki/ISO_3166-1)
1515

1616
## Credits
1717

bin/set_status.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ STATUS_FILE="${BASE_DIR}/public/status.json"
2727
LASTMOD=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
2828
TECH="NodeJS $(node --version)"
2929
COMMIT=$(git -C "${BASE_DIR}" rev-parse --short HEAD)
30-
DATACOUNT=$(cat "${BASE_DIR}/public/iso-4217.json" | jq '.data | length')
30+
DATACOUNT=$(cat "${BASE_DIR}/public/iso-3166-1.json" | jq '.data | length')
3131

3232
echo "INFO: updating status file ${STATUS_FILE}"
3333

bin/sixgroup_download.sh

Lines changed: 0 additions & 50 deletions
This file was deleted.

bin/sixgroup_to_json.mts

Lines changed: 0 additions & 119 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"author": "fileformat@gmail.com",
3-
"description": "ISO 4217 Data Browser",
3+
"description": "ISO 3166-1 Countries Data Browser",
44
"devDependencies": {
55
"@types/node": "^24.3.1",
66
"@types/tabulator-tables": "^6.3.0",

public/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<div class="d-flex flex-row align-items-center alert alert-danger m-3" role="alert">
1313
<img class="pe-2" src="/images/stop.svg" alt="Error" width="100" height="100" />
1414
<span class="fs-4">File not found.&nbsp;&nbsp;&nbsp;Go to <a
15-
href="/">ISO 4217 Data Browser</a> or <a href="https://www.fileformat.info/">FileFormat.Info</a>.</span>
15+
href="/">ISO 3166-1 Data Browser</a> or <a href="https://www.fileformat.info/">FileFormat.Info</a>.</span>
1616
</div>
1717
</div>
1818
</div>

public/robots.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#
2-
# robots.txt for iso-4217.fileformat.info
2+
# robots.txt for iso-3166-1.fileformat.info
33
#
44

5-
Sitemap: https://iso-4217.fileformat.info/sitemap.xml
5+
Sitemap: https://iso-3166-1.fileformat.info/sitemap.xml
66

77
User-agent: *
88
Disallow: /honeypot.txt

0 commit comments

Comments
 (0)