about summary refs log tree commit diff stats
path: root/html/505colors.mu.html
Commit message (Expand)AuthorAgeFilesLines
* .Kartik K. Agaram2021-07-161-246/+372
* html: better highlighting for int registersKartik Agaram2021-06-261-26/+25
* .Kartik Agaram2021-06-261-9/+9
* .Kartik Agaram2021-06-241-3/+3
* .Kartik Agaram2021-06-151-56/+61
* .Kartik Agaram2021-05-011-0/+297
ite_roulette/blame/README.md?h=main&id=53da95395aad137bd0ab2b2f4ed1e9e3cb00c962'>^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42

                

                                                       


































                                                                                                                                                                        
                                                                                                                                           
 
                                          
# Sites Roulette

[Demo](https://tilde.team/~grizzly/browser/?member=ben)

My simple application to view user pages on a given server,

curl.php gets the data from the main page of the server, parses it and writes to the database, thanks to cron you can easily update the database for example once a day.

it's a very simple script, if you want to run it, you need to personalize some things, like the name of your home directory or regex to download users

to change:

- public_html/browser/get.php

  - require_once('/home/grizzly/store/browser/db.php');
  - die(header("Location: https://tilde.team/~grizzly/browser/?member=" . $row['login_name']));

- public_html/browser/index.php

  - s/tilde.team/you.website/

- store/browser/curl.php

  - require_once ('/home/grizzly/store/browser/db.php');
  - curl_setopt($c, CURLOPT_URL,'https://tilde.team/');
  - preg*match_all('/<li><a href="\/~(.*)\/" class=\"list-group-item col-xs-6 col-sm-4 col-md-2\">~(.\_)<\/a><\/li>/', $data, $matches);

- store/browser/update.sh

and add cron.txt content to your cron: `crontab -e`

---

the script was created out of "need", I wanted to browse all user pages and I didn't want to open thousands of tabs, so this is "sites roulette".

you can modify it, share it freely

---

if you want to change or improve something, clone the [repo](https://tildegit.org/grizzly/site_roulette), add changes and send pull request

https://tildegit.org/grizzly/site_roulette