/* eslint-disable no-useless-escape */ import React from 'react'; import { ComponentStory, ComponentMeta } from '@storybook/react'; import CustomPageContent from '../components/ui/CustomPageContent/CustomPageContent'; export default { title: 'owncast/Components/Custom page content', component: CustomPageContent, parameters: {}, } as ComponentMeta; // eslint-disable-next-line @typescript-eslint/no-unused-vars const Template: ComponentStory = args => ; export const Example1 = Template.bind({}); Example1.args = { content: `"\u003cp\u003eOwncast TV is a 24/7 live stream run by the Owncast project as an example of the software in use. Learn more about how you can have your own live stream that you completely control at \u003ca href=\"https://owncast.online\"\u003eowncast.online\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eThis example instance shows how you can customize the page by changing things like fonts and colors as well as how you can add custom action buttons such as a donation button.\u003c/p\u003e\n\u003cp\u003eStay tuned in to learn about Owncast, hear from some streamers about their experiences using it, some bits and pieces of Owncast promo material, and highlights from other projects that are pretty cool.\u003c/p\u003e\n\u003cp\u003eBut when you've seen what we have to share with you, do yourself a favor and visit the \u003ca href=\"https://directory.owncast.online\"\u003eOwncast Directory\u003c/a\u003e and find an awesome stream to check out!\u003c/p\u003e\n\u003chr\u003e\n\u003ch2\u003eLinks to content seen in this stream\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://owncast.online/quickstart/\"\u003eOwncast Install Quickstart\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://directory.owncast.online\"\u003eOwncast Directory\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://creativecommons.org\"\u003eCreative Commons\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://tilvids.com\"\u003eTILVids\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://studio.blender.org/\"\u003eBlender Studio\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://archive.org/details/computerchronicles\"\u003eComputer Chronicles\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://joinmastodon.org\"\u003eMastodon\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e",`, }; export const Example2 = Template.bind({}); Example2.args = { content: `"

WHAT IS HAPPENING HERE

\n

Game That Tune Radio is live with fantastic video game music streaming around the clock! We've got music from NES, SNES, Sega Genesis, Nintendo 64, Playstation, PC, and more coming all the time! If it's been featured on our podcast, it's gonna be on this stream! We only play three songs from each game on our podcast, and we decided that everyone needs more tunes!

\n

We'll be updating this livestream with new games as they're played on the show, including your requests! To get priority in requesting games for the show, check out https://www.patreon.com/GameThatTune

\n

Be sure to check out our live recordings of the Game That Tune podcast! We broadcast every Wednesday night at 9 PM EST on our YouTube channel as well as https://www.twitch.tv/GameThatTune and https://www.facebook.com/GameThatTune\nTune in and join in on the fun! Find the podcast in iTunes every Wednesday morning or head to https://www.gamethattune.com!

\n

Visit https://www.patreon.com/GameThatTune to help us keep up this live stream and upgrade our equipment for the live show! We've got exclusive mixtapes for our patrons, and lots more stuff planned for the future, so consider helping us out!

\n

HOW IT WORKS

\n

Featuring music from over 1000 games! Check out https://music.gamethattune.com/songs for the full list and make a request from your favorite game!

\n

Now that you've seen the list of games, make a request in the chat!

\n

!sr + anything = general search
\n!gr + game title = random song from matching game
\n!cr + composer name = random song from matching composer
\n!tr + anything = random result only searching song titles
\n!rr + anything = random result from all searchable fields
\n!game gtt = starts a round of our guessing game for bonus points!

\n

We have gifs!

\n

Wanna see your favorite gif on screen? type !summon followed by the gif name! Want your favorite gif to take over the video? Type !spawn followed by the gif name!

\n

Still have questions? Ask the chatbot! type !info to...wait for it...get more info!

\n

Thanks for listening!

"`, }; export const Example3 = Template.bind({}); Example3.args = { content: `
\n

The upcoming streams

\n

Thursday, Apr. 28:

\n\n

Friday, Apr. 29:

\n\n

Saturday, Apr. 30:

\n
    \n
  • 19:00 CEST / 17:00 UTC / 1:00 pm EDT
    \nImmer Samstags:Syberia II“ (deutsch)
  • \n
  • 23:30 CEST / 21:30 UTC / 5:30 pm EDT
    \nNight Walk:Linux Game Jam 2022“ (english)
  • \n
\n

Sunday, May 1:

\n
    \n
  • 22:00 CEST / 20:00 UTC / 4:00 pm EDT
    \nSpacy Sunday:Mass Effect 2 LE“ (english)
  • \n
\n

Monday, May 2:

\n
    \n
  • 22:00 CEST / 20:00 UTC / 4:00 pm EDT
    \nMonday Tactics:BATTLETECH“ (english)
  • \n
\n

Tuesday, May 3:

\n
    \n
  • 22:00 CEST / 20:00 UTC / 4:00 pm EDT
    \nEpic Tuesday:Terraformers“ (english)
  • \n
\n

