No description
This repository has been archived on 2025-08-02. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • TypeScript 63.5%
  • Astro 25.6%
  • CSS 9.5%
  • JavaScript 1.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Renovate Bot b54f0edb07 Update all patch dependencies (#422)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz>
Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz>
2025-08-02 04:04:06 +00:00
.vscode initial commit for astro watch-watch 2023-02-04 11:55:12 -05:00
.woodpecker Switch to woodpecker (#378) 2025-05-10 22:29:42 +00:00
public Fix 1 hour off error due to dst (#2) 2023-02-05 16:09:38 -05:00
src Update all patch dependencies (#311) 2025-01-11 09:18:58 -05:00
.browserslistrc Add stylelint support (#3) 2023-02-05 16:27:55 -05:00
.gitignore add inline react images (#16) 2023-02-07 09:37:27 -05:00
.prettierrc.json Update dependency eslint to v9 (#134) 2024-04-09 13:41:51 +00:00
.stylelintrc.json Update dependency stylelint-no-unsupported-browser-features to v8 (#80) 2024-01-07 11:43:11 -05:00
astro.config.mjs Update dependency eslint to v9 (#134) 2024-04-09 13:41:51 +00:00
eslint.config.js Update dependency eslint to v9 (#134) 2024-04-09 13:41:51 +00:00
package-lock.json Update all patch dependencies (#422) 2025-08-02 04:04:06 +00:00
package.json Update all patch dependencies (#422) 2025-08-02 04:04:06 +00:00
README.md Update dependency prettier to v3.6.0 (#398) 2025-06-23 15:06:10 +00:00
renovate.json Update renovate.json (#30) 2023-10-18 11:21:47 -04:00
tsconfig.json Update non-major devDependencies (#93) 2024-02-04 16:15:21 +00:00

Watch watch-mints

Fun little app for displaying a historical discord record.

Uses mongodb to store discord history, and requires the environment variables:

MONGODB_URI=""
DB_NAME=""
DB_USER=""
DB_PASSWORD=""

Steps for future me

  1. Fetch discord post using fetch-discord

  2. Upload posts to a mongodb. Mongo Atlas is free (right now, might not be next time).

    • You'll need to upload with mongo-tools in the format mongoimport --uri mongodb+srv://<USERNAME>:<PASSWORD>@<CLUSTER_NAME>/<DATABASE> --collection <COLLECTION> --type json --file <FILENAME> --jsonArray
  3. Update the timestamp field to a datetime type: db.posts.updateMany({}, [{ "$set": { "timestamp": { "$toDate": "$timestamp" } }}]);

  4. Update env varibles to point to the db, and run the project!