Repository navigation
Expand file tree
/
Copy pathproducts.ts
More file actions
56 lines (54 loc) · 2.1 KB
/
Copy pathproducts.ts
File metadata and controls
56 lines (54 loc) · 2.1 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/**
* Every Patchyard tool. The home page is built from this list, so adding a tool starts here.
*
* `page` is where the tool's own page lives: a path on this site, or a full address when the tool
* keeps its own site (ReproDrop publishes its own at /reprodrop/ from its repository).
*/
export interface Product {
slug: string;
name: string;
/** What it is, in a few words. Printed on its patch. */
kind: string;
/** One sentence: what it does for you. */
tagline: string;
description: string;
/** What you run to use it. */
runs: string;
license: string;
version: string;
page: string;
repo: string;
/** The tool's own colours, used for its patch. */
patch: { cloth: string; edge: string; thread: string; text: string };
}
export const products: Product[] = [
{
slug: "kindwall",
name: "Kindwall",
kind: "Testimonials",
tagline: "Collect testimonials, approve the good ones, and show them on your site.",
description:
"Customers write or record a testimonial on your collection page. Your team approves the good ones in an inbox. A wall puts them on your website with two lines of HTML.",
runs: "One Docker container and Postgres",
license: "Apache-2.0",
version: "0.1.0",
page: "/kindwall/",
repo: "https://github.com/patchyard/kindwall",
patch: { cloth: "#2b1a36", edge: "#1b1022", thread: "#ffd44d", text: "#f4effa" },
},
{
slug: "reprodrop",
name: "ReproDrop",
kind: "Bug reports",
tagline: "Bug reports with the evidence attached.",
description:
"A Chrome extension records the steps, screenshots, console errors and failed requests while someone reproduces a bug. A self-hosted dashboard collects the reports, with optional Jira Cloud.",
runs: "A Chrome extension and a self-hosted dashboard",
license: "Apache-2.0",
version: "0.1.3",
page: "https://patchyard.github.io/reprodrop/",
repo: "https://github.com/patchyard/reprodrop",
patch: { cloth: "#0f6b5c", edge: "#0a4f44", thread: "#f6f8f7", text: "#ffffff" },
},
];
export const isExternal = (href: string): boolean => /^https?:\/\//.test(href);