Skip to content

Commit 3f9b3c6

Browse files
committed
chore!: update naming to streetmerchant
Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
1 parent 30720d3 commit 3f9b3c6

File tree

10 files changed

+202
-202
lines changed

10 files changed

+202
-202
lines changed

.env-example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ** All configuration variables are optional **
2-
# Read https://github.com/jef/nvidia-snatcher#customization for help on customizing this file
2+
# Read https://github.com/jef/streetmerchant#customization for help on customizing this file
33
#############################################################################################
44

55
BROWSER_TRUSTED=

.github/workflows/cd.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
token: ${{ secrets.GITHUB_TOKEN }}
1717
release-type: simple
18-
package-name: nvidia-snatcher
18+
package-name: streetmerchant
1919
- name: login into github package registry
2020
run: echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
2121
- name: build nightly docker image

CHANGELOG.md

+170-170
Large diffs are not rendered by default.

README.md

+21-21
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
<p align="center"><a href="#"><img src="https://raw.githubusercontent.com/jef/nvidia-snatcher/main/media/streetmerchant.png" alt="streetmerchant" /></a></p>
1+
<p align="center"><a href="#"><img src="https://raw.githubusercontent.com/jef/streetmerchant/main/media/streetmerchant.png" alt="streetmerchant" /></a></p>
22
<h1 align="center">streetmerchant</h1>
33
<p align="center">The world's easiest, most powerful stock checker
44
<br/><br/>
5-
<a href="https://github.com/jef/nvidia-snatcher/actions?query=workflow%3Aci"><img src="https://github.com/jef/nvidia-snatcher/workflows/ci/badge.svg" /></a>
5+
<a href="https://github.com/jef/streetmerchant/actions?query=workflow%3Aci"><img src="https://github.com/jef/streetmerchant/workflows/ci/badge.svg" /></a>
66
<a href="https://discord.gg/gbVY4vB9JF"><img src="https://img.shields.io/discord/773913070665859073.svg?label=chat&logo=discord&logoColor=ffffff&color=7389D8" alt="Tweet" /></a>
7-
<a href="https://twitter.com/intent/tweet?text=Beat%20the%20masses%20with%20streetmerchant&url=https://github.com/jef/nvidia-snatcher&hashtags=typescript,opensource,bot,shopping"><img src="https://img.shields.io/badge/twitter-share-green?logo=twitter&style=social" alt="Tweet" /></a>
7+
<a href="https://twitter.com/intent/tweet?text=Beat%20the%20masses%20with%20streetmerchant&url=https://github.com/jef/streetmerchant&hashtags=typescript,opensource,bot,shopping"><img src="https://img.shields.io/badge/twitter-share-green?logo=twitter&style=social" alt="Tweet" /></a>
88
<br/><br/>
9-
<a href="https://github.com/jef/nvidia-snatcher#faq">FAQ</a> |
10-
<a href="https://github.com/jef/nvidia-snatcher/issues">Issues</a> |
11-
<a href="https://github.com/jef/nvidia-snatcher/wiki">Wiki</a>
9+
<a href="https://github.com/jef/streetmerchant#faq">FAQ</a> |
10+
<a href="https://github.com/jef/streetmerchant/issues">Issues</a> |
11+
<a href="https://github.com/jef/streetmerchant/wiki">Wiki</a>
1212
<br/><br/>
13-
<a href="https://github.com/jef/nvidia-snatcher#"><img src="https://raw.githubusercontent.com/jef/nvidia-snatcher/main/media/terminal.gif" /></a>
13+
<a href="https://github.com/jef/streetmerchant#"><img src="https://raw.githubusercontent.com/jef/streetmerchant/main/media/terminal.gif" /></a>
1414

1515
## Features
1616

@@ -26,13 +26,13 @@ Linux, macOS, and Windows are all capable operating systems.
2626

2727
You do not need any computer skills, smarts, or anything of that nature. You are very capable as you have made it this
2828
far. Some basic understanding how a terminal, git, and or Node.js is a bonus, but that does not limit you to
29-
getting `nvidia-snatcher` running!
29+
getting `streetmerchant` running!
3030

3131
### Installation: native
3232

