Socket
Book a DemoInstallSign in
Socket

@mikestreety/data-collector

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mikestreety/data-collector

Own your own data

0.2.0
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Data Collector

Built with https://oclif.io/

Installation

npm i @mikestreety/data-collector

You can then access it with the following:

./node_modules/.bin/datacollector

In your package.json, you can add specific commands or a shortcut to the main command

"scripts": {
  "datacollector": "datacollector"
},

With this set, you can pass in your commands to a slightly shorter (and more memorable) command:

npm run datacollector -- letterboxd letterboxd.json -u mikestreety

Global

You can install it globally if you wish

npm i -g @mikestreety/data-collector

Which would allow you to run datacollector in your terminal

Services

Webmentions

datacollector webmentions webmentions.json --domain www.mikestreety.co.uk --token 123456

Code adapted from Max Böck's 11ty Webmentions repo

RSS

Any RSS feed provided (or searches for RSS) of a given domain

  • -f, --feed - the RSS feed
  • -d, --domain - the domain to search for the RSS feeds
datacollector letterboxd rss.json -f https://www.mikestreety.co.uk/rss-notes.xml

or

datacollector letterboxd rss.json -d www.mikestreety.co.uk

Letterboxd

Get the films for a user from letterboxd

  • -u, --username - the Letterboxd username
datacollector letterboxd letterboxd.json -u mikestreety

Roadmap

  • Allow .env files
  • Create oAuth workflow
  • Add Strava

Releasing

Once ready to release, run the following

  • npm version (major|minor|patch)
  • npm publish

Keywords

oclif

FAQs

Package last updated on 26 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.