Skip to content

Commit

Permalink
misc random things
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspermayone committed Jul 17, 2024
1 parent 96a0daf commit 27d8adb
Show file tree
Hide file tree
Showing 3 changed files with 156 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@prisma/client": "5.16.1",
"axios": "^1.7.2",
"colors": "^1.4.0",
"cron": "^3.1.7",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"express-jsdoc-swagger": "^1.8.0",
Expand Down
151 changes: 151 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ app.use(logRequest);

app.use("/", router);

// todo: @cron to run every 12 hours to pull a feed from https://openphish.com/phishing_feeds.html
// todo: implement urlhaus - https://urlhaus-api.abuse.ch/
// todo: implement urlscan - https://urlscan.io/docs/api/#integrations w/ verdicts (see temp js script)

app.listen(port, () => {
logger.info(`Server is running on port ${port}`);
});

0 comments on commit 27d8adb

Please sign in to comment.