You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ First and foremost, this service _will not_ automatically buy for you.
14
14
15
15
-**Checks stock continuously** -- runs 24/7, 365, looking for the items you want.
16
16
-**Ready for checkout** -- ability to add to cart when available and even opens the browser for you.
17
+
-**Live dashboard** -- optional web interface with a matrix view of selected stores and series, filter controls, dotenv editing, and restart control.
17
18
-**Notifications galore** -- when you're not by your computer, worry free with notifications to most platforms and devices when an item comes in stock.
Copy file name to clipboardExpand all lines: docs/getting-started.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,26 @@ You do not need any computer skills, smarts, or anything of that nature. You are
25
25
26
26
At any point you want the program to stop, use ++ctrl+c++.
27
27
28
+
## Using the web dashboard
29
+
30
+
If you want to manage streetmerchant from the browser while it is running, set `WEB_PORT` in your `dotenv` file.
31
+
32
+
```shell
33
+
WEB_PORT=8080
34
+
```
35
+
36
+
After you start the app, open `http://localhost:8080`.
37
+
38
+
The dashboard includes:
39
+
40
+
- A live matrix with selected stores across the top and selected series on the left.
41
+
- Store, series, and model menus that update the running configuration.
42
+
- A settings editor for the active `dotenv` file.
43
+
- A restart button to reload the bot without closing the dashboard.
44
+
45
+
???+ note
46
+
Filter changes made in the dashboard are persisted back to the active `dotenv` file. Some settings still require a restart before they fully take effect.
47
+
28
48
???+ tip
29
49
Community based help can also be found on the [wiki](https://github.com/jef/streetmerchant/wiki). Feel free to check that out if you're having problems running. If you're still having problems running, you're probably not the first. Make some searches through the [GitHub issues](https://github.com/jef/streetmerchant/issues) before making one.
Copy file name to clipboardExpand all lines: docs/index.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ First and foremost, this service _will not_ automatically buy for you.
6
6
7
7
-**Checks stock continuously** -- runs 24/7, 365, looking for the items you want.
8
8
-**Ready for checkout** -- ability to add to cart when available and even opens the browser for you.
9
+
-**Live dashboard** -- optional web interface with a matrix view of selected stores and series, filter controls, dotenv editing, and restart control.
9
10
-**Notifications galore** -- when you're not by your computer, worry free with notifications to most platforms and devices when an item comes in stock.
|`LOW_BANDWIDTH`| Blocks images/fonts to reduce traffic. Disables ad blocker, default: `false`|
12
13
|`NVIDIA_ADD_TO_CART_ATTEMPTS`| Maximum number of attempts add an item to card in the Nvidia storefront, default: `10`|
@@ -20,15 +21,17 @@
20
21
|`PROXY_PROTOCOL`| Protocol of proxy server, such as `socks5`, default: `http`|
21
22
|`PROXY_ADDRESS`| IP Address or fqdn of proxy server |
22
23
|`PROXY_PORT`| TCP Port number on which the proxy is listening for connections, default: `80`|
24
+
|`RANDOMIZE_LOOKUP_ORDER`| Shuffle store and product lookup order on each pass, default: `false`|
23
25
|`RESTART_TIME`| Restarts chrome after defined milliseconds. `0` for never, default: `0`|
24
26
|`SCREENSHOT`| Capture screenshot of page if a card is found, default: `true`|
25
27
|`SCREENSHOT_DIR`| The directory for saving the screenshots, default: `screenshots`|
26
28
|`USER_AGENT`| Custom user agent used for requests |
27
-
|`WEB_PORT`| Starts a webserver to be able to control the bot while it is running. Setting this value starts this service. |
29
+
|`WEB_PORT`| Starts a webserver to control the bot while it is running. The dashboard includes a live matrix view, filter menus, dotenv editing, and a restart control. |
28
30
29
31
???+ info
30
32
There is more information on proxy settings in the [Proxy documentation](proxy.md).
31
33
32
34
???+ tip
33
35
- You can also have a list of proxies that are rotated while searching stores. Proxies can be read from a file named `STORENAME.proxies` in the format of `socks5://username:password@ip`; one per line.
34
36
- 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.
37
+
- Increasing `LOOKUP_THREADS` can improve throughput, but it also increases request pressure and rate-limit risk.
Copy file name to clipboardExpand all lines: docs/reference/filter.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,9 @@
54
54
???+ note
55
55
For `MAX_PRICE_SERIES_*` variables: Use whole numbers only (no currency symbol is required). Avoid using any commas or decimal points. Example: `1234`. Merchandise found above this price will be skipped.
56
56
57
+
???+ info
58
+
When `WEB_PORT` is enabled, the web dashboard can update `STORES`, `SHOW_ONLY_SERIES`, and `SHOW_ONLY_MODELS` from the browser. Those changes are also written back to the active `dotenv` file.
59
+
57
60
## Supported stores
58
61
59
62
Used with the `STORES` variable.
@@ -122,7 +125,7 @@ Used with the `STORES` variable.
0 commit comments