blindforge/templates/home.html

20 lines
898 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Blindforge</title>
</head>
<body>
<p>Import any repository from any Forgejo instance using its main URL. The full commit hash is also needed, so the right version is fetched.</p>
<p>Token is optional. It is needed if the repository is private. In that case, create an API token with read access to the repository. It is revocable at any moment and only grants the selected permissions.</p>
<form action="fetch" method="post">
<label for="f-repo-url">Repo URL:</label>
<input type="text" id="f-repo-url" name="repo-url" required/><br/>
<label for="f-commit">Commit hash:</label>
<input type="text" id="f-commit" name="commit" required/><br/>
<label for="f-token">Token:</label>
<input type="text" id="f-token" name="token"/><br/>
<input type="submit" value="Fetch"/>
</form>
</body>
</html>