Compare commits
3 Commits
4d5728b4f0
...
d8fd74d90f
Author | SHA1 | Date | |
---|---|---|---|
d8fd74d90f | |||
7d6c82a225 | |||
512871ad87 |
6
api/random_repo.php
Normal file
6
api/random_repo.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
$repos = json_decode(file_get_contents("https://git.reim.ar/api/v1/repos/search"))->data;
|
||||
$repo = $repos[array_rand($repos)];
|
||||
header("Location: $repo->html_url");
|
||||
|
@ -4,6 +4,7 @@
|
||||
<meta name="description" content="Reimar's epic site">
|
||||
<meta name="theme-color" content="#2962FF">
|
||||
<meta name="color-scheme" content="dark light">
|
||||
<meta name="canonical" content="https://reim.ar<?= parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH) ?>">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
|
||||
<title>Reimar</title>
|
||||
<link rel="stylesheet" href="/assets/style/main.css" onload="linkOnloadSupported = true">
|
||||
|
Loading…
Reference in New Issue
Block a user