Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ All notable changes. Newest first.
- **Printers and quotas managed on the server.** Administrators add, switch off and remove printers, set pages a month for new people, for everyone or for one person, and see a setup check that names anything still to do. Pages start again each month.
- A printer picker on the phone, and printer panels fixed to one printer by their address (`?printer=`).
- `docs/09-connecting-your-workspace.md`: the ten-minute setup for Microsoft and Google.
- A new README and guides with pictures of every screen taken from the running app (`docs/10-getting-started.md`, `docs/11-fixing-problems.md`), two diagrams, a short demo GIF, and `tools/screenshots/` to make them again.
- A new README and guides with pictures of every screen taken from the running app (`docs/Getting%20started.md`, `docs/Fixing%20problems.md`), two diagrams, a short demo GIF, and `tools/screenshots/` to make them again.
- Phone and printer-panel screens: sign in, choose documents, print, confirmation, administrator view.
- A working .NET 8 backend with protected routes, quota checks on the server, and private demo sandboxes.
- Demo banner and "What is this?" dialog on every screen, sample documents on demand, and **Start over**.
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ flutter run -t frontend/lib/main.dart # the app on built-in sample data
dotnet run --project backend # the API (ASPNETCORE_ENVIRONMENT=Development turns demo sign-in on)
```

The README has the full list of ways to run it, and [`docs/07-architecture-and-api.md`](docs/07-architecture-and-api.md) explains how the pieces fit.
The README has the full list of ways to run it, and [`docs/How%20it%20works.md`](docs/How%20it%20works.md) explains how the pieces fit.

## Before you open a pull request

Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 Pull Print contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
23 changes: 15 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
[![CI](https://github.com/Hikki-dev/pull_printing_app/actions/workflows/ci.yml/badge.svg)](https://github.com/Hikki-dev/pull_printing_app/actions/workflows/ci.yml)
![Flutter](https://img.shields.io/badge/Flutter-3.x-02569B?logo=flutter&logoColor=white)
![.NET](https://img.shields.io/badge/.NET-8-512BD4?logo=dotnet&logoColor=white)
[![Live demo](https://img.shields.io/badge/live-demo-0B5CAD)](https://pull-print-demo-hikki-devs-projects.vercel.app)
[![Live demo](https://img.shields.io/badge/live-demo-0B5CAD)](https://pull-print-demo.vercel.app)
![Status](https://img.shields.io/badge/status-working%20demo-orange)
[![Licence: MIT](https://img.shields.io/github/license/Hikki-dev/pull_printing_app)](LICENSE)

Send a document to print. It waits safely on a server. It only prints when you walk up to a printer, sign in with your work account and press **Print**. Printers and every person's page limit are managed from one screen.

<p align="center"><img src="docs/images/demo.gif" alt="A short walk through on a phone: sign in, two documents are ticked, the third would go over the page limit, then Print and the confirmation" width="300"></p>

<p align="center"><sub>A short walk through on a phone. <b><a href="https://pull-print-demo-hikki-devs-projects.vercel.app">Try it yourself</a></b>. It runs on sample data, so nothing is really printed and no account is needed.</sub></p>
<p align="center"><sub>A short walk through on a phone. <b><a href="https://pull-print-demo.vercel.app">Try it yourself</a></b>. It runs on sample data, so nothing is really printed and no account is needed.</sub></p>

You do not need to know how any of it works. Every screen says in plain words what to do next.

Expand Down Expand Up @@ -50,11 +51,11 @@ Send once, walk up, sign in, press Print. The server holds the document until th

<p align="center"><a href="docs/images/how-it-fits.svg"><img src="docs/images/how-it-fits.svg" alt="Diagram: a person sends a document, the Pull Print server holds it, at the printer's screen the person signs in and presses Print, the server checks their pages and sends it to the printer. Microsoft 365 or Google Workspace proves who the person is" width="100%"></a></p>

The whole story, including who decides what, is in [Architecture and API](docs/07-architecture-and-api.md).
The whole story, including who decides what, is in [How it works](docs/How%20it%20works.md).

## Try it first

**Live demo: <https://pull-print-demo-hikki-devs-projects.vercel.app>** (runs entirely in your browser on built-in sample data).
**Live demo: <https://pull-print-demo.vercel.app>** (runs entirely in your browser on built-in sample data).

* Press **Sign in with Microsoft**. In the demo that signs you in to a private sandbox as "Alice Tan". No account is needed.
* You start with four sample documents and 38 of 50 pages left.
Expand All @@ -72,7 +73,7 @@ Run the server with your Microsoft 365 or Google Workspace details and people si

## The screens, step by step

Every picture below was taken from the running app. Click one to see it full size. [Getting started](docs/10-getting-started.md) walks through the same screens with more detail, and [how the pictures are made](tools/screenshots/README.md) is explained if you want to refresh them.
Every picture below was taken from the running app. Click one to see it full size. [Getting started](docs/Getting%20started.md) walks through the same screens with more detail, and [how the pictures are made](tools/screenshots/README.md) is explained if you want to refresh them.

### 1. Sign in

Expand Down Expand Up @@ -280,11 +281,12 @@ This is a demo, so on purpose:

| If you want to | Read |
|---|---|
| Follow every screen with pictures | [Getting started](docs/10-getting-started.md) |
| Follow every screen with pictures | [Getting started](docs/Getting%20started.md) |
| Use Microsoft 365 or Google Workspace | [Connecting your workspace](docs/09-connecting-your-workspace.md) |
| Find a quick answer or fix a problem | [Fixing problems](docs/11-fixing-problems.md) |
| Find a quick answer | [Questions and answers](docs/FAQ.md) |
| Fix a problem | [Fixing problems](docs/Fixing%20problems.md) |
| Put the demo online for free | [Hosting the demo](docs/06-demo-hosting.md) |
| Understand how the pieces fit, every route and setting | [Architecture and API](docs/07-architecture-and-api.md) |
| Understand how the pieces fit, every route and setting | [How it works](docs/How%20it%20works.md) |
| See what went wrong from each user's point of view, and the fixes | [Review and fixes](docs/08-review-and-fixes.md) |
| See the screens as designed, with exact wording | [Screen specs](docs/03-screen-specs.md) |
| Answer the questions that change the design | [Open decisions](docs/05-open-decisions.md) |
Expand All @@ -294,6 +296,11 @@ This is a demo, so on purpose:

All the design documents are listed in [`docs/`](docs/README.md).

## Legal and responsibility

* Pull Print is a portfolio and learning project, and a demo. It is not a finished print product, and nothing in the live demo prints on paper.
* The code is released under the [MIT licence](LICENSE), as it is, with no promises.

## Credits

The Microsoft and Google marks on the sign-in buttons are drawn to their published rules and are placeholders: swap in their own assets before a public launch. Printer and document pictures are drawn for this project.
Expand Down
2 changes: 1 addition & 1 deletion docs/03-screen-specs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Seven screens. Images are the mockups in [`design/screens/`](design/screens/).

> The pictures below are the **mockups** the app was built from. For pictures of the screens as built, see [Getting started](10-getting-started.md).
> The pictures below are the **mockups** the app was built from. For pictures of the screens as built, see [Getting started](Getting%20started.md).

## Wording

Expand Down
4 changes: 2 additions & 2 deletions docs/09-connecting-your-workspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ How to make Pull Print use your organisation's own accounts, so people sign in w

Pick the one you use. It takes about ten minutes, and you do it once.

> **Honest status.** The sign-in is built and tested against a **simulated** Microsoft/Google sign-in (the whole round trip, including refusing the wrong organisation). It has **not been run against a real tenant**, because that needs your account. Follow the steps below on a test tenant first. If something does not work, see [Fixing problems](11-fixing-problems.md); the **Setup** card on the administrator screen says what is missing, and [issue #2](https://github.com/Hikki-dev/pull_printing_app/issues/2) is where to report it.
> **Honest status.** The sign-in is built and tested against a **simulated** Microsoft/Google sign-in (the whole round trip, including refusing the wrong organisation). It has **not been run against a real tenant**, because that needs your account. Follow the steps below on a test tenant first. If something does not work, see [Fixing problems](Fixing%20problems.md); the **Setup** card on the administrator screen says what is missing, and [issue #2](https://github.com/Hikki-dev/pull_printing_app/issues/2) is where to report it.

## How it works, in one picture

Expand Down Expand Up @@ -118,7 +118,7 @@ Administrators get a Setup card. It lists what is still to do and shows the exac

![Setup card with the sign-in address to register](images/setup-2-register-address.png)

When nothing is left it says **Setup is complete**. Every screen is shown in [Getting started](10-getting-started.md).
When nothing is left it says **Setup is complete**. Every screen is shown in [Getting started](Getting%20started.md).

## When someone cannot sign in

Expand Down
17 changes: 17 additions & 0 deletions docs/FAQ.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Questions and answers

Short answers. For error messages and what to do about them, read [Fixing problems](Fixing%20problems.md).

**Is anything really printed?** Not yet. Printing goes through `IPrintDispatcher`, which is simulated. A real printer needs a real dispatcher ([issue #5](https://github.com/Hikki-dev/pull_printing_app/issues/5)).

**Can I send my own file?** Not yet. The demo makes sample documents. See [issue #4](https://github.com/Hikki-dev/pull_printing_app/issues/4).

**When do page limits start again?** On the 1st of every month, UTC.

**What is the difference between the live demo and the full stack?** The live demo on Vercel runs entirely in your browser on sample data. The full stack runs the real server, with its sign-in, printers and limits. See [Hosting the demo](06-demo-hosting.md).

**Do I lose my data if the server restarts?** Yes, for now. People, printers, limits and documents are held in memory until a database backs `IPrintStore` ([issue #3](https://github.com/Hikki-dev/pull_printing_app/issues/3)). Sign-in sessions survive a restart only if `Auth__SigningKey` is set.

**Who can see my documents?** Only you. The server ignores any document that is not yours and waiting.

**Is this a finished product?** No. It is a working demo and a prototype of the idea. See the Limits in the [README](../README.md#limits).
14 changes: 2 additions & 12 deletions docs/11-fixing-problems.md → docs/Fixing problems.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
# 11 Fixing problems
# Fixing problems

Quick answers first, then fixes. If your problem is not here, [open an issue](https://github.com/Hikki-dev/pull_printing_app/issues/new/choose) and say what you pressed, what you saw, and what you expected.

## Quick answers

**Is anything really printed?** Not yet. Printing goes through `IPrintDispatcher`, which is simulated. A real printer needs a real dispatcher ([issue #5](https://github.com/Hikki-dev/pull_printing_app/issues/5)).

**Can I send my own file?** Not yet. The demo makes sample documents. See [issue #4](https://github.com/Hikki-dev/pull_printing_app/issues/4).

**When do page limits start again?** On the 1st of every month, UTC.

**What is the difference between the live demo and the full stack?** The live demo on Vercel runs entirely in your browser on sample data. The full stack runs the real server, with its sign-in, printers and limits. See [Hosting the demo](06-demo-hosting.md).

**Do I lose my data if the server restarts?** Yes, for now. People, printers, limits and documents are held in memory until a database backs `IPrintStore` ([issue #3](https://github.com/Hikki-dev/pull_printing_app/issues/3)). Sign-in sessions survive a restart only if `Auth__SigningKey` is set.

**Who can see my documents?** Only you. The server ignores any document that is not yours and waiting.
The short ones are in [Questions and answers](FAQ.md). The fixes are below.

## People printing

Expand Down
8 changes: 4 additions & 4 deletions docs/10-getting-started.md → docs/Getting started.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# 10 Getting started
# Getting started

This page walks through Pull Print one screen at a time, for the three kinds of people who use it: someone printing, someone at a printer's own screen, and an administrator. Every picture was taken from the running app.

Click any picture on GitHub to open it full size.

## Before you start

You can try everything with nothing installed: open the [live demo](https://pull-print-demo-hikki-devs-projects.vercel.app). It runs on sample data, so nothing is really printed and no account is needed.
You can try everything with nothing installed: open the [live demo](https://pull-print-demo.vercel.app). It runs on sample data, so nothing is really printed and no account is needed.

To run your own copy, see the [README](../README.md#run-it-yourself). To use your organisation's accounts, see [Connecting your workspace](09-connecting-your-workspace.md).

Expand Down Expand Up @@ -131,6 +131,6 @@ If the demo is still on, a **Try the demo instead** link is shown too. Turn the

## What next

* Something not working? See [Fixing problems](11-fixing-problems.md).
* Something not working? See [Fixing problems](Fixing%20problems.md).
* Connect your own accounts: [Connecting your workspace](09-connecting-your-workspace.md).
* How the pieces fit and every route: [Architecture and API](07-architecture-and-api.md).
* How the pieces fit and every route: [How it works](How%20it%20works.md).
2 changes: 1 addition & 1 deletion docs/07-architecture-and-api.md → docs/How it works.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 07 Architecture and API
# How it works

How the pieces fit, what the server decides, and every route with an example.

Expand Down
7 changes: 4 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@ Guides for using and setting up Pull Print, and the design documents behind it.

| Document | What it covers |
|---|---|
| [10 Getting started](10-getting-started.md) | Every screen with pictures: printing, the printer's own screen, administrators, work-account sign-in |
| [Getting started](Getting%20started.md) | Every screen with pictures: printing, the printer's own screen, administrators, work-account sign-in |
| [09 Connecting your workspace](09-connecting-your-workspace.md) | Sign in with Microsoft 365 or Google Workspace, add printers, set page limits: the ten-minute setup |
| [11 Fixing problems](11-fixing-problems.md) | Quick answers and what to do when something does not work |
| [Fixing problems](Fixing%20problems.md) | Quick answers and what to do when something does not work |
| [Questions and answers](FAQ.md) | Short answers: is anything printed, who sees my documents, what happens on restart |
| [01 Product brief](01-product-brief.md) | Who uses it, the one job it must do fast, speed targets, scope |
| [02 User flows](02-user-flows.md) | Step-by-step flows for printing, releasing and administering |
| [03 Screen specs](03-screen-specs.md) | Each mockup with its purpose, contents, states and exact wording |
| [04 Design guidelines](04-design-guidelines.md) | Colours, type, sizes, accessibility, and what we will not use |
| [05 Open decisions](05-open-decisions.md) | Questions that change the design and need an answer |
| [06 Hosting the demo](06-demo-hosting.md) | Putting the demo online for free, settings, what to expect |
| [07 Architecture and API](07-architecture-and-api.md) | How the pieces fit, who decides what, every route with an example |
| [How it works](How%20it%20works.md) | How the pieces fit, who decides what, every route with an example |
| [08 Review and fixes](08-review-and-fixes.md) | What went wrong from each user's point of view, how it was found, and the fix |

## Pictures
Expand Down
Binary file added docs/images/social-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading