Installation
Requirements
Installation
git clone https://github.com/multilinkhq/multil.ink.git
cd multil.ink
npm ci
node . # or: pm2 start npm --name "multilink" -- start
Documentation
Mapping Font Awesome Icons to URLs
- Find the icon you want to use on Font Awesome.
- Add the class in
./src/public/js/profile.js
tofaBrandsList
. - Add the domain you want it to match to in
./src/public/js/profile.js
tofaBrandDomainList
.
Adding Fonts
- Find the font you want to use on google-webfonts-helper.
- Change the
Customize folder prefix
to../webfonts/
. - Place the font files in
./src/public/webfonts/
. - Add the font CSS to
./src/public/css/font-*.css
.
Changing Custom Theme CSS
- Look in
./src/routes/edit.js
->app.post('/')
->advancedTheme
.
Adding Default Themes
- Using
theme-dark.css
as a base, create a new CSS file in./src/public/css/
with the nametheme-yourname.css
(all lowercase).
Note: The theme name will have it's first letter capitalized and the rest of the name will be lowercased. (For example, if your theme file is called theme-bloodmoon.css
, the theme name will be Bloodmoon
.)
Adding new Featured Content Embeds
- Add URL to
./src/app.js
->supportedFeaturedContentUrls
. - Add embed code to
./src/public/js/profile.js
->featuredContentEmbeds
.