chore: domain transition

This commit is contained in:
2025-10-03 22:47:12 +02:00
parent 55df22341e
commit 495027ca7e
7 changed files with 8 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
# hackclub.tv
This is the source code for [hackclub.tv (hctv.srizan.dev)](https://hctv.srizan.dev), a livestreaming website for hackclubbers.
This is the source code for [hackclub.tv (hackclub.tv)](https://hackclub.tv), a livestreaming website for hackclubbers.
Development has been ongoing for a few months, and the site is now live! There are some half-baked features, but I'm all ears for feedback.

View File

@@ -9,7 +9,7 @@ The chat system is powered by a websocket server. Please read the entire page be
## Connection and messages
The websocket server is located at `wss://hctv.srizan.dev/api/chat/ws/:username`, where `:username` is the channel you want to connect to.
The websocket server is located at `wss://hackclub.tv/api/chat/ws/:username`, where `:username` is the channel you want to connect to.
You'll need to provide authentication, which can be done by providing an `auth_session` cookie, just like the REST API.
<Aside type="tip">

View File

@@ -9,7 +9,7 @@ since this is beta software, the API is subject to change. additionally, many en
## Base url
base url for all endpoints is `https://hctv.srizan.dev/api`.
base url for all endpoints is `https://hackclub.tv/api`.
## Authentication

View File

@@ -649,7 +649,7 @@ export default function ChannelSettingsClient({
<div className="relative flex-1">
<input
type={keyVisible ? 'text' : 'password'}
value={`https://hctv.srizan.dev/chat/${channel.name}?grant=${channel.obsChatGrantToken}`}
value={`https://hackclub.tv/chat/${channel.name}?grant=${channel.obsChatGrantToken}`}
readOnly
className="w-full px-3 py-2 border rounded-md bg-mantle font-mono text-sm"
/>

View File

@@ -58,7 +58,7 @@ export default function Navbar(props: Props) {
<DropdownMenuItem className="cursor-pointer">Bot accounts</DropdownMenuItem>
</Link>
<DropdownMenuSeparator />
<Link href={'https://docs.hctv.srizan.dev'} target="_blank" rel="noreferrer">
<Link href={'https://docs.hackclub.tv'} target="_blank" rel="noreferrer">
<DropdownMenuItem className="cursor-pointer">API Docs</DropdownMenuItem>
</Link>
<Link href={'https://github.com/SrIzan10/hctv'} target="_blank" rel="noreferrer">

View File

@@ -37,7 +37,7 @@ export function Mention({ children, handle }: Props) {
}
const fallback = handle.substring(0, 2).toUpperCase();
const url = `https://hctv.srizan.dev/${handle}`;
const url = `https://hackclub.tv/${handle}`;
return (
<HoverCard>

View File

@@ -128,7 +128,7 @@ export async function syncStream() {
if (!existingStream.channel.is247) {
queue.add(`streamStartChannel:${existingStream.username}`, {
text: `${existingStream.username} is now *live*, streaming *${existingStream.title}* (${existingStream.category})!\n<https://hctv.srizan.dev/${existingStream.username}|Go check them out>`,
text: `${existingStream.username} is now *live*, streaming *${existingStream.title}* (${existingStream.category})!\n<https://hackclub.tv/${existingStream.username}|Go check them out>`,
channel: process.env.NOTIFICATION_CHANNEL_ID!,
unfurl_links: true,
});
@@ -136,7 +136,7 @@ export async function syncStream() {
if (existingStream.enableNotifications && !existingStream.channel.is247) {
for (const follower of subscribedFollowers) {
queue.add(`streamStartDm:${follower.user.id}`, {
text: `${existingStream.username} is now *live*, streaming *${existingStream.title}* (${existingStream.category})!\n<https://hctv.srizan.dev/${existingStream.username}|Go check them out>\n_Stream notifications are enabled for this user. If you want to disable them, you can do so in \`Profile > Follows\`._`,
text: `${existingStream.username} is now *live*, streaming *${existingStream.title}* (${existingStream.category})!\n<https://hackclub.tv/${existingStream.username}|Go check them out>\n_Stream notifications are enabled for this user. If you want to disable them, you can do so in \`Profile > Follows\`._`,
channel: follower.user.slack_id,
unfurl_links: true,
});