3333
- [Node.js 15](https://nodejs.org/en/)
3434
- [git](https://git-scm.com/)
35-
- Clone this project `git clone https://github.com/jef/nvidia-snatcher.git`
35+
- Clone this project `git clone https://github.com/jef/streetmerchant.git`
3636
- Run `npm install`
3737
- Copy `.env-example` to a new file `.env` and edit the `.env` file to your liking using
3838
your [favorite text editor](https://code.visualstudio.com/)
@@ -41,7 +41,7 @@ getting `nvidia-snatcher` running!
4141

4242
At any point you want the program to stop, use <kbd>Ctrl</kbd> + <kbd>C</kbd>.
4343

44-
> :point_right: Please visit the [wiki](https://github.com/jef/nvidia-snatcher/wiki) if you need more help with installation.
44+
> :point_right: Please visit the [wiki](https://github.com/jef/streetmerchant/wiki) if you need more help with installation.
4545
4646
### Installation: Docker
4747

@@ -52,7 +52,7 @@ Available via GitHub Container Registry.
5252
| `latest` | Latest stable build |
5353
| `nightly` | Latest HEAD build, could be unstable |
5454

55-
Use `docker run --cap-add=SYS_ADMIN -it --rm --env-file ./.env ghcr.io/jef/nvidia-snatcher:nightly` to run.
55+
Use `docker run --cap-add=SYS_ADMIN -it --rm --env-file ./.env ghcr.io/jef/streetmerchant:nightly` to run.
5656

5757
### Developer notes
5858

@@ -61,7 +61,7 @@ filesystem changes are detected in the `src/` folder or `.env` file.
6161

6262
## Customization
6363

64-
To customize `nvidia-snatcher`, make a copy of `.env-example` as `.env` and make any changes to your liking. _All
64+
To customize `streetmerchant`, make a copy of `.env-example` as `.env` and make any changes to your liking. _All
6565
environment variables are **optional**._
6666

6767
<details>
@@ -91,7 +91,7 @@ environment variables are **optional**._
9191

9292
> :point_right: You can find your computer's user agent by [searching google for "my user agent"](http://google.com/search?q=my+user+agent)
9393
94-
> :point_right: Data usage is [known to be high](https://github.com/jef/nvidia-snatcher/issues?q=is%3Aissue+sort%3Aupdated-desc+bandwidth). This is expected as the program scrapes many websites in parallel 24/7. To help reduce this, use `LOW_BANDWIDTH="true"`. We are looking into other solutions as well, but is low priority.
94+
> :point_right: Data usage is [known to be high](https://github.com/jef/streetmerchant/issues?q=is%3Aissue+sort%3Aupdated-desc+bandwidth). This is expected as the program scrapes many websites in parallel 24/7. To help reduce this, use `LOW_BANDWIDTH="true"`. We are looking into other solutions as well, but is low priority.
9595
9696
### Filters
9797

@@ -169,7 +169,7 @@ environment variables are **optional**._
169169

170170
> :point_right: Used with the `MICROCENTER_LOCATION` variable.
171171
172-
> :point_right: Before using `web`, please review [this issue comment](https://github.com/jef/nvidia-snatcher/issues/442#issuecomment-703297393).
172+
> :point_right: Before using `web`, please review [this issue comment](https://github.com/jef/streetmerchant/issues/442#issuecomment-703297393).
173173
174174
| Store name |
175175
|:---:|
@@ -323,7 +323,7 @@ environment variables are **optional**._
323323
| `MQTT_CLIENT_ID` | Unique ClientID (only if required by MQTT Broker), typically not required when only publishing alerts | eg. client-123456 |
324324
| `MQTT_PASSWORD` | MQTT password - only use with MQTT brokers on private networks, if required. Will not be sent over public networks for safety. | e.g mysecret |
325325
| `MQTT_QOS` | QoS level for published alerts to broker (https://www.npmjs.com/package/mqtt#about-qos) | Default: 0, Can be 0, 1, or 2 |
326-
| `MQTT_TOPIC` | Topic to publish alerts to. Can include %store%, %series%, %brand%, %model% for dynamic topics | Default: nvidia-snatcher/alert e.g nv-alert/%store%/%series%/%brand%/%model%/alert |
326+
| `MQTT_TOPIC` | Topic to publish alerts to. Can include %store%, %series%, %brand%, %model% for dynamic topics | Default: streetmerchant/alert e.g nv-alert/%store%/%series%/%brand%/%model%/alert |
327327
| `MQTT_USERNAME` | MQTT username - (only if required by MQTT Broker) | e.g myusername |
328328

329329
</details>
@@ -436,20 +436,20 @@ it. Very straight forward. Otherwise, Google more information related to your sy
436436

437437
**Q: Will I get banned from of the stores?** Perhaps, but getting a card is a nice outcome.
438438

439-
**Q: I got a problem and need help!** File an [issue](https://github.com/jef/nvidia-snatcher/issues/new/choose). I'll do
439+
**Q: I got a problem and need help!** File an [issue](https://github.com/jef/streetmerchant/issues/new/choose). I'll do
440440
my best to get to you. I work a full time job and this is only a hobby of mine.
441441

442442
**Q: How do I get the latest code?** Take look at
443-
this [wiki page](https://github.com/jef/nvidia-snatcher/wiki/Troubleshoot:-General:-Getting-the-latest-code).
443+
this [wiki page](https://github.com/jef/streetmerchant/wiki/Troubleshoot:-General:-Getting-the-latest-code).
444444

445445
**Q: Why don't my notifications work?** There is probably
446-
an [issue](https://github.com/jef/nvidia-snatcher/issues?q=is%3Aissue+sort%3Aupdated-desc+sound+is%3Aclosed) that
447-
has [already](https://github.com/jef/nvidia-snatcher/issues/182) [been](https://github.com/jef/nvidia-snatcher/issues/116) [resolved](https://github.com/jef/nvidia-snatcher/issues/155)
446+
an [issue](https://github.com/jef/streetmerchant/issues?q=is%3Aissue+sort%3Aupdated-desc+sound+is%3Aclosed) that
447+
has [already](https://github.com/jef/streetmerchant/issues/182) [been](https://github.com/jef/streetmerchant/issues/116) [resolved](https://github.com/jef/streetmerchant/issues/155)
448448
.
449449

450450
**Q: I'd love to contribute, how do I do that?** Make
451-
a [pull request](https://github.com/jef/nvidia-snatcher/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc)! All
451+
a [pull request](https://github.com/jef/streetmerchant/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc)! All
452452
contributions are welcome.
453453

454454
**Q: Why do I have to download all this stuff just to get this bot working?** Well, I would rather you didn't either.
455-
See [#11](https://github.com/jef/nvidia-snatcher/issues/11).
455+
See [#11](https://github.com/jef/streetmerchant/issues/11).

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "nvidia-snatcher",
2+
"name": "streetmerchant",
33
"description": "🔮 For all your Nvidia needs",
44
"main": "src/index.ts",
55
"scripts": {
@@ -13,15 +13,15 @@
1313
},
1414
"repository": {
1515
"type": "git",
16-
"url": "git+https://github.com/jef/nvidia-snatcher.git"
16+
"url": "git+https://github.com/jef/streetmerchant.git"
1717
},
1818
"keywords": [],
1919
"author": "jef",
2020
"license": "MIT",
2121
"bugs": {
22-
"url": "https://github.com/jef/nvidia-snatcher/issues"
22+
"url": "https://github.com/jef/streetmerchant/issues"
2323
},
24-
"homepage": "https://github.com/jef/nvidia-snatcher#readme",
24+
"homepage": "https://github.com/jef/streetmerchant#readme",
2525
"dependencies": {
2626
"@jef/pushbullet": "^2.4.3",
2727
"@slack/web-api": "^5.13.0",

src/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ const notifications = {
144144
password: envOrString(process.env.MQTT_PASSWORD),
145145
port: envOrNumber(process.env.MQTT_BROKER_PORT, 1883),
146146
qos: envOrNumber(process.env.MQTT_QOS, 0),
147-
topic: envOrString(process.env.MQTT_TOPIC, 'nvidia-snatcher/alert'),
147+
topic: envOrString(process.env.MQTT_TOPIC, 'streetmerchant/alert'),
148148
username: envOrString(process.env.MQTT_USERNAME)
149149
},
150150
pagerduty: {

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ async function loopMain() {
9191
try {
9292
await main();
9393
} catch (error) {
94-
logger.error('✖ something bad happened, resetting nvidia-snatcher in 5 seconds', error);
94+
logger.error('✖ something bad happened, resetting streetmerchant in 5 seconds', error);
9595
setTimeout(loopMain, 5000);
9696
}
9797
}

src/store/model/nvidia-api.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const regionInfos = new Map<string, NvidiaRegionInfo>([
3232
['russia', {currency: 'RUB', drLocale: 'ru_ru', fe2060SuperId: null, fe3080Id: null, fe3090Id: null, siteLocale: 'ru-ru'}],
3333
['spain', {currency: 'EUR', drLocale: 'es_es', fe2060SuperId: 5394903000, fe3080Id: 5438794800, fe3090Id: 5438794700, siteLocale: 'es-es'}],
3434
['sweden', {currency: 'SEK', drLocale: 'sv_se', fe2060SuperId: 5394903900, fe3080Id: 5438798100, fe3090Id: 5438761600, siteLocale: 'sv-se'}],
35-
// https://github.com/jef/nvidia-snatcher/issues/407 This fe2080SuperID is for the Shield TV which is out of stock in the US
35+
// https://github.com/jef/streetmerchant/issues/407 This fe2080SuperID is for the Shield TV which is out of stock in the US
3636
['usa', {currency: 'USD', drLocale: 'en_us', fe2060SuperId: 5355772500, fe3080Id: 5438481700, fe3090Id: 5438481600, siteLocale: 'en-us'}]
3737
]);
3838

web/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>nvidia-snatcher control</title>
4+
<title>streetmerchant control</title>
55
<script type="text/javascript">
66
let config;
77
let brands;

0 commit comments

Comments
 (0)