26 Commits

Author SHA1 Message Date
renovate[bot]
a8dd3a4839 Update dependency vue to v3.5.18 (#243)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-26 07:54:19 -04:00
dependabot[bot]
10a6ae4964 Bump axios from 1.10.0 to 1.11.0 (#241)
Bumps [axios](https://github.com/axios/axios) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.11.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-23 20:03:36 -04:00
dependabot[bot]
fcbdf15180 Bump form-data from 4.0.1 to 4.0.4 (#240)
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.1 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.1...v4.0.4)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-22 18:48:52 -04:00
renovate[bot]
968a417f60 Update babel monorepo to v7.28.0 (#236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-19 08:49:36 -04:00
renovate[bot]
05fb199525 Update dependency core-js to v3.44.0 (#237)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-19 08:49:26 -04:00
renovate[bot]
9e4a84dbbb Update dependency cssnano to v7.1.0 (#239)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-19 08:49:13 -04:00
dependabot[bot]
665edf0c80 Bump on-headers and compression (#238)
---
updated-dependencies:
- dependency-name: on-headers
  dependency-version: 1.1.0
  dependency-type: indirect
- dependency-name: compression
  dependency-version: 1.8.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-18 15:07:05 -04:00
renovate[bot]
ef7448f02f Update babel monorepo to v7.27.4 (#230)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dave Gallant <davegallant@gmail.com>
2025-06-21 09:30:00 -04:00
renovate[bot]
60dfad2c66 Update dependency vue to v3.5.17 (#231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-20 21:58:30 -04:00
renovate[bot]
f60dd55178 Update dependency core-js to v3.43.0 (#232)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-20 21:58:21 -04:00
renovate[bot]
e7a47adca5 Update dependency bootstrap to v5.3.7 (#234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-20 21:42:50 -04:00
renovate[bot]
d54b07172e Update docker/dockerfile Docker tag to v1.17 (#235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-20 21:42:36 -04:00
f60e4cf1cf Add banner notifying users that rfd.fyi will not be renewed after 2025-08-20 2025-06-19 10:23:33 -04:00
renovate[bot]
d4253ed8e2 Update dependency axios to v1.10.0 (#233)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-15 08:13:49 -04:00
renovate[bot]
a0ee6bb6c8 Update docker/dockerfile Docker tag to v1.16 (#229)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-23 21:55:57 -04:00
renovate[bot]
5f7e848670 Update dependency vue to v3.5.14 (#228)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-16 23:29:27 -04:00
renovate[bot]
f2c05bce92 Update dependency cssnano to v7.0.7 (#227)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-10 07:44:49 -04:00
renovate[bot]
0e34c00b99 Update dependency bootstrap to v5.3.6 (#226)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-10 07:41:46 -04:00
renovate[bot]
c20f4fb32a Update dependency core-js to v3.42.0 (#225)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-02 21:56:56 -04:00
renovate[bot]
052e2d92d9 Update babel monorepo to v7.27.1 (#224)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-02 21:56:41 -04:00
renovate[bot]
b367ad0a46 Update dependency axios to v1.9.0 (#222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-28 22:39:21 -04:00
renovate[bot]
16ef189fe4 Update dependency vue-router to v4.5.1 (#220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-28 22:39:11 -04:00
dependabot[bot]
89d3d70ef9 Bump http-proxy-middleware from 2.0.7 to 2.0.9 (#223)
Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.7 to 2.0.9.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.9/CHANGELOG.md)
- [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.7...v2.0.9)

---
updated-dependencies:
- dependency-name: http-proxy-middleware
  dependency-version: 2.0.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-28 22:39:02 -04:00
renovate[bot]
00e3c8ad5e Update caddy Docker tag to v2.10.0 (#221)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-26 18:10:26 -04:00
renovate[bot]
6444cac6ee Update docker/dockerfile Docker tag to v1.15 (#219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-18 22:31:54 -04:00
b15a4fa107 Change DNS and other small tweaks 2025-04-18 18:44:19 -04:00
8 changed files with 575 additions and 488 deletions

View File

@@ -1,5 +1,8 @@
rfd.fyi rfd.davegallant.ca {
file_server file_server
reverse_proxy /api/* backend:8080 reverse_proxy /api/* backend:8080
}
rfd.fyi {
redir https://rfd.davegallant.ca{uri} 301
}

View File

@@ -10,7 +10,7 @@ COPY . .
RUN npm run build RUN npm run build
FROM caddy:2.9.1-alpine as runtime FROM caddy:2.10.0-alpine as runtime
WORKDIR /my-site WORKDIR /my-site

View File

@@ -1,11 +1,9 @@
# rfd.fyi # rfd-fyi
This repository provides a simple, less-distracting overlay for hot deals posted on https://forums.redflagdeals.com. This repository provides a simple, less-distracting overlay for hot deals posted on https://forums.redflagdeals.com.
The frontend is made with Vue 3 and the backend is written in Go. The backend exists for caching purposes; to prevent excessive requests to RedFlagDeals itself. The frontend is made with Vue 3 and the backend is written in Go. The backend exists for caching purposes; to prevent excessive requests to RedFlagDeals itself.
It is hosted at [rfd.fyi](https://rfd.fyi).
## Local Development ## Local Development
To get up and running locally: in one pane/tab, run: To get up and running locally: in one pane/tab, run:

View File

@@ -1,4 +1,4 @@
# syntax=docker/dockerfile:1.14 # syntax=docker/dockerfile:1.17
FROM cgr.dev/chainguard/go:latest as build FROM cgr.dev/chainguard/go:latest as build
WORKDIR /src WORKDIR /src

1009
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -10,7 +10,7 @@
"dependencies": { "dependencies": {
"@github/hotkey": "^3.0.0", "@github/hotkey": "^3.0.0",
"@popperjs/core": "^2.11.8", "@popperjs/core": "^2.11.8",
"axios": "^1.6.0", "axios": "^1.11.0",
"bootstrap": "^5.3.1", "bootstrap": "^5.3.1",
"bootstrap-vue": "^2.22.0", "bootstrap-vue": "^2.22.0",
"core-js": "^3.32.1", "core-js": "^3.32.1",
@@ -20,7 +20,7 @@
"vue": "^3.3.4", "vue": "^3.3.4",
"vue-github-button": "^3.0.3", "vue-github-button": "^3.0.3",
"vue-loading-overlay": "^6.0.3", "vue-loading-overlay": "^6.0.3",
"vue-router": "4.5.0" "vue-router": "4.5.1"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.22.10", "@babel/core": "^7.22.10",

View File

@@ -10,7 +10,7 @@
rel="stylesheet" rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200"
/> />
<title>rfd.fyi - An overlay of hot deals</title> <title>rfd-fyi - An overlay of hot deals</title>
<script defer src="https://umami.snake-cloud.ts.net/script.js" data-website-id="59ffe8be-509a-471e-8cd6-a63c5b35b7aa"></script> <script defer src="https://umami.snake-cloud.ts.net/script.js" data-website-id="59ffe8be-509a-471e-8cd6-a63c5b35b7aa"></script>
</head> </head>
<body> <body>

View File

@@ -2,7 +2,6 @@
import axios from "axios"; import axios from "axios";
import moment from "moment"; import moment from "moment";
import Loading from "vue-loading-overlay"; import Loading from "vue-loading-overlay";
import GithubButton from "vue-github-button";
import { install } from "@github/hotkey"; import { install } from "@github/hotkey";
import "vue-loading-overlay/dist/css/index.css"; import "vue-loading-overlay/dist/css/index.css";
@@ -118,10 +117,14 @@ export default {
return v.replace(re, (matchedText) => `<mark>${matchedText}</mark>`); return v.replace(re, (matchedText) => `<mark>${matchedText}</mark>`);
}; };
}, },
showBeforeTargetDate() {
const now = new Date();
const target = new Date('2025-08-20T00:00:00');
return now < target;
}
}, },
components: { components: {
Loading, Loading,
GithubButton,
}, },
}; };
</script> </script>
@@ -206,21 +209,9 @@ export default {
</tr> </tr>
</tbody> </tbody>
</table> </table>
<div v-if="!isMobile()"> <div v-if="showBeforeTargetDate">
<footer class="fixed-bottom"> <footer class="fixed-bottom">
<small PSA: <a href="https://rfd.fyi">rfd.fyi</a> will not be renewed after 2025-08-20. Please use <a href="https://rfd.davegallant.ca">rfd.davegallant.ca</a>.
>Press '/' to begin filtering (i.e.
<a
href="/#/filter=costco"
onclick="setTimeout(location.reload.bind(location), 1)"
>https://rfd.fyi/#/filter=costco</a
>)</small
>
<div class="footer-right">
<github-button href="https://github.com/davegallant/rfd-fyi"
>Star</github-button
>
</div>
</footer> </footer>
</div> </div>
</body> </body>
@@ -234,4 +225,10 @@ export default {
text-align: center; text-align: center;
color: #2c3e50; color: #2c3e50;
} }
.fixed-bottom {
background: #ffc;
color: black;
}
</style> </style>