GitHub import, push and build
Import an app from a public, private or organisation repository, push your app's code back to GitHub, and build a React or Vite project on GitHub with a workflow you add yourself.
You can bring an existing project from GitHub into a note and run it as an app, send an app's code to a GitHub repository, and let GitHub build a project that needs a build step. SeeMyNotes never runs npm install or a build on its own servers.
Import a repository
Open an app note and choose Import from GitHub in the toolbar. After the first import the button reads Update from GitHub.
Choose the repository:
A public repository: paste its address, for example
https://github.com/name/project.A private or organisation repository: connect your GitHub account first (below), then pick it from the list.
Optionally open Advanced to set the Branch (empty means the default branch), the Entry file (empty means
index.html) and the Files to publish (one pattern per line, for exampledist/**; empty means the whole repository).Start the import. SeeMyNotes downloads the repository, checks the files and publishes a version.
The note becomes the app: readers see the app, not the note text. The text is kept. The import is screened like any other version. If screening flags it, the version is imported but not live; review the report and publish it anyway with a reason, or fix the repository and import again. Update from GitHub imports the latest commit again.
Static sites and React projects
An app needs an index.html (or an entry file you name). A repository with ready-built files, such as a dist folder, imports directly. A source project that needs a build step needs the build on GitHub flow below. Imports use only the library catalog: a repository that loads packages that are not in it is refused, with a list of what to change.
Connect your GitHub account
For private and organisation repositories, and for pushing, SeeMyNotes connects to GitHub through its own GitHub App. It asks only for read and write access to repository contents and read access to metadata, on the repositories and organisations you choose.
In the GitHub panel, choose Connect GitHub. A GitHub window opens.
Choose which repositories or organisations to share with SeeMyNotes, and approve.
Return to SeeMyNotes. It shows Connected as your GitHub name.
To add more repositories later, choose Share more repositories or organisations with SeeMyNotes. To remove access, choose Disconnect GitHub: SeeMyNotes deletes its access and removes its authorization on GitHub. Your repositories are not changed.
Push your app to GitHub
Pushing sends the app's live code to a repository and branch you choose. Its variables, secrets, connections and data stay in SeeMyNotes.
In the GitHub panel, choose a repository, or Create a repository... (personal or organisation, private or public).
Enter the branch (Push to branch). A new branch is created when you push.
Write a commit message and choose Push to GitHub.
If nothing changed, SeeMyNotes says so and makes no commit. You also get a link to view the commit. A push needs a live version.
Update automatically from GitHub
Instead of choosing Update from GitHub each time, you can let GitHub tell SeeMyNotes about every push.
Open the app note and choose Update from GitHub in the toolbar.
In the panel Automatic updates, turn on Update automatically from GitHub. It is off by default and is set per app.
With it on, each push builds the latest commit of the app's branch, read from GitHub at that moment, not the commit the notification names; if that commit is already live, nothing is built. Late or repeated notifications therefore never put an older version back. The version goes live when screening passes; a version that screening flags waits for your review, as it does with Update from GitHub. If several pushes arrive while an update is running, one more update of the latest commit follows.
What it needs:
Studio. While Studio is paused for the account, pushes are not built.
An app imported through your GitHub connection. Choose the repository from the list. An app imported from a pasted public address must be imported again that way.
The SeeMyNotes GitHub App on the repository. Turning automatic updates on checks that the app is installed on the repository, in your GitHub account or organisation installations, also for public repositories. If it is missing, the panel says so and offers Install it on the repository, a link to add it on GitHub.
A confirmation for a private repository feeding a public app, asked once when you turn the switch on (Turn on and publish pushes). Turning the switch off forgets that consent. The confirmation is recorded only when the app is public at that moment. If the app becomes public later, automatic updates stop with the reason "The repository is private and the app became public. Turn automatic updates off and on again to confirm." until you turn them off and on again and confirm. Importing from another repository turns automatic updates off.
The panel shows Last automatic update: the commit, the time and the result (Live, Waiting for your review, Failed or Not built), with the reason in plain words. The hourly import limit applies to automatic updates too.
Build on GitHub
Some projects are written with a build tool, for example a React project built with Vite. Their output is not the code in the repository, so they need a build. SeeMyNotes does not build on its servers. Instead:
SeeMyNotes looks at your repository and recognises a project that needs a build. It needs a
package.jsonwith abuildscript, apackage-lock.json(the workflow installs withnpm ci) and only npm as package manager.It shows you a small workflow file to add to your repository.
You commit that file on GitHub.
GitHub builds the code on its own machines when you push, and publishes the result to a separate branch named
seemynotes-build.SeeMyNotes imports that branch.
Add the workflow
Open the GitHub panel for the repository. When the repository needs a build, it says so and shows the detected tool.
Choose the Folder the build writes to (usually
distfor Vite,buildfor Create React App,outfor a static Next.js export). The build must write anindex.htmlthere.Choose Review the workflow file and read the file. It is exactly what you will add: nothing hidden.
Choose Create the file on GitHub. GitHub opens its page for a new file at
.github/workflows/seemynotes-build.yml. If the file is too long for GitHub's address, choose Copy the file and paste it into the page. Commit it.Back in SeeMyNotes, choose I added it: check again.
Push code to the source branch. GitHub runs the workflow; you can watch it in the repository's Actions tab.
When the build has run, choose Import the latest build.
What the workflow does
It runs on GitHub only. SeeMyNotes does not write to your repository and needs no extra GitHub permission: you commit the file, and you can delete it any time.
The build job has read access only and never sees a token. It installs with
npm ci, runsnpm run build, checks that the output folder has anindex.html, deletes source maps and uploads the result.A second job, which runs no
npmand no code from your repository, publishes the output to theseemynotes-buildbranch.It uses no secrets. Source maps (
*.map) are never published.
Keep it up to date
Reopen the GitHub panel to see the state of the build: No build yet, Built from the latest commit or A newer commit is not built yet. When a newer build is available, choose Update the app. Updating a build is your choice. To have each push imported without opening the panel, use automatic updates.
When the build is not offered
The panel lists what is missing:
| Message | What to do |
|---|---|
| package.json has no build script | Add a build script. |
| The repository needs a package-lock.json | Commit the lockfile created by npm. |
| Only npm is supported for builds on GitHub | Use npm instead of yarn or pnpm. |
| The npm packages are not all in the library catalog | See Library catalog and use catalog libraries. |
Restore and history
An imported or pushed app keeps its versions. Restore a previous commit's import from the app's history. See History, checkpoints and export.