First release.
This commit is contained in:
		
							parent
							
								
									4bf92d552b
								
							
						
					
					
						commit
						f7e14957ae
					
				@ -1,7 +1,13 @@
 | 
			
		||||
# 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.
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -21,6 +21,7 @@ $gallery[] = <<<HTML
 | 
			
		||||
	<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>So here is it:</p>
 | 
			
		||||
	<p><small>(please note that this is just first prototype, not a final product)</small></p>
 | 
			
		||||
	<ul class="gallery">  
 | 
			
		||||
HTML;
 | 
			
		||||
 | 
			
		||||
@ -39,7 +40,7 @@ $gallery[] = <<<HTML
 | 
			
		||||
    </ul>
 | 
			
		||||
    
 | 
			
		||||
    <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>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user