2022-04-30 13:57:50 +01:00
|
|
|
# SocialTree
|
|
|
|
|
|
|
|
*A simple way to show your links*
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
This is a very simple static site generator for listing the links for your
|
|
|
|
social media channels.
|
|
|
|
|
|
|
|
## Sounds great but how do I use it?
|
|
|
|
|
|
|
|
It's very simple, follow these steps.
|
|
|
|
1. Install PHP and Node.js
|
|
|
|
2. Download the Project as zip or clone it
|
|
|
|
3. Run `composer install` and `npm install`
|
|
|
|
4. Edit the `config.php` file:
|
|
|
|
- The `author` is the displayed name
|
|
|
|
- The `imageName` should be the file name of the image you are using, the
|
|
|
|
file itself should be placed in `source/assets/images`
|
|
|
|
- The `design` refers to the style of your page the currently available styles are:
|
2022-05-01 17:47:42 +01:00
|
|
|
- [main](examples/images/main.png)
|
2022-05-03 12:41:45 +01:00
|
|
|
- [blurywhite](examples/images/blurywhite.png)
|
2022-04-30 13:57:50 +01:00
|
|
|
- List as much links as you like in the `links` array:
|
|
|
|
- With the `color` property you can give the link the color of the social
|
|
|
|
media plaform of your choice, but this feature is optional, the link will
|
|
|
|
be displayed in the themes color if unset. The currently supported platforms
|
|
|
|
are:
|
2022-05-01 01:14:53 +01:00
|
|
|
- YouTube, Pinterest, Twitter, TikTok, Telegram, Linkedin, Mastodon, Tumblr,
|
|
|
|
Discord, Twitch, Instagram, Flickr, Deviantart, Spotify, Snapchat, Reddit,
|
|
|
|
Soundcloud, VK, Steam
|
2022-04-30 13:57:50 +01:00
|
|
|
- Place the link in the `link` property, this property is needed.
|
|
|
|
- You can give the link a different text if you want with the `text` property.
|
|
|
|
This is also optional.
|
|
|
|
- Set the platform in the `platform` property, this will be displayed if the
|
|
|
|
`name` is unset.
|
|
|
|
5. Compile the page with the command: `npm run prod`
|
|
|
|
6. Copy the `build_production` directory to your webserver.
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2022-04-30 13:58:52 +01:00
|
|
|
# TODO
|
2022-04-30 13:57:50 +01:00
|
|
|
|
|
|
|
- More themes
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
example.jpg by Yaka Bagus from Pexels:
|
|
|
|
|
|
|
|
https://www.pexels.com/photo/woman-in-costume-holding-a-swim-ring-while-standing-on-wooden-dock-9692281/
|