Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
.cardLink {
display: block;
height: 100%;
color: inherit;
text-decoration: none;
}
.streamCard {
display: flex;
flex-direction: column;
height: 100%;
border-color: rgb(0 0 0 / 30%);
border-width: 1px;
border-style: solid;
border-radius: 15px;
overflow: hidden;
transition: border-color 0.2s ease-in-out;
background-color: var(--theme-color-background-main);
// Let the body stretch so every card in a row is the same height
// regardless of how much text it holds.
:global(.ant-card-body) {
display: flex;
flex: 1;
}
&:hover {
border-color: var(--theme-text-link);
}
&.offline {
opacity: 0.8;
.coverContainer {
filter: grayscale(0.5);
}
}
}
.coverContainer {
position: relative;
width: 100%;
padding-bottom: 56.25%; // 16:9 aspect ratio
background: var(--theme-color-background-header);
overflow: hidden;
.thumbnail {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.placeholderThumbnail {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
135deg,
var(--theme-color-background-header),
var(--theme-color-background-main)
);
display: flex;
align-items: center;
justify-content: center;
.logoOverlay {
max-width: 60%;
max-height: 60%;
opacity: 0.3;
}
}
.statusBadge {
position: absolute;
top: 12px;
right: 12px;
}
}
.cardContent {
display: flex;
flex-direction: column;
flex: 1;
padding: 10px;
.serverInfo {
display: flex;
align-items: center;
margin-bottom: 8px;
gap: 8px;
.serverLogo {
width: 60px;
height: 60px;
border-radius: 50%;
border: 1px solid rgb(0 0 0 / 30%);
object-fit: cover;
flex-shrink: 0;
}
.textInfo {
flex: 1;
overflow: hidden;
.serverName {
display: block;
font-family: var(--theme-text-display-font-family);
font-weight: 600;
font-size: 1rem;
line-height: 1.2;
color: var(--theme-color-components-text-on-light);
}
.serverHost {
display: block;
font-size: 0.7rem;
line-height: 1.2;
color: var(--theme-color-components-text-on-light);
}
.streamTitle {
display: block;
font-size: 0.8rem;
line-height: 1.4;
color: var(--theme-color-components-text-on-light);
margin-top: 2px;
}
}
}
.description {
font-size: 0.8rem;
line-height: 1.5;
min-height: 2.4rem; // always reserve 2 lines so card heights match across rows
color: var(--theme-color-components-text-on-light);
margin-bottom: 8px;
}
.tags {
display: flex;
gap: 4px;
flex-wrap: wrap;
margin-top: auto; // pin tags to the card bottom so short cards match tall ones
.tag {
margin: 0;
font-size: 11px;
padding: 0 8px;
height: 20px;
line-height: 18px;
border: none;
border-radius: 10px;
background: var(--theme-color-palette-10); // neutral slate gray
color: var(--theme-color-components-text-on-dark); // light, readable on the gray
}
}
}