pstream is dead; long live pstream
taciturnaxolotl.github.io/pstream-ng/
1import {
2 defineTheme,
3 directory,
4 group,
5 link,
6 social,
7} from '@neato/guider/theme';
8import { Logo } from './components/Logo';
9import { NextSeo } from 'next-seo';
10import coverUrl from './public/cover.png';
11import faviconUrl from './public/favicon.ico';
12
13const starLinks = [
14 link('GitHub', 'https://github.com/taciturnaxolotl/pstream-ng', {
15 style: 'star',
16 newTab: true,
17 icon: 'akar-icons:github-fill',
18 }),
19 link('Discord', '/links/discord', {
20 style: 'star',
21 newTab: true,
22 icon: 'fa6-brands:discord',
23 }),
24];
25
26export default defineTheme({
27 github: 'taciturnaxolotl/pstream-ng',
28 navigation: [
29 link('Discord', '/links/discord', {
30 style: 'star',
31 newTab: true,
32 icon: 'mdi:discord',
33 }),
34 link('Check it out', '/instances', {
35 style: 'star',
36 newTab: true,
37 }),
38 ],
39 contentFooter: {
40 text: 'Made with :3 (sillyness)',
41 editRepositoryBase: 'https://github.com/taciturnaxolotl/pstream-ng/blob/main/docs',
42 socials: [
43 social.github('https://github.com/taciturnaxolotl/pstream-ng'),
44 social.discord('/links/discord'),
45 ],
46 },
47 meta: (pageMeta) => (
48 <NextSeo
49 {...{
50 title: `${pageMeta.title ?? "Watch your favorite shows and movies for free with no ads ever! (っ'ヮ'c)"} | pstream-ng`,
51 description:
52 pageMeta.description ??
53 'pstream-ng is a free and open source streaming site.',
54 openGraph: {
55 images: [
56 {
57 url: coverUrl.src,
58 },
59 ],
60 title: `${pageMeta.title ?? "Watch your favorite shows and movies for free with no ads ever! (っ'ヮ'c)"} | pstream-ng`,
61 description:
62 pageMeta.description ??
63 'pstream-ng is a free and open source streaming site.',
64 },
65 twitter: {
66 cardType: 'summary_large_image',
67 },
68 additionalLinkTags: [
69 {
70 href: faviconUrl.src,
71 rel: 'icon',
72 type: 'image/x-icon',
73 },
74 ],
75 }}
76 />
77 ),
78 settings: {
79 logo: () => <Logo />,
80 backgroundPattern: 'flare',
81 colors: {
82 primary: '#8288FE',
83 primaryLighter: '#B7ADDE',
84 primaryDarker: '#656BD4',
85 background: '#0C0B13',
86 backgroundLighter: '#12131FFF',
87 backgroundLightest: '#1A1B29FF',
88 backgroundDarker: '#000000',
89 line: '#34334CFF',
90 text: '#8C899A',
91 textLighter: '#A6A4AE',
92 textHighlight: '#FFF',
93 },
94 },
95 directories: [
96 directory('main', {
97 sidebar: [
98 ...starLinks,
99 group('Global', [
100 link('Instances', '/instances', { icon: 'mdi:web' }),
101 link('Browser Extension', '/extension', { icon: 'mdi:extension' }),
102 link('Support', '/support', { icon: 'mdi:help' }),
103 ]),
104 group('Self-Hosting', [
105 link('Start self-hosting', '/self-hosting/hosting-intro'),
106 link('Configure backend', '/self-hosting/use-backend'),
107 link('PWA vs no-PWA', '/self-hosting/about-pwa'),
108 link('Troubleshooting', '/self-hosting/troubleshooting'),
109 ]),
110 group('Proxy', [
111 link('Introduction', '/proxy/introduction'),
112 link('Deploy', '/proxy/deploy'),
113 link('Configuration', '/proxy/configuration'),
114 // link('Changelog', '/proxy/changelog'),
115 ]),
116 group('Client', [
117 link('Introduction', '/client/introduction'),
118 link('Deploy', '/client/deploy'),
119 link('TMDB API Key', '/client/tmdb'),
120 link('Configuration', '/client/configuration'),
121 // link('Changelog', '/client/changelog'),
122 link('Update guide', '/client/upgrade'),
123 ]),
124 group('Backend', [
125 link('Introduction', '/backend/introduction'),
126 link('Deploy', '/backend/deploy'),
127 link('Configuration', '/backend/configuration'),
128 // link('Changelog', '/backend/changelog'),
129 link('Update guide', '/backend/upgrade'),
130 ]),
131 group('Extra', [
132 link('Streaming', '/extra/streaming'),
133 link('Selfhost', '/extra/selfhost'),
134 ]),
135 ],
136 }),
137 ],
138});