1 Commits

Author SHA1 Message Date
e1053844c0 Used AI to change project to blazor webassembly. 2026-08-10 14:49:01 +02:00
1122 changed files with 7323 additions and 267 deletions

BIN
.cache/jb/UpdateWork.dat Normal file

Binary file not shown.

1
.cache/jb/version.txt Normal file
View File

@@ -0,0 +1 @@
(ssh://git@git.jetbrains.team/llvm/llvm-project.git f4157ca9dd49181f6d35eaf6d324ffa84a40f01b based on LLVM 31f1590e4fb324c43dc36199587c453e27b6f6fa revision)

2
.gitignore vendored
View File

@@ -6,4 +6,4 @@ CMakeCache.txt
Makefile
# Executable
server.out
douwco_web

View File

@@ -0,0 +1,15 @@
# Default ignored files
/shelf/
/workspace.xml
# Rider ignored files
/contentModel.xml
/projectSettingsUpdater.xml
/modules.xml
/.idea.DouwcoWebsite.iml
# Ignored default folder with query files
/queries/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
</project>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="UserContentModel">
<attachedFolders />
<explicitIncludes />
<explicitExcludes />
</component>
</project>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
</component>
</project>

10
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,10 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
]
}

View File

@@ -1,5 +1,3 @@
{
"clangd.arguments": [
"--query-driver=/usr/bin/g++-15"
]
"cmake.sourceDirectory": "/home/douwe/Nextcloud/Projects/douwco.be"
}

10
App.razor Normal file
View File

@@ -0,0 +1,10 @@
<Router AppAssembly="typeof(App).Assembly">
<Found Context="routeData">
<RouteView RouteData="routeData" />
<FocusOnNavigate RouteData="routeData" Selector="h1" />
</Found>
<NotFound>
<PageTitle>Not found</PageTitle>
<p role="alert">Sorry, there's nothing at this address.</p>
</NotFound>
</Router>

View File

@@ -1,11 +0,0 @@
cmake_minimum_required(VERSION 3.10)
project(douwco_website)
# Set the C++ standard (e.g., C++17)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# Add your executable
add_executable(server.out
server/main.cpp
)

View File

@@ -1,18 +0,0 @@
FROM debian:stable-slim
RUN apt-get update && \
apt-get install -y \
g++ \
cmake \
libboost-all-dev
WORKDIR /webserver
COPY . .
RUN mkdir -p build && \
cd build && \
cmake .. && \
make
ENTRYPOINT ["./build/server.out"]

15
DouwcoWebsite.csproj Normal file
View File

@@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="10.0.0" PrivateAssets="all" />
</ItemGroup>
</Project>

21
DouwcoWebsite.sln Normal file
View File

