OnEveryThingIn progressDeep Blue theme

OnStudy

OnStudy is a cross-platform, local-first learning workspace built with C# and .NET MAUI. It organises courses into workspaces, keeps documents available for reading and revision, and brings quizzes, flashcards, notes and exam planning together. Document-based AI explanations and optional Google Drive access complement local storage rather than replacing it.

C#.NET MAUIXAMLGoogle DriveOAuthGeminiOpenAI
OSOnStudy
C#Main technology
261Tracked files*
184.cs files
28.xaml files
01 · What it does

What the application does

Capabilities evidenced by project documentation and source structure; some behaviours require platform configuration.

01

Course workspaces and offline documents

Organise documents and folders by course, keep locally stored learning material available offline, and navigate within a workspace without switching between unrelated applications.

02

PDFs, presentations and document reading

Open PDFs and supported documents inside the study environment. Office previews use the renderer available on the platform; the original file stays organised in its course folder.

03

Document-assisted explanations

Select relevant material and request explanations from a configured AI provider. The application separates the source material from generated answers, which should be checked against the original document.

04

Quizzes and review statistics

Create questions manually or derive them from supported content. Record attempts and compare results over time to identify topics that need more revision.

05

Flashcards and spaced review

Group flashcards into folders, reveal answers in focused study sessions and revisit cards according to their review status. The interface adapts between desktop and phone layouts.

06

Notes, planning and optional Drive access

Keep notes and exam planning alongside subject content. Optional Google Drive Picker access is for explicitly selected files and complements the local-first workspace.

07

Shared-file selection with Google Picker

When Google Drive is connected, the Picker lets users select authorized shared files deliberately. Those cloud resources complement the local document library; access is scoped to the selected items and may require connectivity.

02 · Technical structure

How the system works

Technical architecture drawn from the repository and supplied documentation.

01

OnStudy hosts MAUI XAML pages, navigation and view models; dependency injection is composed by MauiProgram.

02

Application services coordinate learning workflows and define interfaces for repositories and providers.

03

Local infrastructure persists per-account files and JSON; document infrastructure imports and reads source material.

04

Cloud and AI adapters keep optional provider integrations separate from the core learning experience.

01 · Input or user action

The workflow starts with the corresponding user choice or data entry. Subject-based workspaces and a local document library with offline access. This capability is documented in the project material; the detail page distinguishes its intended user experience from the supporting implementation and any configuration needed to run it.

02 · Application processing

The relevant component must interpret the input, apply the project rules and coordinate any necessary storage, network access or computation. The documentation below identifies where that responsibility appears in the source when it is evidenced.

03 · Result and feedback

The resulting screen, calculation or stored record should reflect the processed state. Document-based AI explanations with configurable providers. This capability is documented in the project material; the detail page distinguishes its intended user experience from the supporting implementation and any configuration needed to run it.

04 · Boundaries and verification

This page describes the documented behaviour, not an independently verified live deployment. Runtime configuration, permissions, test data or connected services may still be required.

PROJECT WALKTHROUGH

Modules & engineering details

How the major parts fit together and what each part contributes.

01

Course workspaces and offline documents

Users can organise learning resources by subject, workspace and folder. Local repositories preserve study material and make the application useful when network services are unavailable.

02

Document reading and conversion

The reading layer supports PDFs and other documented formats with platform-specific viewer behaviour. Office and presentation previews depend on the renderer or integration available on the active device.

03

Quizzes and revision workflows

Questions can be created manually or derived from documents. Quiz sessions and flashcard review are part of the study workflow, supported by progress and scheduling features.

04

Flashcards and learning sessions

Cards can be grouped, imported and studied in focused sessions. The interface adapts between compact and larger presentation modes, including touch-oriented interaction on phones.

05

Grounded AI study assistance

AI providers can produce explanations or study materials informed by selected documents. Provider credentials, token usage and network availability are separate from offline document access.

06

Google Drive integration

The cloud workflow uses Google account authorisation and the documented Google Picker approach for supported user selections. Access is opt-in and should be described separately from local file storage.

07

Notes, exams and progress

Notes, exam planning and study statistics connect reading with revision. The goal is a single, subject-based workspace instead of multiple disconnected utilities.

08

Application structure

MAUI pages and XAML provide the user interface. Dependency injection registers application services, local repositories and integrations; platform-specific readers are implemented behind the relevant interfaces.

Document creation, revision and cloud boundaries

The current OnStudy README describes a larger learning workflow than a document viewer alone. These notes connect the documented user-facing tools to the local-first architecture.

01

Document Creation and Editing

A built-in creator supports six document formats. It belongs next to imported course material so users can switch from reading to producing notes and study documents.

02

Revision and learning statistics

Quizzes can be written manually or derived from source documents; flashcards support Again, Hard, Good and Easy review choices. Quiz attempts and review activity contribute to progress tracking.

