HomeLinks is a simple web application that allows you to manage and access your favorite links.
Before you begin, ensure you have the following dependencies installed:
Follow these steps to build and run the HomeLinks web application:
git clone https://github.com/bariiss/homelinks.git
cd homelinks
You can customize the links displayed in the application by creating a homelinks.json file. Here's an example structure:
[
{
"Name": "google",
"Text": "Google",
"URL": "https://www.google.com",
"Color": "#4285F4",
"TextColor": "white",
"AltText": "Search with Google"
},
{
"Name": "facebook",
"Text": "Facebook",
"URL": "https://www.facebook.com",
"Color": "#F48042",
"TextColor": "black",
"AltText": "Connect with Facebook"
},
{
"Name": "twitter",
"Text": "Twitter",
"URL": "https://www.twitter.com",
"Color": "#F44242",
"TextColor": "white",
"AltText": "Tweet with Twitter"
}
]
Place this file in the project root directory.
# Build the Docker image
make docker-build
# Run the application interactively (for debugging)
make docker-run-tty
# Run the application as a daemon
make docker-run-daemon
The application will be accessible at http://localhost:8080.
Open a web browser and navigate to http://localhost:8080 to access the HomeLinks web application.
You can customize the links and the application's appearance by modifying the homelinks.json file and the template files in the templates directory.
If you encounter any issues, you can stop the Docker container using the following command:
make docker-stop
To remove the Docker image, use the following command:
make docker-image-rm
This project is licensed under the MIT License - see the LICENSE file for details.