Adding gitlab link
This commit is contained in:
parent
2c37fffc5c
commit
c2cde30aa8
|
@ -1,4 +1,5 @@
|
|||
import { Component } from 'inferno';
|
||||
import { repoUrl } from '../utils';
|
||||
|
||||
export class Home extends Component<any, any> {
|
||||
|
||||
|
@ -11,13 +12,12 @@ export class Home extends Component<any, any> {
|
|||
}
|
||||
|
||||
onboard() {
|
||||
let site: string = "https://gitlab.com/dessalines/torrents.csv";
|
||||
return (
|
||||
<div>
|
||||
<br />
|
||||
<a href={site}>Torrents.csv</a> is a <i>collaborative</i> git repository of torrents, consisting of a single, searchable <code>torrents.csv</code> file. Its initially populated with a January 2017 backup of the pirate bay, and new torrents are periodically added from various torrents sites. It comes with a self-hostable webserver, a command line search, and a folder scanner to add torrents.<br /><br />
|
||||
<a href={site}>Torrents.csv</a> will only store torrents with at least one seeder to keep the file small, will be periodically purged of non-seeded torrents, and sorted by seeders descending.<br /><br />
|
||||
To request more torrents, or add your own, go <a href={site}>here</a>.<br /><br />
|
||||
<a href={repoUrl}>Torrents.csv</a> is a <i>collaborative</i> git repository of torrents, consisting of a single, searchable <code>torrents.csv</code> file. Its initially populated with a January 2017 backup of the pirate bay, and new torrents are periodically added from various torrents sites. It comes with a self-hostable webserver, a command line search, and a folder scanner to add torrents.<br /><br />
|
||||
<a href={repoUrl}>Torrents.csv</a> will only store torrents with at least one seeder to keep the file small, will be periodically purged of non-seeded torrents, and sorted by seeders descending.<br /><br />
|
||||
To request more torrents, or add your own, go <a href={repoUrl}>here</a>.<br /><br />
|
||||
Made with <a href="https://www.rust-lang.org">Rust</a>, <a href="https://github.com/BurntSushi/ripgrep">ripgrep</a>, <a href="https://actix.rs/">Actix</a>, <a href="https://www.infernojs.org">Inferno</a>, and <a href="https://www.typescriptlang.org/">Typescript</a>.
|
||||
|
||||
</div>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import { Component, linkEvent } from 'inferno';
|
||||
import { SearchParams } from '../interfaces';
|
||||
import { repoUrl } from '../utils';
|
||||
|
||||
|
||||
interface State {
|
||||
|
@ -29,8 +30,14 @@ export class Navbar extends Component<any, State> {
|
|||
return (
|
||||
<nav class="navbar navbar-dark navbar-purple">
|
||||
<a class="navbar-brand" href="#">
|
||||
<i class="fas fa-fw fa-database mr-1"></i>Torrents.csv
|
||||
</a>
|
||||
<i class="fas fa-fw fa-database mr-1"></i>
|
||||
Torrents.csv
|
||||
</a>
|
||||
<ul class="navbar-nav ml-auto">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href={repoUrl}><i class="fab fa-fw fa-github"></i></a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="col-12 col-sm-6">
|
||||
{this.searchForm()}
|
||||
</div>
|
||||
|
|
|
@ -10,9 +10,7 @@
|
|||
<title>Torrents.csv</title>
|
||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
|
||||
crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/solid.css" integrity="sha384-VGP9aw4WtGH/uPAOseYxZ+Vz/vaTb1ehm1bwx92Fm8dTrE+3boLfF1SpAtB1z7HW"
|
||||
crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/fontawesome.css" integrity="sha384-1rquJLNOM3ijoueaaeS5m+McXPJCGdr5HcA03/VHXxcp2kX2sUrQDmFc3jR5i/C7"
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU"
|
||||
crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/balloon-css/0.5.0/balloon.min.css">
|
||||
</head>
|
||||
|
|
|
@ -51,4 +51,6 @@ export function convertCsvToJson(csv: string): Results {
|
|||
torrents: torrents
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
export let repoUrl = 'https://gitlab.com/dessalines/torrents.csv';
|
||||
|
|
Loading…
Reference in New Issue