Enables sharing of useful sites.
- Node 11+
- npm
- Install requirements:
npm install --dev
npm install -g @angular/cli
- Enter your sites / categories:
src/assets/data/
- Go to channel Page
- Set screen size to
705x650
from console. - Find
id="channel-header"
and set following properties to element:
padding: 80px;
margin: 160px;
padding-right: 20px;
padding-left: 60px;
- Capture the element from Firefox screenshot capture tool.
- Install:
sudo apt-get install jpegoptim imagemagick
- Convert to jpg:
convert "<filename>.<format>" "<filename>.jpg"
- Compress:
jpegoptim --size=<estimate-goal-size>k *
If you want to host your own version, follow these steps:
- Create a fork of the code.
- Edit JSON in
src/assets/data/
. - Edit application configurations in
src/environments/common.ts
- Install node.js & npm.
- Follow the steps below to deploy.
- Setup :
npm install -g angular-cli-ghpages
- Build (Change URL as per fork) :
ng build --prod --base-href https://atb00ker.github.io/site-search/
- Deploy :
ngh --dir dist/site-search/