03

Google Drive and sharing

Drive is optional: locally stored workspaces remain usable without an account. Where supported, selected workspaces can be synchronized, shared, and restored; shared-resource discovery is read-only.

04

Preferences and accessibility

The README documents eleven themes, study settings and platform-aware layouts. Personalisation is independent of the content model.

Documentation: GitHub repository / project specification. The content describes documented behaviour or plans; deployment readiness is not inferred.

03 · Product walkthrough

One workspace for every study workflow

01 / 07

Organise your learning

Choose a course workspace, create folders for materials and import files. The screenshot demonstrates how the study root and course folders remain in one navigable location.

OnStudy — Organise your learning screenshot
02 / 07

Read and annotate

Open course materials in a viewer appropriate to the format. Preview behaviour depends on the platform and available renderer; original documents remain organised in the workspace.

OnStudy — Read and annotate screenshot
03 / 07

Build practice quizzes

Create questions manually or start from selected document content. Review answers within a session rather than keeping quizzes separate from the course they belong to.

OnStudy — Build practice quizzes screenshot
04 / 07

Review flashcards

Group cards by subject and practise in repeatable sessions. Cards support focused study, and the mobile presentation adapts to smaller touch screens.

OnStudy — Review flashcards screenshot
05 / 07

Track quiz results

Inspect attempts, average results and best scores by quiz. This feedback helps identify which topics need another revision session.

OnStudy — Track quiz results screenshot
06 / 07

Plan study time

Keep exams and learning goals together with notes and course content, so planning can follow the same subject organisation.

OnStudy — Plan study time screenshot
07 / 07

See progress at a glance

Optional provider integrations complement the offline-first model; Google Picker controls authorized shared Drive selection and AI assistance depends on provider access.

OnStudy — See progress at a glance screenshot

The screenshots above show the documented application workflows. Local workspaces, revision tools and optional online integrations are presented together without replacing the original course files.

04 · Source and design

Implementation examples and code walkthrough

Account-aware persistence registered with MAUI dependency injection

OnStudy/OnStudy/MauiProgram.csGitHub code excerpt
C#
var dataDirectory = Path.Combine(FileSystem.AppDataDirectory, "onstudy");

builder.Services.AddSingleton(_ => new AccountStorageService(dataDirectory));
builder.Services.AddSingleton<IWorkspaceRepository>(sp =>
{
    var storage = sp.GetRequiredService<AccountStorageService>();
    return new FileWorkspaceRepository(() => storage.GetDataFilePath("workspaces.json"));
});

Flashcards due for review

C#

The review queue is filtered against the current UTC timestamp; overdue cards are sorted ahead of newly created items.

OnStudy/OnStudy.Application/Flashcards/FlashcardService.csSelected source excerpt
public async Task<IReadOnlyList<Flashcard>> GetDueAsync(Guid? folderId = null, CancellationToken cancellationToken = default) =>
    (await repository.GetAllAsync(cancellationToken))
    .Where(card => (folderId is null || card.FolderId == folderId) &&
                   (card.NextReviewAt is null || card.NextReviewAt <= DateTime.UtcNow))
    .OrderBy(card => card.NextReviewAt ?? DateTime.MinValue)
    .ThenBy(card => card.CreatedAt)
    .ToList();

Serialising quiz attempts

C#

Versioned JSON records preserve quiz completion history and make progress snapshots portable.

OnStudy/OnStudy.Application/StudyArtifacts/ProgressSnapshotSerializer.csSelected source excerpt
public static string SerializeQuizAttempts(IEnumerable<QuizAttempt> attempts)
{
    var document = new QuizProgressDocument
    {
        Version = 1,
        UpdatedAt = DateTime.UtcNow,
        Attempts = attempts.OrderBy(x => x.CompletedAt).ToList()
    };
    return JsonSerializer.Serialize(document, JsonOptions);
}

Code samples are excerpts or documented illustrations; surrounding project files, configuration and dependencies may be required to compile or run them.

06 · Technology

Programming languages & stack

C#
.NET 9
.NET MAUI
XAML
MVVM
JSON
Google Drive API
OAuth
OpenAI
Gemini
ASP.NET Core

Core technologies and integrations used or planned for this project.

File types identified: 184 .cs, 28 .xaml, 10 .csproj, 3 .html

07 · Reality check

Status, evidence & limitations

The project status is based on repository sources and supplied documentation. It may be updated as the project evolves. A published case study is not a certification of production readiness.
  • Cloud providers, document conversions and AI features may need credentials and network access.
  • Only non-sensitive supplied screenshots are included in the public presentation.
08 · Resources

Downloads & project resources

Installers appear only after a verified release is added to the public download directory. Unavailable builds are marked clearly.

↓Windows EXEComing soon↓Android APKComing soon
Source and platform support may change. An installer is not implied by the existence of source files.