@page "/About" @using System.Net @using System.Net.Sockets @inject NavigationManager NavigationManager @inject ILocalStorageService LocalStorage @using XtermBlazor About

Rory&::MatrixUtils - About


Rory&::MatrixRoomUtils is a "small" collection of tools to do not-so-everyday things.

These range from joining rooms on dead homeservers, to managing your accounts and rooms, and creating rooms based on templates.



You can find the source code on my git server.

You can also join the Matrix room for this project.

@if (showBinDownload) {

This deployment also serves a copy of the compiled, hosting-ready binaries at /MRU-BIN.tar.xz!

} @if (showSrcDownload) {

This deployment also serves a copy of the compiled, hosting-ready binaries at /MRU-SRC.tar.xz!

} @code { private bool showBinDownload { get; set; } private bool showSrcDownload { get; set; } protected override async Task OnInitializedAsync() { using var hc = new HttpClient(); var hr = await hc.SendAsync(new HttpRequestMessage(HttpMethod.Head, NavigationManager.ToAbsoluteUri("/MRU-BIN.tar.xz").AbsoluteUri)); showBinDownload = hr.StatusCode == HttpStatusCode.OK; hr = await hc.SendAsync(new HttpRequestMessage(HttpMethod.Head, NavigationManager.ToAbsoluteUri("/MRU-SRC.tar.xz").AbsoluteUri)); showSrcDownload = hr.StatusCode == HttpStatusCode.OK; await base.OnInitializedAsync(); } private Xterm _terminal; private TerminalOptions _options = new TerminalOptions { CursorBlink = true, CursorStyle = CursorStyle.Block, Theme = { Background = "#17615e", }, }; private async Task OnFirstRender() { var message = "Hello, World!\nThis is a terminal emulator!\n\nYou can type stuff here, and it will be sent to the server!\n\nThis is a test of the emergency broadcast system.\n\nThis is only a t"; _terminal.Options.RendererType = RendererType.Dom; _terminal.Options.ScreenReaderMode = true; TcpClient. for (var i = 0; i < message.Length; i++) { await _terminal.Write(message[i].ToString()); await Task.Delay(50); _terminal.Options.Theme.Background = $"#{(i * 2):X6}"; } } }