index.html 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. <!DOCTYPE html>
  2. <html lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta charset="UTF-8"/>
  5. <meta name="style" content="day1"/>
  6. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  7. <!--
  8. Copyright 2021, 2024 5 Mode
  9. This file is part of Homogram.
  10. Homogram is free software: you can redistribute it and/or modify
  11. it under the terms of the GNU General Public License as published by
  12. the Free Software Foundation, either version 3 of the License, or
  13. (at your option) any later version.
  14. Homogram is distributed in the hope that it will be useful,
  15. but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. GNU General Public License for more details.
  18. You should have received a copy of the GNU General Public License
  19. along with Homogram. If not, see <https://www.gnu.org/licenses/>.
  20. -->
  21. <title>Homogram: every person its pictures..</title>
  22. <link rel="shortcut icon" href="/Public/static/favicon.ico" />
  23. <meta name="description" content="Welcome to Homogram"/>
  24. <meta name="author" content="5 Mode"/>
  25. <meta name="keywords" content="image,photo,sharing,on,premise,solution"/>
  26. <script src="/Public/static/js/jquery-3.6.0.min.js" type="text/javascript"></script>
  27. <script src="/Public/static/js/common.js" type="text/javascript"></script>
  28. <script src="/Public/static/js/bootstrap.min.js" type="text/javascript"></script>
  29. <script src="/Public/static/js/sha.js" type="text/javascript"></script>
  30. <script src="/Public/static/js/home.js" type="text/javascript" defer></script>
  31. <link href="/Public/static/css/bootstrap.min.css" type="text/css" rel="stylesheet">
  32. <link href="/Public/static/css/style.css?v=1631827555" type="text/css" rel="stylesheet">
  33. <script>
  34. function hideTitle() {
  35. $("#myh1").hide("slow");
  36. }
  37. function startApp() {
  38. //$("#HCsplash").hide("slow");
  39. $("#HCsplash").css("display","none");
  40. $(document.body).css("background","#ffffff");
  41. $("#frmHC").show();
  42. }
  43. window.addEventListener("load", function() {
  44. $("#frmHC").hide();
  45. $(document.body).css("background","#000000");
  46. $("#HCsplash").show("slow");
  47. setTimeout("hideTitle()", 2000);
  48. setTimeout("startApp()", 4000);
  49. }, true);
  50. </script>
  51. </head>
  52. <body>
  53. <div id="HCsplash" style="padding-top: 160px; text-align:center;color:#ffffff;display:none;">
  54. <div id="myh1"><H1>Homogram</H1></div><br>
  55. <img src="/Public/static/res/HGlogo2.png" style="width:310px;">
  56. </div>
  57. <form id="frmHC" method="POST" target="_self" enctype="multipart/form-data" style="display:none;">
  58. <div class="header">
  59. <a href="http://homogram.org" target="_self" style="color:#000000; text-decoration: none;"><img src="/Public/static/res/HGlogo2.png" style="width:45px;">&nbsp;Homogram</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/par7133/Homogram" style="color:#000000;"><span style="color:#119fe2">on</span> github</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:info@homogram.org" style="color:#000000;"><span style="color:#119fe2">for</span> feedback</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="tel:+39-331-4029415" style="font-size:13px;background-color:#15c60b;border:2px solid #15c60b;color:#000000;height:27px;text-decoration:none;">&nbsp;&nbsp;get support&nbsp;&nbsp;</a>
  60. </div>
  61. <div style="clear:both; float:left; padding:8px; width:15%; height:650px; text-align:center; border-right:1px solid #2c2f34;">
  62. <div style="padding-left:10px;text-align: left;">
  63. &nbsp;Download<br>
  64. &nbsp;<a href="https://github.com/par7133/Homogram/archive/refs/tags/v1.4.5.zip">Release 1.4.5 (zip)</a><br>
  65. &nbsp;<a href="https://github.com/par7133/Homogram/archive/refs/tags/v1.4.5.tar.gz">Release 1.4.5 (tar.gz)</a><br>
  66. </div>
  67. <br><br>
  68. <img src="/Public/static/res/HGgenius.png" alt="HC Genius" title="HC Genius" style="position:relative; left:+6px; width:90%; border: 1px dashed #EEEEEE;">
  69. &nbsp;<br><br><br>
  70. &nbsp;<input type="text" id="Password" name="Password" placeholder="password" style="font-size:10px; background:#393939; color:#ffffff; width: 90%; height:30px; border-radius:3px;" value="" autocomplete="off"><br>
  71. &nbsp;<input type="text" id="Salt" placeholder="salt" style="position:relative; top:+5px; font-size:10px; background:#393939; color:#ffffff; width: 90%; height:30px; border-radius:3px;" autocomplete="off"><br>
  72. &nbsp;<a href="#" onclick="showEncodedPassword();" style="position:relative; left:-2px; top:+5px; color:#000000; font-size:12px;">Hash Me!</a>
  73. <br><br><br>
  74. </div>
  75. <div style="float:left; width:85%;height:100%; padding:8px;">
  76. <div id="splash" style="border-radius:20px; position:relative; left:+3px; width:98%; background-color: #f0f8fb; padding: 20px; margin-bottom:8px;">
  77. <button type="button" class="close" aria-label="Close" onclick="close-Splash();" style="position:relative; left:-10px;">
  78. <span aria-hidden="true">&times;</span>
  79. </button>
  80. Hello and welcome to Homogram!<br><br>
  81. Homogram is a light and simple software on premise to share your images. And it can be used as a private repository (screenshots, private shots, etc).<br><br>
  82. Homogram is released under GPLv3 license, it is supplied AS-IS and we do not take any responsibility for its misusage.<br><br>
  83. The name *Homogram* comes from a prank on the name 'instagram', in fact differently from the latter Homogram gives priorities to homines. However Homogram doesn't birth as a replacement but just like its alter ego.<br><br>
  84. First step, use the left side panel password and salt fields to create the hash to insert in the config file. Remember to manually set there also the salt value.<br><br>
  85. As you are going to run Homogram in the PHP process context, using a limited web server or phpfpm user, you must follow some simple directives for an optimal first setup:<br>
  86. <ol>
  87. <li>Check the write permissions of your "HGRepo" folder in your web app public path; and set its path in the config file.</li>
  88. <li>Check the write permissions of your "data" folder in your web app private path; and set its path in the config file.</li>
  89. <li>Set the default Locale.</li>
  90. <li>Set the default Context to PUBLIC or PRIVATE (for a private repository).</li>
  91. <li>Every picture folder may contain a "thumbs" subfolder - that you should create - to not lack in performance: file names in thumbs must be same of file names in parent folders.</li>
  92. </ol>
  93. <br>
  94. Hope you can enjoy it and let us know about any feedback: <a href="mailto:info@homogram.org">info@homogram.org</a>
  95. <br><br><br><br><br>
  96. </div>
  97. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  98. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  99. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  100. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  101. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  102. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  103. </div>
  104. <div class="footer">
  105. <div id="footerCont">&nbsp;</div>
  106. <div id="footer"><span style="background:#E1E1E1;color:black;opacity:1.0;margin-right:10px;">&nbsp;&nbsp;<a href="dd.html">Disclaimer</a>&nbsp;&nbsp;A <a href="http://5mode.com">5 Mode</a> project and <a href="http://demo.5mode.com">WYSIWYG</a> system. Some rights reserved.</span></div>
  107. </div>
  108. </form>
  109. <script>
  110. function setFooterPos2() {
  111. if (document.getElementById("footerCont")) {
  112. //if ($("#Password").val() === "") {
  113. // tollerance = 48;
  114. // } else {
  115. // tollerance = 15;
  116. //}
  117. tollerance = 22;
  118. $("#footerCont").css("top", parseInt( window.innerHeight - $("#footerCont").height() - tollerance ) + "px");
  119. $("#footer").css("top", parseInt( window.innerHeight - $("#footer").height() - tollerance + 6) + "px");
  120. }
  121. }
  122. window.addEventListener("load", function() {
  123. setTimeout("setFooterPos2()", 4000);
  124. }, true);
  125. </script>
  126. <!-- Yandex.Metrika counter -->
  127. <script type="text/javascript" >
  128. (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
  129. m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
  130. (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
  131. ym(86081534, "init", {
  132. clickmap:true,
  133. trackLinks:true,
  134. accurateTrackBounce:true
  135. });
  136. </script>
  137. <noscript><div><img src="https://mc.yandex.ru/watch/86081534" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
  138. <!-- /Yandex.Metrika counter -->
  139. </body>
  140. </html>