Skip to content
This repository has been archived by the owner on Sep 23, 2019. It is now read-only.

a node js app that scans all markdown documents in a repository under a specific path, then grabs its title and inserts into PostgresQL database

License

adobe/helix-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

helix-scanner

a node js app that scans all markdown documents in a repository under a specific path, then grabs its title and inserts into PostgresQL database

No Longer Maintained

Please note this project is no longer maintained and is now in an Archived (read-only) state.

start the app

node app.js -- owner github/repo/ownder/name --repo github/repo/name --path github/path/name

the repo owner defaults to adobe, repo name defaults to helix-home, and path defaults to '' which is root

some useful links

github apis: https://developer.github.com/v3/repos/#list-organization-repositories

github nodejs apis: https://github.com/octokit/rest.js

install azure cli: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest

create azure container with postgreSQL: https://docs.hasura.io/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html

connect nodejs app to postgreSQL database: https://docs.microsoft.com/en-us/azure/postgresql/connect-nodejs

online regex expression (can customize flags too): https://regex101.com/

About

a node js app that scans all markdown documents in a repository under a specific path, then grabs its title and inserts into PostgresQL database

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published