@@ -0,0 +1,21 @@
Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DouwcoWebsite", "DouwcoWebsite.csproj", "{CCF6B1B7-9CEB-485C-BDE4-BB6A2D1BC9A5}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{694925D6-4EC4-41C4-A53D-E2EB3B80A0F7}"
ProjectSection(SolutionItems) = preProject
compose.yaml = compose.yaml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{CCF6B1B7-9CEB-485C-BDE4-BB6A2D1BC9A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CCF6B1B7-9CEB-485C-BDE4-BB6A2D1BC9A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CCF6B1B7-9CEB-485C-BDE4-BB6A2D1BC9A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CCF6B1B7-9CEB-485C-BDE4-BB6A2D1BC9A5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

40
Pages/Index.razor Normal file
View File

@@ -0,0 +1,40 @@
@page "/"
@inject ScrollService ScrollService
<PageTitle>Douwco</PageTitle>
<header>
<NavMenu />
</header>
<main class="scroll_container">
<section id="home" class="scroll_section observed" data-section-name="home">
<HomeSection />
</section>
<section id="about_me" class="scroll_section observed" data-section-name="about_me">
<AboutMeSection />
</section>
<section id="apps" class="scroll_section observed" data-section-name="apps">
<AppsSection />
</section>
<section id="games" class="scroll_section observed" data-section-name="games">
<GamesSection />
</section>
</main>
<footer>
<Footer />
</footer>
@code {
protected override async Task OnAfterRenderAsync(bool firstRender)
{
if (firstRender)
{
await ScrollService.InitializeAsync();
}
}
}

12
Program.cs Normal file
View File

@@ -0,0 +1,12 @@
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using DouwcoWebsite;
var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
builder.RootComponents.Add<HeadOutlet>("head::after");
// Register the scroll service for navigation
builder.Services.AddScoped<ScrollService>();
await builder.Build().RunAsync();

49
Services/ScrollService.cs Normal file
View File

@@ -0,0 +1,49 @@
using Microsoft.JSInterop;
namespace DouwcoWebsite;
public class ScrollService : IDisposable
{
private readonly IJSRuntime _jsRuntime;
private DotNetObjectReference<ScrollService>? _dotNetObjectReference;
private IJSObjectReference? _module;
public event Action<string>? OnSectionChanged;
public ScrollService(IJSRuntime jsRuntime)
{
_jsRuntime = jsRuntime;
_dotNetObjectReference = DotNetObjectReference.Create(this);
}
public async Task InitializeAsync()
{
_module = await _jsRuntime.InvokeAsync<IJSObjectReference>(
"import", "./js/scrollService.js");
await _module.InvokeVoidAsync("initialize", _dotNetObjectReference);
}
[JSInvokable]
public void HandleSectionChange(string sectionId)
{
OnSectionChanged?.Invoke(sectionId);
}
public async Task ScrollToSection(string sectionId)
{
if (_module != null)
{
await _module.InvokeVoidAsync("scrollToSection", sectionId);
}
}
public void Dispose()
{
_dotNetObjectReference?.Dispose();
if (_module != null)
{
_module.InvokeVoidAsync("dispose");
}
}
}

View File

@@ -0,0 +1,82 @@
<div class="vert_container start">
<img class="image stick small" src="/img/me_img.png" alt="Image" />
<div class="panel">
<h1>Hi, I'm Douwe</h1>
<p>
A <span style="color: var(--green-clr);">PhD student</span> at KU Leuven with a passion for game development and software independence.
<br /><br />
Currently I'm working on:
</p>
<div class="content-box">
<img class="project-thumb" src="/img/rollability.png" alt="RollAbility" />
<p>
<span class="intro-text">RollAbility</span> <br />
For my PhD research at KU Leuven, I'm developing RollAbility a therapeutic exergame that bridges player autonomy with clinical guidelines to enhance wheelchair training.
<br /><br />Developed in collaboration with therapists, RollAbility is a game build onto a clinical protocol
and controlled by an actual powered wheelchair. The game connects to the RollAbility App which allows therapists
to control the training session in real-time.
<br /><br /><a href="https://dl.acm.org/doi/abs/10.1145/3748621" target="_blank">Read the paper</a> or <a href="https://www.youtube.com/watch?v=8y9XFdSN_04" target="_blank">Watch the video</a>.
</p>
</div>
<div class="content-box">
<img class="project-thumb" src="/img/alcove.png" alt="Alcove" />
<p>
<span class="intro-text">Alcove</span> <br />
Alcove is a interreg project between Flemish, Walloon and French universities and hospitals that aims to build a device that detects lung cancer through a breath test.
<br /><br />My role is to create a user interface for the device. This UI has to work on both android phones as on embedded linux devices.
<br /><br /><a href="https://alcove.crosss3.eu/nl/" target="_blank">Read more about Alcove</a>.
</p>
</div>
<p><span style="color: var(--green-clr);">However</span> in the past I also worked on:</p>
<div class="content-box">
<img class="project-thumb" src="/img/godot_addons.png" alt="Godot tools" />
<p>
<span class="intro-text">Godot Addons</span> <br />
I published two small addons to the godot asset library.
<br /><br />One addon called <a href="https://godotengine.org/asset-library/asset/3505">Godot Visual Studio Debugger</a> which allows you to dynammicaly run the current scene open in the Godot editor directly in Visual Studio Debugger.
<br /><br />The second addons called <a href="https://godotengine.org/asset-library/asset/3420">Godot Test Scenes</a> extends the Godot editor with an additional run mode, this mode runs a associated test scene to the currently open one in the editor.
<br /><br />They are both open source:
<br /><a href="https://github.com/DouweRavers/godot_test_scene">Godot Test Scenes</a> and <a href="https://github.com/DouweRavers/godot_visualstudio_debugger/tree/main">Godot Visual Studio Debugger</a>
</p>
</div>
<div class="content-box">
<img class="project-thumb" src="/img/kingfisher.png" alt="Kingfisher" />
<p>
<span class="intro-text">Kingfisher</span> <br />
The project <a href="https://kingfisher-game.com/">Kingfisher</a> is a game build by <a>PossilbyPixels</a> that rises awareness about Autism. It is a storybased action / puzzle game for PC and mobile.
<br /><br />My role in the project was to build minigames that occur throughout the story and also to develop tools to help development.
<br /><br />One of the tools I made for this project was a suburban neigborhood generator. This tool allowed us to draw streets in the editor which then were automaticly filled with procedural generated houses and gardens. You can see a demo in <a href="/vid/procedural_streets.mp4">this video</a>.
<br /><br />You can wishlist the game on <a href="https://store.steampowered.com/app/4197280/Kingfisher_An_Autism_Tale/">Steam</a>!
</p>
</div>
<div class="content-box">
<img class="project-thumb" src="/img/ludum_dare.png" alt="Ludum Dare" />
<p>
<span class="intro-text">Ludum Dare</span> <br />
Between 2019 and 2024, I participated regulary into the Ludum Dare Event. This event was all about creating games under tight deadlines of 48 hours and with no external resources such as audio or 3D art.
<br /><br />After each event I published my game on <a href="https://coffeeplanet.itch.io/">Itch.io</a> where they are still availble for play. In the future I want to migrate them to this website.
<br /><br />I want to especially highlight <a href="https://coffeeplanet.itch.io/ludum-dare-51">Cobor goes farming</a> and <a href="https://coffeeplanet.itch.io/windy-the-indie">Windy the Indy</a>
</p>
</div>
<div class="content-box">
<img class="project-thumb" src="/img/thesis_tool.png" alt="Planet Tool" />
<p>
<span class="intro-text">Masterthesis: Planet Tool</span> <br />
For my Masterthesis at Group T KU Leuven I made a tool for Unity that creates a procedural planet terrain.
<br /><br />The main challenge of this project was to optimize the algorithm to work as fast as possible. For this I leveraged GPU compute shaders to process large chunks of data at once.
<br /><br />You can find the tool and my thesis paper <a href="https://github.com/DouweRavers/ThesisProject-ThePlanetEngine/tree/main">here</a>.
</p>
</div>
<div class="content-box">
<img class="project-thumb" src="/img/wizard_gloves.png" alt="Wizard Gloves" />
<p>
<span class="intro-text">Masterproject: Wizard Gloves</span> <br />
In another project during my masters we explored gesture-based interactions in virtual environments.
<br /><br />For this project we developed a prototype using Unity and custom wearable hardware to enable magic-like hand gestures for interfacing with a story game.
<br /><br />See the game <a href="/vid/wizard_gloves.mp4">here</a> or you can find the game and paper <a href="https://github.com/DouweRavers/MasterProject-WizardsGlovesAdventure/tree/main">here</a>
</p>
</div>
</div>
</div>

8
Shared/Footer.razor Normal file
View File

@@ -0,0 +1,8 @@
<div class="vert_container">
<p id="copyright">© @currentYear - douwco.be</p>
<p>Made and hosted in EU</p>
</div>
@code {
private string currentYear = DateTime.Now.Year.ToString();
}

View File

@@ -1,7 +1,7 @@
<div class="vert_container revert start">
<div class="panel">
<div class="section-title">
<img class="icon large toggle" src="/img/douwco_logo.png" alt="Image">
<img class="icon large toggle" src="/img/douwco_logo.png" alt="Image" />
<div class="text-section">
<h1 class="title">Douwco</h1>
<div class="tagline">
@@ -12,14 +12,14 @@
</div>
<div class="content-box">
<p>
<span class="intro-text">Welcome to the Douwco website.</span> <br>
<span class="intro-text">Welcome to the Douwco website.</span> <br />
Ever wondered what machine the website you are visiting is run on? Well this time you know, just look to the image.
This small homeserver hosts several open-source services like Nextcloud, Gitea, Overleaf community and of course this
website. <br> <br>
website. <br /> <br />
Here I showcase my portfolio and all the games I've created over the years. If you are
a family member you can also find the different services in the Douwco Apps tab.
</p>
</div>
</div>
<img class="image stick large" src="/img/server_image.png" alt="Image">
<img class="image stick large" src="/img/server_image.png" alt="Image" />
</div>

47
Shared/NavMenu.razor Normal file
View File

@@ -0,0 +1,47 @@
<nav>
<div class="vert_container centered">
<a class="nav_option @(currentSection == "home" ? "active" : "")" href="#home" @onclick:preventDefault @onclick="ScrollToHome">
<img class="icon medium" src="/img/douwco_logo.png" />
</a>
<a class="nav_option @(currentSection == "about_me" ? "active" : "")" href="#about_me" @onclick:preventDefault @onclick="ScrollToAboutMe">
<img class="icon small" src="/img/icons/user.png" alt="Icon" />
<p>About <span>Me</span></p>
</a>
<a class="nav_option @(currentSection == "apps" ? "active" : "")" href="#apps" @onclick:preventDefault @onclick="ScrollToApps">
<img class="icon small" src="/img/icons/projects_icon.png" alt="Icon" />
<p>Douwco <span>Apps</span></p>
</a>
<a class="nav_option @(currentSection == "games" ? "active" : "")" href="#games" @onclick:preventDefault @onclick="ScrollToGames">
<img class="icon small" src="/img/icons/devicegamepad2.png" alt="Icon" />
<p>My <span>Games</span></p>
</a>
</div>
</nav>
@code {
[Inject]
private ScrollService ScrollService { get; set; } = default!;
private string currentSection = "home";
protected override async Task OnInitializedAsync()
{
ScrollService.OnSectionChanged += HandleSectionChange;
}
private void HandleSectionChange(string sectionId)
{
currentSection = sectionId;
StateHasChanged();
}
private async Task ScrollToHome() => await ScrollService.ScrollToSection("home");
private async Task ScrollToAboutMe() => await ScrollService.ScrollToSection("about_me");
private async Task ScrollToApps() => await ScrollService.ScrollToSection("apps");
private async Task ScrollToGames() => await ScrollService.ScrollToSection("games");
public void Dispose()
{
ScrollService.OnSectionChanged -= HandleSectionChange;
}
}

9
_Imports.razor Normal file
View File

@@ -0,0 +1,9 @@
@using System.Net.Http
@using System.Net.Http.Json
@using Microsoft.AspNetCore.Components
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.AspNetCore.Components.WebAssembly
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.JSInterop
@using DouwcoWebsite
@using DouwcoWebsite.Shared

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,51 @@
{
"runtimeOptions": {
"tfm": "net10.0",
"includedFrameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "10.0.7"
}
],
"wasmHostProperties": {
"perHostConfig": [
{
"name": "browser",
"host": "browser"
}
]
},
"configProperties": {
"Microsoft.AspNetCore.Components.Routing.RegexConstraintSupport": false,
"Microsoft.Extensions.DependencyInjection.VerifyOpenGenericServiceTrimmability": true,
"System.ComponentModel.DefaultValueAttribute.IsSupported": false,
"System.ComponentModel.Design.IDesignerHost.IsSupported": false,
"System.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerialization": false,
"System.ComponentModel.TypeDescriptor.IsComObjectDescriptorSupported": false,
"System.Data.DataSet.XmlSerializationIsSupported": false,
"System.Diagnostics.Metrics.Meter.IsSupported": false,
"System.Diagnostics.Tracing.EventSource.IsSupported": false,
"System.GC.Server": true,
"System.Globalization.Invariant": false,
"System.TimeZoneInfo.Invariant": false,
"System.Linq.Enumerable.IsSizeOptimized": true,
"System.Net.Http.EnableActivityPropagation": false,
"System.Net.Http.WasmEnableStreamingResponse": true,
"System.Net.SocketsHttpHandler.Http3Support": false,
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
"System.Resources.ResourceManager.AllowCustomResourceTypes": false,
"System.Resources.UseSystemResourceKeys": true,
"System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeSupported": true,
"System.Runtime.InteropServices.BuiltInComInterop.IsSupported": false,
"System.Runtime.InteropServices.EnableConsumingManagedCodeFromNativeHosting": false,
"System.Runtime.InteropServices.EnableCppCLIHostActivation": false,
"System.Runtime.InteropServices.Marshalling.EnableGeneratedComInterfaceComImportInterop": false,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
"System.StartupHookProvider.IsSupported": false,
"System.Text.Encoding.EnableUnsafeUTF7Encoding": false,
"System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault": true,
"System.Threading.Thread.EnableAutoreleasePool": false,
"Microsoft.AspNetCore.Components.Endpoints.NavigationManager.DisableThrowNavigationException": false
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
bin/Debug/net10.0/System.Core.dll Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
bin/Debug/net10.0/System.Data.dll Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More