Universal Meeting Recorder для Windows

Трей-приложение, записывающее встречи: детектит любой звонок, пишет системный
звук и микрофон (WASAPI), сводит в m4a, отправляет в Speakr за транскриптом и
ноутами; список встреч, напоминания по календарю Outlook, задачи в SQLite с
извлечением action items через LLM, ежедневная сводка, системный mute, виджет
задач. C# / .NET 10, WPF.

Порт macOS-приложения ConferenceRecorder: форматы на диске (папки встреч,
meeting.json, transcript.md, tasks.sqlite, HTTP-фид задач) совместимы с ним
байт в байт, что проверяют golden-тесты. Подробности — в README.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
kislovdmandClaude Opus 5.5 committed 2026-11-18 17:54:55 +03:00
commit f5fcae4091
82 files changed
+9682

No files matched your search

@@ -0,0 +1,51 @@
namespace UniversalMeetingRecorder.Core.Tests;
internal sealed class TempDir : IDisposable
{
public string Path { get; } = System.IO.Path.Combine(System.IO.Path.GetTempPath(), "cr-tests-" + Guid.NewGuid().ToString("N"));
public TempDir() => Directory.CreateDirectory(Path);
public string Sub(string name)
{
var p = System.IO.Path.Combine(Path, name);
Directory.CreateDirectory(p);
return p;
}
public void Dispose()
{
try { Directory.Delete(Path, true); } catch { }
}
}
/// <summary>Настоящие данные macOS-версии — для golden-тестов совместимости форматов (если есть на машине).</summary>
internal static class MacData
{
public static string Root => Environment.GetEnvironmentVariable("CR_MAC_DATA")
?? System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "Documents", Settings.AppSettings.SharedDataFolderName);
public static string Recordings => System.IO.Path.Combine(Root, "recordings");
public static IEnumerable<string> MeetingFolders() =>
Directory.Exists(Recordings)
? Directory.EnumerateDirectories(Recordings).Where(d => File.Exists(System.IO.Path.Combine(d, "meeting.json")))
: Enumerable.Empty<string>();
}
internal sealed class FakeHandler : HttpMessageHandler
{
private readonly Func<HttpRequestMessage, HttpResponseMessage> _respond;
public List<string> Requests { get; } = new();
public FakeHandler(Func<HttpRequestMessage, HttpResponseMessage> respond) => _respond = respond;
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
{
lock (Requests) Requests.Add($"{request.Method} {request.RequestUri!.PathAndQuery}");
return Task.FromResult(_respond(request));
}
public static HttpResponseMessage Json(string json, int code = 200) =>
new((System.Net.HttpStatusCode)code) { Content = new StringContent(json, System.Text.Encoding.UTF8, "application/json") };
}