Installations
npm install callsigns
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
0.10.26
NPM Version
3.8.6
Score
39.8
Supply Chain
85.9
Quality
71.9
Maintenance
50
Vulnerability
99.3
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (59.86%)
HTML (34.9%)
Shell (4.77%)
CSS (0.47%)
Developer
tcort
Download Statistics
Total Downloads
16,889
Last Day
2
Last Week
7
Last Month
45
Last Year
691
GitHub Statistics
1 Stars
115 Commits
1 Forks
2 Watching
1 Branches
1 Contributors
Package Meta Information
Latest Version
2.6.0
Package Id
callsigns@2.6.0
Size
10.53 kB
NPM Version
3.8.6
Node Version
0.10.26
Total Downloads
Cumulative downloads
Total Downloads
16,889
Last day
-75%
2
Compared to previous day
Last week
-36.4%
7
Compared to previous week
Last month
-63.4%
45
Compared to previous month
Last year
-39.4%
691
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
callsigns
This is the code that powers callsigns.ca. It started with the simple desire for a simple mobile friendly way of searching the Canadian Callsign Database and ended with me developing my own website.
Features
- mobile friendly design that also works on the desktop and in the terminal
- bilingual user interface (English and French)
- no advertisements nor any form of monetization (strictly non-commercial)
- no login required to access any part of the site
- no social media buttons to distract you
- no cookies beyond an ephemeral session cookie for language preference
- free and open source code
Requirements
- systemd
- iptables
- nginx
- openssl
- mysql
- wget
- unzip
- node.js
- npm
- letsencrypt
Installation
Grab the source code:
mkdir -p /var/node && cd /var/node
git clone git://github.com/tcort/callsigns.git && cd callsigns
Install the dependencies:
npm install
Configure iptables:
iptables-restore < ./etc/iptables/rules.v4
ip6tables-restore < ./etc/iptables/rules.v6
apt-get install iptables-persistent
Configure:
$EDITOR config.json
Populate the database:
/var/node/callsigns/db/refresh.sh
Add a cron job to refresh the database:
crontab -e
15 1 * * * /var/node/callsigns/db/refresh.sh >/dev/null 2>&1
Configure rsyslog
:
sudo -e /etc/rsyslog.conf
local5.* /var/log/callsigns.log
sudo service rsyslog restart
logger -p local5.info "Test"
Get SSL Certificates:
git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
./letsencrypt-auto --agree-dev-preview --server \
https://acme-v01.api.letsencrypt.org/directory certonly
Generate DHE Parameters:
openssl dhparam -out /etc/ssl/certs/dhparam.pem 4096
Configure nginx:
cp /var/node/callsigns/etc/nginx/sites-available/callsigns.ca /etc/nginx/sites-available/callsigns.ca
$EDITOR /etc/nginx/sites-available/callsigns.ca
systemctl restart nginx
Configure the service:
cp /var/node/callsigns/etc/systemd/system/callsigns.service /etc/systemd/system/callsigns.service
systemctl enable callsigns
systemctl start callsigns
Testing
Once the service is up and running, execute npm test
to perform some end-to-end tests.
License
Code License: see LICENSE.md
Data License: see Terms and Conditions on the Industry Canada website.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE.md:0
- Info: FSF or OSI recognized license: ISC License: LICENSE.md:0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
3
/10
Last Scanned on 2024-12-16
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