First release.

master
severak 2020-05-15 14:34:44 +02:00
parent 4bf92d552b
commit f7e14957ae
2 changed files with 10 additions and 3 deletions

View File

@ -1,7 +1,13 @@
# gallery # gallery
gallery of tilde.town user pages gallery of tilde.town user pages. See it live at https://tilde.town/~severak/gallery/
I really like https://neocities.org/browse. I was thinking to create something similar for tilde.town. I really like https://neocities.org/browse. I was thinking to create something similar for tilde.town.
Idea is: run (something like) `capture-website --scale-factor 0.5 http://tilde.town/~severak/ --output severak.png` for each town user to capture their home page. Automate it somehow to be able to run it from cron. Idea is: run (something like) `capture-website --scale-factor 0.5 http://tilde.town/~severak/ --output severak.png` for each town user to capture their home page. Automate it somehow to be able to run it from cron.
Currently it's implemented by two files:
- `generate.php` which download list of users from tilde.town and generates `index.html` and
- `download.bat` which creates all the thumbnails

View File

@ -21,6 +21,7 @@ $gallery[] = <<<HTML
<p>by <a href="https://tilde.town/~severak">Severák</a></p> <p>by <a href="https://tilde.town/~severak">Severák</a></p>
<p>I really like <a href="https://neocities.org/browse">Neocities browse page</a>. I was wondering how would it look for tilde.town.</p> <p>I really like <a href="https://neocities.org/browse">Neocities browse page</a>. I was wondering how would it look for tilde.town.</p>
<p>So here is it:</p> <p>So here is it:</p>
<p><small>(please note that this is just first prototype, not a final product)</small></p>
<ul class="gallery"> <ul class="gallery">
HTML; HTML;
@ -39,7 +40,7 @@ $gallery[] = <<<HTML
</ul> </ul>
<hr> <hr>
<small>Generated using <a href="">this code</a>. Updated manually, because you need headless browser to generate all these thumbnails.</small> <small>Generated using <a href="https://tildegit.org/severak/gallery">this code</a>. Updated manually, because you need headless browser to generate all these thumbnails.</small>
</div> </div>
</body> </body>
</html> </html>