2024-03-09 19:58:53 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Haxxnet Compose Viewer</title>
|
|
|
|
<!-- Bootstrap CSS -->
|
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" integrity="sha512-t4GWSVZO1eC8BM339Xd7Uphw5s17a86tIZIj8qRxhnKub6WoyhnrxeCIMeAqBPgdZGlCcG2PrZjMc+Wr78+5Xg==" crossorigin="anonymous">
|
|
|
|
<!-- Dark Mode CSS -->
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
background-color: #333;
|
|
|
|
color: #fff;
|
|
|
|
min-height: 100vh;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.project-tile {
|
|
|
|
border: 1px solid #555;
|
|
|
|
border-radius: 10px;
|
|
|
|
padding: 10px;
|
|
|
|
margin: 10px;
|
|
|
|
text-align: center;
|
|
|
|
background-color: #444;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.project-tile img {
|
|
|
|
max-width: 50px;
|
|
|
|
max-height: 50px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchBar {
|
|
|
|
width: 310px;
|
|
|
|
margin: 10px auto;
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 5px;
|
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
color: #fff;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
#repoContent .project-tile {
|
|
|
|
width: 20%; /* Set width to 20% for 5 tiles in a row by default */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Responsive adjustment for small screens */
|
|
|
|
@media (max-width: 576px) {
|
|
|
|
#repoContent .project-tile {
|
|
|
|
width: 40%; /* Set width to 45% for 2 tiles in a row on small screens */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body class="container mt-5">
|
|
|
|
<div class="container">
|
|
|
|
<a target="_blank" href="https://github.com/Haxxnet/Compose-Examples" class="d-flex justify-content-center">
|
|
|
|
<img width="80px" src="https://avatars.githubusercontent.com/u/98923398?s=200&v=4" alt="Haxxnet Avatar">
|
|
|
|
</a><br>
|
|
|
|
<div align="center" width="100%">
|
|
|
|
<h1>Awesome Docker Compose Examples</h1>
|
|
|
|
<p>Various Docker Compose examples of selfhosted FOSS and proprietary projects.</p>
|
|
|
|
<img src="https://img.shields.io/github/stars/Haxxnet/Compose-Examples.svg?style=social&label=Star" /> |
|
|
|
|
<img src="https://img.shields.io/github/forks/Haxxnet/Compose-Examples.svg?style=social&label=Fork" /> |
|
|
|
|
<img src="https://img.shields.io/github/watchers/Haxxnet/Compose-Examples.svg?style=social&label=Watch" /><p>
|
|
|
|
<img src="https://img.shields.io/github/directory-file-count/Haxxnet/Compose-Examples/examples?label=Compose%20Examples&style=for-the-badge.svg&color=blue" />
|
|
|
|
<img src="https://img.shields.io/badge/maintainer-LRVT-red" /><p>
|
2024-03-09 23:23:49 +00:00
|
|
|
</div>
|
|
|
|
<div class="text-center mt-3">
|
|
|
|
<button class="btn btn-primary" onclick="randomProject()">Random Project</button>
|
|
|
|
<button class="btn btn-danger" onclick="clearAndReload()">Clear Search</button>
|
2024-03-09 19:58:53 +00:00
|
|
|
</div>
|
|
|
|
<div id="searchBar" class="text-center">
|
|
|
|
<input type="text" id="searchInput" class="form-control" placeholder="Search by project name...">
|
|
|
|
</div>
|
|
|
|
<div id="repoContent" class="row justify-content-center"></div>
|
2024-03-09 23:23:49 +00:00
|
|
|
|
2024-03-09 19:58:53 +00:00
|
|
|
</div>
|
|
|
|
<!-- jQuery and Bootstrap JS -->
|
|
|
|
<script src="https://code.jquery.com/jquery-3.6.4.min.js" integrity="sha512-pumBsjNRGGqkPzKHndZMaAG+bir374sORyzM3uulLV14lN5LyykqNk8eEeUlUkB3U0M4FApyaHraT65ihJhDpQ==" crossorigin="anonymous"></script>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha512-VK2zcvntEufaimc+efOYi622VN5ZacdnufnmX7zIhCPmjhKnOi9ZDMtg1/ug5l183f19gG1/cBstPO4D8N/Img==" crossorigin="anonymous"></script>
|
|
|
|
<!-- Custom JavaScript -->
|
|
|
|
<script>
|
|
|
|
var apiUrl = 'https://api.github.com/repos/Haxxnet/Compose-Examples/contents/examples';
|
2024-03-09 23:23:49 +00:00
|
|
|
var data; // Define the data variable globally
|
|
|
|
|
|
|
|
function clearAndReload() {
|
|
|
|
// Clear the search input field
|
|
|
|
document.getElementById('searchInput').value = '';
|
|
|
|
|
|
|
|
// Reload all tiles (assuming loadProjects() is your initial load function)
|
|
|
|
loadProjects();
|
|
|
|
}
|
2024-03-09 19:58:53 +00:00
|
|
|
|
|
|
|
function loadProjects() {
|
2024-03-09 23:23:49 +00:00
|
|
|
$.get(apiUrl, function (response) {
|
|
|
|
data = response; // Assign the response to the global data variable
|
2024-03-09 19:58:53 +00:00
|
|
|
data.forEach(function (project) {
|
|
|
|
if (project.type === 'dir') {
|
|
|
|
var projectTile = $('<div class="col-md-2 project-tile">' +
|
|
|
|
'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA5YAAAIKCAYAAABY2NDyAABAAElEQVR4Aey9B5gcx3nn/XZP2oxFzhkEQYKkCEYADIJEihRFAAzAKtmSZVkny9L57nz6nM5+7nj22Xc6W06fP/uR/Mh3cpQEkpJISlSyCIkBoEhQTGAESZDIGRsnd3//t3ryzu5Oz8zuzuz+i1zMTM9b6Vc13f3vqnpLhIEESIAESIAESIAESIA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4KXLa2nPR9SsL+dlDAyJpeIAtqW82Kl9JgARIgARIwC8BCku/xGhPAiRAAiQwtQhAXAUHz0tk34/FTkYhLgMQYioQLUksXSuJZRdCtMVNnV0Iysgbz0vo6FseA8TVLTpU6MUuvFLSLR0Qbp64dCBUW19+UsJH34QQbTX2lpM2AnLoXTciD08suiE4zhk4L63P/VQCEJxuAELUBEfSXXMkfsEGHNMyQdQineDZ49Ly5PdMvqassLXcNDzeLpf40gshUvO2oVNHpHX/E/n8YeeEWiW27ipJd3ZznWmGNF9IgARIgARqJ0BhWTtDpkACJEACJNDMBDAaafWfk87H7pdg71mM8kHY6WgehGXfTR+R2NrLJZAVlhgBjLz5PGwf8GoMEafbmKTmLpY4BKi0dSFuRli2hiHq9kjnEw9JesZsY28lEpKas1CMsDRDjhCLGIG0B/ulc+93JHTkDXExcmkCRjzjKy+R+OrL4KUVl2sjLFskcO6kdO3+hhmdVFGqwUomZeCa90liyRpxrJARmm6kVQJnjkr3d76Szx92qRmzIJgvkNTMeRSWhh7/IQESIAESqAcBCst6UGQaJEACJEACzU0Ag4c6RRTqzQg4895MNfVGFUsrZ8HOfKNxVPAZg5K5qXrMMzI2Xhqw9Yy9j9l/LXirxXuTbtbAvJYzLi5rNt1MIbIp4jUbF6/ZNHEsX7cCU74lARIgARIggRoJUFjWCJDRSYAESIAEpgABTGl1sc4x+2dqpOsPs2srC6uIY8ZOj2Ftpq6PNK+FNtn3dsZWbTToGkydqjosIH9d55kpg/nagq2mXxoyZdV81d4EFY7Ia1goqFfWzotTRgQPi8wDJEACJEACJFA5gTJXocoj05IESIAESIAESIAESIAESIAESIAEKCzZB0iABEiABEiABEiABEiABEiABGoiQGFZEz5GJgESIAESIAESIAESIAESIAESoLBkHyABEiABEiABEiABEiABEiABEqiJAIVlTfgYmQRIgARIgARIgARIgARIgARIgMKSfYAESIAESIAESIAESIAESIAESKAmAhSWNeFjZBIgARIgARIgARIgARIgARIgAQpL9gESIAESIAESIAESIAESIAESIIGaCFBY1oSPkUmABEiABEiABEiABEiABEiABCgs2QdIgARIgARIgARIgARIgARIgARqIkBhWRM+RiYBEiABEiABEiABEiABEiABEqCwZB8gARIgARIgARIgARIgARIgARKoiQCFZU34GJkESIAESIAESIAESIAESIAESIDCkn2ABEiABEiABEiABEiABEiABEigJgIUljXhY2QSIAESIAESIAESIAESIAESIAEKS/YBEiABEiABEiABEiABEiABEiCBmghQWNaEj5FJgARIgARIgARIgARIgARIgAQoLNkHSIAESIAESIAESIAESIAESIAEaiJAYVkTPkYmARIgARIgARIgARIgARIgARKgsGQfIAESIAESIAESIAESIAESIAESqIkAhWVN+BiZBEiABEiABEiABEiABEiABEiAwpJ9gARIgARIgARIgARIgARIgARIoCYCFJY14WNkEiABEiABEiABEiABEiABEiABCkv2ARIgARIgARIgARIgARIgARIggZoIUFjWhI+RSYAESIAESIAESIAESIAESIAEKCzZB0iABEiABEiABEiABEiABEiABGoiQGFZEz5GJgESIAESIAESIAESIAESIAESoLBkHyABEiABEiABEiABEiABEiABEqiJAIVlTfgYmQRIgARIgARIgARIgARIgARIgMKSfYAESIAESIAESIAESIAESIAESKAmAhSWNeFjZBIgARIgARIgARIgARIgARIgAQpL9gESIAESIAESIAESIAESIAESIIGaCFBY1oSPkUmABEiABEiABEiABEiABEiABCgs2QdIgARIgARIgARIgARIgARIgARqIkBhWRM+RiYBEiABEiABEiABEiABEiABEqCwZB8gARIgARIgARIgARIgARIgARKoiQCFZU34GJkESIAESIAESIAESIAESIAESIDCkn2ABEiABEiABEiABEiABEiABEigJgIUljXhY2QSIAESIAESIAESIAESIAESIAEKS/YBEiABEiABEiABEiABEiABEiCBmghQWNaEj5FJgARIgARIgARIgARIgARIgAQoLNkHSIAESIAESIAESIAESIAESIAEaiJAYVkTPkYmARIgARIgARIgARIgARIgARKgsGQfIAESIAESIAESIAESIAESIAESqIkAhWVN+BiZBEiABEiABEiABEiABEiABEiAwpJ9gARIgARIgARIgARIgARIgARIoCYCFJY14WNkEiABEiABEiABEiABEiABEiABCkv2ARIgARIgARIgARIgARIgARIggZoIUFjWhI+RSYAESIAESIAESIAESIAESIAEKCzZB0iABEiABEiABEiABEiABEiABGoiQGFZEz5GJgESIAESIAESIAESIAESIAESoLBkHyABEiABEiABEiABEiABEiABEqiJAIVlTfgYmQRIgARIgARIgARIgARIgARIgMKSfYAESIAESIAESIAESIAESIAESKAmAsGaYjMyCZAACZAACUwFAum0BAbOS6DvrLihsFjppIhliZWI4bWggnosHpVAP+z0sB00n93WDhHHKTDU7/B/bF
|
|
|
|
'<h5>' + project.name + '</h5>' +
|
2024-03-09 23:23:49 +00:00
|
|
|
'</div>');
|
2024-03-09 19:58:53 +00:00
|
|
|
projectTile.on('click', function () {
|
|
|
|
window.open(project.html_url, '_blank');
|
|
|
|
});
|
|
|
|
$('#repoContent').append(projectTile);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
// Initial load
|
|
|
|
loadProjects();
|
|
|
|
|
|
|
|
// Search functionality
|
|
|
|
$('#searchInput').on('input', function () {
|
|
|
|
var searchTerm = $(this).val().toLowerCase();
|
|
|
|
// Clear existing content
|
|
|
|
$('#repoContent').empty();
|
|
|
|
// Reload projects based on the search term
|
2024-03-09 23:23:49 +00:00
|
|
|
data.forEach(function (project) {
|
|
|
|
if (project.type === 'dir' && project.name.toLowerCase().includes(searchTerm)) {
|
|
|
|
var projectTile = $('<div class="col-md-2 project-tile">' +
|
|
|
|
'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA5YAAAIKCAYAAABY2NDyAABAAElEQVR4Aey9B5gcx3nn/XZP2oxFzhkEQYKkCEYADIJEihRFAAzAKtmSZVkny9L57nz6nM5+7nj22Xc6W06fP/uR/Mh3cpQEkpJISlSyCIkBoEhQTGAESZDIGRsnd3//t3ryzu5Oz8zuzuz+i1zMTM9b6Vc13f3vqnpLhIEESIAESIAESIAESIAESIAESIAEaiBg1RCXUUmABEiABEhgUghcdsvH2tvD0Y1iSat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Cku/xGhPAiRAAiQwtQhAXAUHz0tk34/FTkYhLgMQYioQLUksXSuJZRdCtMVNnV0Iysgbz0vo6FseA8TVLTpU6MUuvFLSLR0Qbp64dCBUW19+UsJH34QQbTX2lpM2AnLoXTciD08suiE4zhk4L63P/VQCEJxuAELUBEfSXXMkfsEGHNMyQdQineDZ49Ly5PdMvqassLXcNDzeLpf40gshUvO2oVNHpHX/E/n8YeeEWiW27ipJd3ZznWmGNF9IgARIgARqJ0BhWTtDpkACJEACJNDMBDAaafWfk87H7pdg71mM8kHY6WgehGXfTR+R2NrLJZAVlhgBjLz5PGwf8GoMEafbmKTmLpY4BKi0dSFuRli2hiHq9kjnEw9JesZsY28lEpKas1CMsDRDjhCLGIG0B/ulc+93JHTkDXExcmkCRjzjKy+R+OrL4KUVl2sjLFskcO6kdO3+hhmdVFGqwUomZeCa90liyRpxrJARmm6kVQJnjkr3d76Szx92qRmzIJgvkNTMeRSWhh7/IQESIAESqAcBCst6UGQaJEACJEACzU0Ag4c6RRTqzQg4895MNfVGFUsrZ8HOfKNxVPAZg5K5qXrMMzI2Xhqw9Yy9j9l/LXirxXuTbtbAvJYzLi5rNt1MIbIp4jUbF6/ZNHEsX7cCU74lARIgARIggRoJUFjWCJDRSYAESIAEpgABTGl1sc4x+2dqpOsPs2srC6uIY8ZOj2Ftpq6PNK+FNtn3dsZWbTToGkydqjosIH9d55kpg/nagq2mXxoyZdV81d4EFY7Ia1goqFfWzotTRgQPi8wDJEACJEACJFA5gTJXocoj05IESIAESIAESIAESIAESIAESIAEKCzZB0iABEiABEiABEiABEiABEiABGoiQGFZEz5GJgESIAESIAESIAESIAESIAESoLBkHyABEiABEiABEiABEiABEiABEqiJAIVlTfgYmQRIgARIgARIgARIgARIgARIgMKSfYAESIAESIAESIAESIAESIAESKAmAhSWNeFjZBIgARIgARIgARIgARIgARIgAQpL9gESIAESIAESIAESIAESIAESIIGaCFBY1oSPkUmABEiABEiABEiABEiABEiABCgs2QdIgARIgARIgARIgARIgARIgARqIkBhWRM+RiYBEiABEiABEiABEiABEiABEqCwZB8gARIgARIgARIgARIgARIgARKoiQCFZU34GJkESIAESIAESIAESIAESIAESIDCkn2ABEiABEiABEiABEiABEiABEigJgIUljXhY2QSIAESIAESIAESIAESIAESIAEKS/YBEiABEiABEiABEiABEiABEiCBmghQWNaEj5FJgARIgARIgARIgARIgARIgAQoLNkHSIAESIAESIAESIAESIAESIAEaiJAYVkTPkYmARIgARIgARIgARIgARIgARKgsGQfIAESIAESIAESIAESIAESIAESqIkAhWVN+BiZBEiABEiABEiABEiABEiABEiAwpJ9gARIgARIgARIgARIgARIgARIoCYCFJY14WNkEiABEiABEiABEiABEiABEiABCkv2ARIgARIgARIgARIgARIgARIggZoIUFjWhI+RSYAESIAESIAESIAESIAESIAEKCzZB0iABEiABEiABEiABEiABEiABGoiQGFZEz5GJgESIAESIAESIAESIAESIAESoLBkHyABEiABEiABEiABEiABEiABEqiJAIVlTfgYmQRIgARIgARIgARIgARIgARIgMKSfYAESIAESIAESIAESIAESIAESKAmAhSWNeFjZBIgARIgARIgARIgARIgARIgAQpL9gESIAESIAESIAESIAESIAESIIGaCFBY1oSPkUmABEiABEiABEiABEiABEiABCgs2QdIgARIgARIgARIgARIgARIgARqIkBhWRM+RiYBEiABEiABEiABEiABEiABEqCwZB8gARIgARIgARIgARIgARIgARKoiQCFZU34GJkESIAESIAESIAESIAESIAESIDCkn2ABEiABEiABEiABEiABEiABEigJgIUljXhY2QSIAESIAESIAESIAESIAESIAEKS/YBEiABEiABEiABEiABEiABEiCBmghQWNaEj5FJgARIgARIgARIgARIgARIgAQoLNkHSIAESIAESIAESIAESIAESIAEaiJAYVkTPkYmARIgARIgARIgARIgARIgARKgsGQfIAESIAESIAESIAESIAESIAESqIkAhWVN+BiZBEiABEiABEiABEiABEiABEiAwpJ9gARIgARIgARIgARIgARIgARIoCYCFJY14WNkEiABEiABEiABEiABEiABEiABCkv2ARIgARIgARIgARIgARIgARIggZoIUFjWhI+RSYAESIAESIAESIAESIAESIAEKCzZB0iABEiABEiABEiABEiABEiABGoiQGFZEz5GJgESIAESIAESIAESIAESIAESoLBkHyABEiABEiABEiABEiABEiABEqiJAIVlTfgYmQRIgARIgARIgARIgARIgARIgMKSfYAESIAESIAESIAESIAESIAESKAmAsGaYjMyCZAACZAACUwFAum0BAbOS6DvrLihsFjppIhliZWI4bWggnosHpVAP+z0sB00n93WDhHHKTDU7/B/bFACvW
|
|
|
|
'<h5>' + project.name + '</h5>' +
|
2024-03-09 19:58:53 +00:00
|
|
|
'</div>');
|
2024-03-09 23:23:49 +00:00
|
|
|
projectTile.on('click', function () {
|
|
|
|
window.open(project.html_url, '_blank');
|
|
|
|
});
|
|
|
|
$('#repoContent').append(projectTile);
|
|
|
|
}
|
2024-03-09 19:58:53 +00:00
|
|
|
});
|
|
|
|
});
|
2024-03-09 23:23:49 +00:00
|
|
|
|
|
|
|
// Function to select a random project name and fill the search input
|
|
|
|
function randomProject() {
|
|
|
|
// Get a random project index
|
|
|
|
var randomIndex = Math.floor(Math.random() * data.length);
|
|
|
|
var randomProject = data[randomIndex];
|
|
|
|
|
|
|
|
// Fill the search input with the random project name
|
|
|
|
$('#searchInput').val(randomProject.name);
|
|
|
|
|
|
|
|
// Trigger the input event to initiate the search
|
|
|
|
$('#searchInput').trigger('input');
|
|
|
|
}
|
2024-03-09 19:58:53 +00:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|