Wednesday, May 4:

\n
    \n
  • 22:00 CEST / 20:00 UTC / 4:00 pm EDT
    \nNarrative Wednesday:Zniw Adventure“ (english)
  • \n
\n


\nI plan a duration of about 4 to 5 hours per stream.

\n

The VODs of my streams will be available on YouTube channel and on my hatVODs PeerTube channel (the last 14 days). Some additional videos can also be found on my haTube PeerTube channel.

\n

If this channel is offline you might want to checkout other great Owncast streams at the Owncast Directory.

\n
\n

Pro-tips for new viewers

\n

Change chat name

\n

When you visit an Owncast channel for the first time then you've been given a random chat name. You see this name on the top right above the chat box. Click on that name in order to pick your own preferred chat name.

\n

Chat formatting

\n

The chat supports some basic Markdown, like *Italic*, **Bold** and \`Code blocks\` (from the Owncast docs)

\n

Player shortcuts

\n

The web video player has some keyboard shortcuts for you to use:

\n
    \n
  • Play/Pause - Spacebar
  • \n
  • Volume up - 0
  • \n
  • Volume down - 9
  • \n
  • Mute - m
  • \n
  • Toggle fullscreen - f
  • \n
  • Toggle chat - c
  • \n
\n

(from the Owncast docs)

\n

Watch Owncast via IPTV

\n

If you have a tv platform/set top box (apple, amazon, roku) that you can install IPTV apps on then you can add the url https://directory.owncast.online/api/iptv to watch this and other Owncast channels on the big screen.

\n

Watch the stream in a media player

\n

The stream is using HLS standard, so you can use your favorite media player to watch the stream using the url https://live.hatnix.net/hls/stream.m3u8

\n

Joining chat-only

\n

In case you want to join only the chat (because you're watching via IPTV?) you can do that using this url: https://live.hatnix.net/embed/chat/readwrite

\n
\n

About me and this channel

\n

My name is hatniX (or Frank), 48 years old. I'm a PC gamer for over 30 years now, playing games on Linux since 1998. And this is what you'll see here on this channel, me playing games on Linux. Preferable with a focus on storytelling and atmosphere, rather than "pro-gaming".

\n

Fediverse

\n

You can follow this server in the Fediverse: @hatnix@live.hatnix.net, in order to get announcements when the stream starts.

\n

Owncast

\n

This server is powered by Owncast. Check out the Owncast-Browser-Extension for Firefox or for Chrome browsers to see whether I'm live. Another great way to see when I (or other Owncast streamers) go online, is to follow the Owncast bots on Mastodon or Twitter.

\n

Chat bot

\n

I'm using an experimantal chat bot here, which I have written specifically for Owncast. Use !help in chat to get a list of the available commands. The source code of the bot is available at github.com/hatniX/hatbot (Public Domain).

\n

In case you wonder how I display the chat onscreen, incl. the fade effect, check out my CSS file.

\n

Music

\n

The music here, if not part of the game I'm playing, is provided by Jamando. I've got a license for livestream music for gaming.

\n
\n

How you can support me

\n

If you want to support me, visit my streams, either lurk or be active in chat. You can also help me getting more attention, by telling others about my channel, or just boosting my stream announcements on Mastodon or retweeting them on Twitter.

\n

Liberapay

\n

Liberapay is a non-profit subscription platform, which means that they don't take a share. If you like, you can support me there, either with a one-time or a regular donation. Thank you so much!

\n

Ko-fi

\n

In case you want to buy me a coffee then you can do so at ko-fi. I appreciate that a lot!

\n

Support is never required, but always much appreciated. Thank you very much! <3

\n
\n

My tech specs

\n

PC Hardware:

\n
    \n
  • CPU: AMD Ryzen 9 5900X
  • \n
  • RAM: 32 GB
  • \n
  • GPU: AMD Radeon RX 6900 XT (16 GB)
  • \n
  • Keyboard: Logitech K295
  • \n
  • Trackball: Kensington Expert Mouse Trackball
  • \n
  • Mouse 1: Logitech M220
  • \n
  • Mouse 2: Razer Naga Left Handed Edition
  • \n
  • Microphone: Blue Yeti
  • \n
  • Earbuds: Linklike Classic 2
  • \n
  • Headphone: beyerdynamic DT 990 Pro
  • \n
  • Webcam(s): Vitade 960A Pro
  • \n
\n

PC Software:

\n
    \n
  • OS: Manjaro Linux
  • \n
  • Kernel: 5.17.1-3-MANJARO x86_64
  • \n
  • Desktop: Xfce 4.16.0
  • \n
  • Mesa: 21.3.8
  • \n
  • Broadcaster software: OBS Studio 27.2.4
  • \n
\n

Stream Server: Hetzner Cloud „CPX11“

\n
    \n
  • 2 vCPU AMD
  • \n
  • 2 GB RAM
  • \n
  • 40 GB disc
  • \n
  • 20TB Traffic
  • \n
  • Owncast v0.0.11
  • \n
`, };