Gathering detailed insights and metrics for smc-hub
Gathering detailed insights and metrics for smc-hub
Gathering detailed insights and metrics for smc-hub
Gathering detailed insights and metrics for smc-hub
npm install smc-hub
Typescript
Module System
Node Version
NPM Version
TypeScript (88.63%)
Python (4.02%)
CoffeeScript (3.7%)
JavaScript (2.58%)
Sass (0.32%)
CSS (0.23%)
HTML (0.17%)
Shell (0.17%)
Jupyter Notebook (0.08%)
Stylus (0.04%)
Sage (0.03%)
TeX (0.02%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
1,221 Stars
44,330 Commits
224 Forks
49 Watchers
2,045 Branches
50 Contributors
Updated on Jul 14, 2025
Latest Version
1.10.1
Package Id
smc-hub@1.10.1
Size
1.32 MB
NPM Version
7.19.1
Node Version
14.17.3
Published on
Aug 02, 2021
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
79
This code is part of https://github.com/sagemathinc/cocalc and isn't currently designed to be used standalone. Our plan is to refactor this code into smaller useful modules that are published under the @cocalc npm organization.
This is a node.js process that serves all of the following (possibly simultaneously):
Run the dev server, suitable for use inside a CoCalc project:
1npm run hub-project-dev
Just set either the BASE_PATH or PORT environment variables when starting thehub, and it will use what you set. If you do not set a BASE_PATH it uses either"/" by default, or something involving the project id if you're inside a CoCalcproject.
If you don't set the PORT then 5000 is used by default. The only way to set the port is via the PORT environment variable.
You can use the --hostname
command line options if you are starting the hub directly via the cocalc-hub-server
script and need to specify a different interface (e.g., 0.0.0.0 instead of localhost).
As a quick test, you can do
1openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ./selfsigned.key -out selfsigned.crt
to create self-signed key and cert. You can then start the hub with these two files as options:
1cd smc-hub; npx cocalc-hub-server ... --https-key=./selfsigned.key --https-cert=./selfsigned.crt
and the hub will use https instead of http. Simple as that.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
30 commit(s) and 12 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
Found 1/28 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
11 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More