
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
The easy open source way to privately host your code coverage.
CVR View is an Express application for hosting your code coverage results. If you'd like to host your coverage internally, or without paying for monthly services, CVR View might be for you.
To get started, using the seed project is recommended to make your future updating as simple as a new npm install
.
Configuration requires some setup and copying of related details into environment variables on the machine hosting Node.js:
The required configuration information is for GitHub OAuth and the MongoDB connection string. This info can be specified in either a .env
file in the project root, or via environment variables. A .env-sample
file is included that you can fill out and rename as .env
.
If required variables are missing a crash will occur.
GITHUB_CLIENTID
GitHub OAuth Client IDGITHUB_CLIENTSECRET
GitHub OAuth Client SecretGITHUB_CALLBACKURL
GitHub OAuth Callback URLDB_CONN
MongoDB Connection StringHOST
The host the server will run onGITHUB_ORGS_WHITELIST
Optional array of allowed GitHub orgs. If empty or omitted, all orgs are allowed.MAX_REPO_COMMIT_HISTORY
By default only the last 20 commits per repo are saved to conserve storage space.A GitHub application must be created through GitHub.com to give access to repos in your organization. It is not recommended to make the application on this page https://github.com/settings/applications/new but if you select the relevant organization from the bottom left of the page and then select Applications on the left, you can make the application under the organization's account.
cvr
will do.https://cvr.domain.com
./auth/github/callback
, so with our example that would be https://cvr.domain.io/auth/github/callback
. This is the same URL to use for the environment variable GITHUB_CALLBACKURL
If you are not familiar with hosting MongoDB, using a service like MongoLab is recommended. Once you create an instance and user, grab the connection string, which is a URL, and assign it to the DB_CONN
environment variable. This URL starts with mongodb://
.
Running the service with something like Forever that provides automatic restarts is recommended. For example:
npm install
npm install forever -g
forever start bin/www
The application will need to be hosted under a domain that matches the one you entered when creating the GitHub application. This needs to be configured at the DNS level, generally as a CNAME.
FAQs
**The easy open source way to privately host your code coverage.**
The npm package cvr-view receives a total of 0 weekly downloads. As such, cvr-view popularity was classified as not popular.
We found that cvr-view demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.