Build Tessera from Source and Access It with Localtonet
Install and verify Tessera from source, configure its local web server, and connect the working interface through a Localtonet HTTP tunnel.
In this article 10 sections
Run a pinned Tessera source revision locally, verify the live workspace, then provide temporary remote access through an HTTP tunnel
Tessera is a local control room for organizing AI coding sessions across projects, tabs, panes, collections, and Git worktrees. This guide checks out a specific Tessera source revision, installs its dependencies, and starts the documented development server with npm run dev. It then verifies the browser interface and live connection before mapping the working local service to a public HTTPS address with Localtonet. The source procedure shown here is a development workflow, not a documented production build or unattended deployment.
📋 What's in this guide
How Tessera and Localtonet fit together
Tessera describes itself as a workspace for organizing AI coding sessions across projects, collections, tabs, panes, and Git worktrees. The checked project description also identifies Claude Code, Codex, and OpenCode as supported coding-agent environments. This makes Tessera more sensitive than an ordinary demonstration website. Depending on the provider tools and project permissions configured on the host, an authenticated user may be able to inspect project files, modify source code, interact with Git worktrees, and cause provider tools to execute development commands.
Localtonet does not install Tessera or replace its application controls. Our HTTP tunnel supplies a network path from a public HTTPS address to a local HTTP service. The Localtonet client establishes an outbound connection to a Localtonet relay, so the workflow does not require inbound router port forwarding, a public IP address, VPN setup, or unsolicited inbound firewall changes.
The safest sequence is therefore local first and public second. Start Tessera on the host, complete the setup offered by the checked revision, verify the intended project and provider behavior, and confirm that live browser updates work. Only then should you configure a Localtonet HTTP tunnel to the exact local address that you tested.
npm run dev. It does not establish a production build in this tutorial.
This tutorial uses npm run dev because that is the source-start procedure established by the reviewed workflow. A development server is intended for active development and observation. Do not treat it as a documented production build, service manager configuration, or unattended deployment. Use the public tunnel only for a controlled access window, keep the process and logs under observation, and stop the tunnel when the session ends.
Localtonet can carry the browser traffic, including application requests that use WebSockets, but a successful page load is not enough to validate the complete application. Tessera must remain running, the Localtonet client must remain connected, the tunnel must be started, and the browser's live connection must continue to work. The verification sections below test these layers independently.
Choose and record the Tessera source revision
Tessera's default branch is dev, and it changes rapidly. Instructions copied from an earlier release can become inconsistent with current package metadata, environment handling, setup screens, or runtime behavior. For that reason, this tutorial does not combine an old release description with an unpinned default-branch checkout.
The source baseline reviewed for this revision of the article is:
- Repository:
horang-labs/tessera - Branch observed:
dev - Commit reviewed:
4b115e9ba30708db85dd01645c602b63ecb94fe9 - Evidence review date:
2026-08-20
Pinning the commit prevents a later dev update from silently changing the files between cloning and installation. It does not turn the development branch into a production release, and it does not guarantee compatibility with future provider tools. It simply makes the source tree used by this tutorial identifiable.
Use a pinned development-branch commit when you need to inspect or work on the current source represented by this guide. For a release-based deployment, select a current Tessera release and follow the installation and migration instructions attached to that release. Do not assume that development-branch commands, package requirements, configuration fields, or data migrations also govern another release.
The evidence available for this revision confirms the source development command but does not establish a supported production build command followed by a production-start command. We therefore do not add generic commands such as npm run build or npm start. A script name that is common in other Node.js projects is not automatically a supported Tessera deployment procedure.
Prepare the host and workspace
Use a machine on which you can run Git, Node.js, npm, a browser, the desired coding-provider tools, and the Localtonet client. Because dependency requirements can change on the dev branch, use the runtime requirements declared by the pinned checkout rather than copying a version range from an older article or release.
Confirm Git, Node.js, and npm are available
Run these checks in the same terminal and operating-system account that will own the Tessera checkout:
git --version
node --version
npm --version
These commands confirm that the tools are available, but the version output still needs to be compared with the requirements in the pinned repository's package metadata and current project documentation. If the checkout rejects the installed runtime, install a compatible Node.js and npm combination through the supported package or version manager for your operating system.
This article intentionally does not repeat an exact Node.js range because the audit found that the rapidly moving branch had already diverged substantially from the previously cited release. The pinned repository files are authoritative for this checkout.
Prepare the provider environment separately
The reviewed Tessera project description identifies Claude Code, Codex, and OpenCode. Install and authenticate only the provider tools you intend to use, following the provider's current instructions. Provider accounts, credentials, model availability, subscriptions, and usage policies are separate from Tessera and Localtonet.
Do not place provider credentials in the Tessera source tree or in Localtonet tunnel fields. Run Tessera under the operating-system account whose provider environment and project permissions you deliberately intend it to use.
Select a least-privilege project
Begin with a test repository or another project whose changes are tracked and recoverable. Avoid selecting an entire home directory, a credentials directory, a filesystem root, or a parent folder containing unrelated projects. A coding-agent control surface may expose file content and may allow authenticated provider tools to execute commands in the selected development context.
Tessera is an AI coding workspace, not a read-only status dashboard. Depending on the tools and permissions configured on the host, access can lead to project-file reads and writes, Git operations, and command execution through authenticated provider tools. Use a dedicated test project, keep changes under version control, review diffs, use strong application credentials where the checked revision provides account authentication, and expose the interface only for the minimum required time.
Create a Localtonet account and prepare the client
You will need a Localtonet account and a Localtonet client running on a device that can reach Tessera. Running both applications on the same machine is the simplest arrangement because the tunnel can target the local listener without making Tessera reachable across the LAN.
Each Localtonet device uses a device-specific authentication token. Treat that token as a credential. Do not commit it to the Tessera repository, paste it into screenshots, expose it in browser content, or share it in troubleshooting logs.
| Prerequisite | Check | Reason |
|---|---|---|
| Git | git --version |
Clones the repository and checks out the pinned revision. |
| Node.js and npm | node --version and npm --version |
Install dependencies and run the source development script. |
| Provider environment | Current provider-specific installation and authentication check | Allows Tessera to work with the coding provider selected by the user. |
| Controlled project | A test or version-controlled repository | Limits the files and development actions available during evaluation. |
| Local browser | Can reach the URL printed by Tessera | Establishes a working local baseline before tunneling. |
| Localtonet account and client | Client is connected on a device that reaches Tessera | Creates the outbound connection used by the HTTP tunnel. |
Run the pinned Tessera revision from source
Run the following sequence from a directory where your user can create the repository. The checkout command is important because a plain clone of the changing dev branch would not remain tied to the article's reviewed revision.
Clone the Tessera repository
Download the official repository into a new tessera directory.
git clone https://github.com/horang-labs/tessera.git
Enter the checkout
Run all remaining repository commands from the cloned project root.
cd tessera
Check out the reviewed commit
Detach the working tree at the exact revision reviewed for this tutorial so later branch changes do not alter the installation unexpectedly.
git checkout 4b115e9ba30708db85dd01645c602b63ecb94fe9
Confirm the selected revision
Print the checked-out commit and compare it with the revision above before installing dependencies.
git rev-parse HEAD
Install project dependencies
Use the documented source installation command. Stop and resolve any runtime, package, network, or filesystem error instead of continuing with an incomplete dependency tree.
npm install
Start the development server
Start Tessera with the documented development script and keep the terminal open. Record the local URL printed by the checked revision rather than assuming a port from an older release.
npm run dev
The startup output is the source of truth for the listener used in the rest of this tutorial. Record its host and port as two separate values. For example, if the application prints a local URL with host 127.0.0.1 and a particular port, those are the values you will test in the browser and later enter as the Localtonet local target.
Ports, host bindings, environment variables, and startup behavior can change on a development branch. Use the address printed by the pinned process and confirmed in your browser. If no usable address appears, inspect the startup error before creating a tunnel.
Complete only the setup shown by the checked revision
Open the printed local URL in a browser on the Tessera host. Follow the setup prompts presented by that revision. If it offers application account creation, use a strong, unique password before remote access. If it requests a project, select the least-privilege test repository prepared earlier. If it checks for a provider tool, complete that provider's supported host-side installation and authentication rather than placing provider secrets into the browser or tunnel configuration.
First-run screens can change independently from the development command. This article does not invent button names, mandatory fields, storage paths, or setup stages that are not established by the reviewed evidence. The operational goal is clear: reach an authenticated workspace where the intended project is visible and a small provider-backed test can be performed locally.
Do not convert this into an unattended service by assumption
Keep the terminal running during the tutorial. No production build command, production-start command, service unit, supervisor configuration, or restart policy is established here. If you need an unattended deployment, use a current Tessera release and its current deployment documentation instead of wrapping npm run dev in an improvised production service.
Verify Tessera locally before creating a tunnel
Local verification separates application failures from tunnel failures. If Tessera does not work through its local URL, Localtonet cannot repair it. If every local check succeeds but the public path fails, investigate the Localtonet device, target, lifecycle, and browser connection.
Verify the local WebSocket connection
Tessera uses live browser communication for session activity. Open the browser's developer tools, select the Network panel, and filter for WebSocket connections. Reload the page if necessary, then interact with a small test session. A healthy test should show a WebSocket connection that remains open while live updates continue.
Record whether the local browser receives new output without repeatedly refreshing. If the page renders but the live connection closes immediately, troubleshoot Tessera locally. Do not create a public tunnel merely because the initial HTML appeared.
Record the exact target
Write down the host and port from the working local URL. The Localtonet client must be able to reach that same pair. If both programs run on the same machine and Tessera listens on loopback, use the loopback IP shown by the working URL. If they run on different devices, loopback on the Localtonet device points to that device itself, not to the Tessera host.
| Check | Success means | If it fails |
|---|---|---|
| Local page | The source process serves the browser interface. | Inspect startup output, dependencies, listener address, and server logs. |
| Application access | The current revision's account or setup flow works. | Resolve application configuration before public exposure. |
| Project access | Tessera can reach only the intended working project. | Correct host permissions or choose a narrower project folder. |
| Provider task | The selected provider environment works for the process account. | Repair provider installation or authentication outside Localtonet. |
| WebSocket activity | Live session updates continue without manual refreshes. | Inspect browser and Tessera logs before adding the tunnel. |
Configure the Localtonet HTTP tunnel
Use an HTTP tunnel because Tessera presents a browser-based HTTP application. The following sequence includes the complete tunnel lifecycle: account and client preparation, device selection, process type, relay selection, target fields, creation, startup, status confirmation, public verification, and shutdown.
Sign in and run the Localtonet client
Sign in to your Localtonet account, install the appropriate Localtonet client, and run it on the Tessera host whenever possible. The device must be able to reach the locally verified Tessera address.
Select the connected device or authentication token
In the HTTP tunnel configuration, select the device-specific authentication token associated with the client that will carry the tunnel. Confirm that this is the intended machine and keep the token private.
Choose the process type
Select Random Sub Domain, Custom Sub Domain, or Custom Domain according to the choices currently available for your account and configuration. Each HTTP process type serves the tunneled content at a public HTTPS address. Use Random Sub Domain for the simplest temporary workflow unless you have already prepared the requirements for another supported option.
Select an available relay server
Choose a server or region from the values currently displayed in the dashboard. Do not copy a server code from an older article because available values can vary.
Enter the local IP address
Enter the IP address from the working local Tessera target. When the client and Tessera run on the same machine and the tested URL uses loopback, enter that loopback address. Do not use loopback when the client runs on a different device.
Enter the verified local port
Enter the port printed by the pinned Tessera development process and confirmed in the local browser. Do not substitute a port associated with a different release, package, container, or previous checkout.
Create the HTTP tunnel
Create or save the tunnel after checking the selected device, process type, relay, local IP address, and local port. Creation stores the configuration but does not mean that the tunnel is running.
Start the tunnel
Use the Start button for the newly created tunnel. The Tessera development process and selected Localtonet client must both remain running.
Confirm the connected status
Verify that the selected device is connected and that the tunnel reports a running or connected state. A saved but stopped tunnel does not forward traffic.
Verify the public HTTPS address
Open the assigned HTTPS URL in a separate browser context. Complete Tessera's sign-in flow, open the intended test project, and repeat the local page, provider, and live-update checks.
Stop the tunnel after the access window
Stop the tunnel as soon as remote access is no longer required. Delete it if you do not intend to reuse the configuration. You can then stop the Tessera development process after preserving any work and logs you need.
The current interface and available process types can vary by account, client version, or plan. The sequence above remains important: choose the connected device, choose the process type and relay, enter both local target fields, create the tunnel, explicitly start it, confirm status, and test the assigned public URL. Our HTTP tunnel documentation provides the corresponding product page, but the link is a supplement rather than a substitute for the workflow reproduced here.
Repeat the WebSocket test publicly
Open the browser developer tools while using the public HTTPS address. Locate the WebSocket connection, then generate a small amount of activity in the test session. Confirm that the connection remains open and that live output arrives without repeated manual refreshes.
If the public page works but live updates do not, compare the remote browser behavior with the local baseline. Preserve the browser error, Tessera log timing, selected tunnel target, and tunnel status. Do not publish screenshots or logs that reveal the public URL, project paths, account information, provider details, tokens, or session content.
The public endpoint leads to an AI coding control surface that may provide access to project files and command execution through authenticated provider tools. Use strong Tessera application authentication when provided by the checked revision, select only a least-privilege project, keep the development process attended, avoid sharing the URL, and stop the Localtonet tunnel immediately after use. A generated address is not a replacement for authentication.
Secure the workspace before and during remote access
The most important security boundary is the authority held by the Tessera process and its provider tools. If the operating-system account can read a file, modify a repository, use an authenticated provider, or execute a development command, Tessera may be able to expose or exercise some of that authority through its workspace.
Limit project and filesystem scope
Select a dedicated project rather than a broad parent directory. Keep unrelated credentials, deployment keys, personal files, and production repositories outside the selected workspace. Run the evaluation under an operating-system account with only the permissions it needs.
Use application authentication
If the checked Tessera revision provides local account creation or another application sign-in mechanism, configure it before starting the tunnel. Use a strong, unique credential and do not reuse a provider, email, or operating-system password. Test sign-out and sign-in locally, then verify authentication again through the public URL.
Protect provider and Localtonet credentials
Provider credentials belong in the provider's supported local configuration, not in Tessera source files or Localtonet fields. The Localtonet device token must also remain private. Redact tokens, cookies, public endpoints, provider identifiers, repository names, project paths, and session content before sharing diagnostics.
Review changes and commands
Use version control to inspect modifications created during remote sessions. Review diffs and Git status before committing, merging, pushing, or publishing a branch. Do not assume that an agent-generated command is safe merely because it originated inside an authenticated session.
Use lifecycle control as an access restriction
Start the tunnel only when the remote session begins and stop it immediately afterward. Localtonet makes the endpoint available only while the selected client is connected and the tunnel is running. This lifecycle is useful for temporary access, but it does not replace application authentication while the endpoint is active.
| Layer | What it controls | Required practice |
|---|---|---|
| Operating system | Files, processes, provider configuration, and host resources | Run Tessera with least-privilege permissions. |
| Tessera | Application sign-in and workspace behavior where provided | Configure strong authentication before exposure. |
| Selected project | Files and Git state available to the coding workflow | Use a narrow, version-controlled test project. |
| Provider tool | Provider identity and coding-agent capabilities | Use only the intended authenticated provider environment. |
| Localtonet | Public connectivity to the chosen local endpoint | Protect the device token and stop the tunnel when unused. |
Operate, stop, and update the source checkout
Understand the three active components
Remote use depends on Tessera, the Localtonet client, and the Localtonet tunnel. The development server must continue listening, the selected Localtonet client must remain connected, and the tunnel must remain started. A green tunnel status does not prove that Tessera is healthy, and a healthy local Tessera process does not prove that the public tunnel is running.
Stop public access first
At the end of a session, stop the Localtonet tunnel before shutting down the application. This removes the public path while preserving local access long enough to review logs, save work, inspect changes, and confirm that provider tasks have stopped. Delete the tunnel if it is no longer needed.
Stop the development process
After public access has been removed and work has been preserved, stop npm run dev using the normal terminal interruption mechanism. A browser may temporarily display cached content after the server stops, but application requests and live session communication cannot continue.
Do not update a pinned checkout accidentally
The tutorial intentionally uses a detached checkout at a specific commit. Before moving to another commit or release, preserve project work and any application state identified by that version's documentation. Read the target revision's runtime, migration, storage, and installation guidance. Do not assume that a generic git pull is a complete update procedure.
After every intentional update, reinstall dependencies if required by the target revision, start Tessera locally, repeat the account, project, provider, and WebSocket checks, and only then reopen the Localtonet tunnel. If a release supplies a documented production deployment path, keep that workflow separate from this development-branch procedure.
The article does not establish persistence across reboots, automatic restart behavior, production optimizations, a supported reverse proxy, a service supervisor, or a stable data-migration procedure. Those concerns must come from the documentation for the exact Tessera release selected for an unattended deployment.
Troubleshoot the source process and tunnel in order
The checked-out commit is not the expected revision
Run git rev-parse HEAD from the Tessera repository. If it does not print 4b115e9ba30708db85dd01645c602b63ecb94fe9, stop and determine whether you intentionally selected another revision. Commands and behavior may differ on another commit or release.
npm install fails
Confirm that the terminal is in the repository root and that the current user can write to the checkout. Check the installed Node.js and npm versions against the requirements declared by the pinned source. Read the first meaningful package-manager error rather than relying only on the final summary.
Do not start the development server after an incomplete installation. Resolve runtime compatibility, network, package, or filesystem errors and rerun the documented installation command.
npm run dev does not start
Preserve the complete startup error. Common categories include an unsupported runtime, missing dependencies, a listener conflict, an inaccessible path, or application initialization failure. Use the exact behavior of the pinned revision rather than applying an environment variable or port instruction copied from another release.
The local page does not open
Confirm that the development process is still running and use the URL it printed. Test from the Tessera host first. If the application listens only on loopback, another device cannot reach it directly through the Tessera host's loopback address.
The page loads, but the provider does not work
Verify the provider tool outside the tunnel under the same operating-system account that runs Tessera. Provider installation, authentication, account status, and model availability are independent of Localtonet. Restart Tessera after making provider-side changes if the current project documentation requires the application to rediscover the environment.
The local page works, but the public URL does not
Compare the tunnel's local IP address and port with the exact working local target. Then verify that the selected Localtonet device is the machine that can reach that target, the client is connected, and the tunnel was explicitly started. Creating the tunnel alone does not run it.
The public page loads, but live updates fail
Repeat the same activity through the local URL. If WebSockets also fail locally, troubleshoot Tessera. If they work locally but not publicly, record the remote browser's WebSocket error, the Tessera log time, the Localtonet tunnel state, and the selected target. Avoid exposing sensitive session data when sharing diagnostics.
The wrong application appears
A different service may be listening on the selected port. Stop the tunnel, reopen the recorded local URL, and confirm that it displays the intended Tessera checkout. Correct the Localtonet local IP address or port, then restart and retest the tunnel.
Remote access stops unexpectedly
Check all active components. The Tessera development server may have exited, the Localtonet client may have disconnected, or the tunnel may have stopped. Restore the failed component, verify Tessera locally again, and then retest the public endpoint.
The browser displays a stale workspace after shutdown
A previously rendered page can remain visible from browser cache even when the server or tunnel is no longer available. Refresh the page or attempt a live action. The tunnel is unavailable when it is stopped or the selected client is disconnected, regardless of cached browser content.
Frequently asked questions
Does this tutorial build a production version of Tessera?
No. It installs the pinned source revision's dependencies and starts the documented development server with npm run dev. The reviewed evidence does not establish a supported production build and production-start sequence, so this article does not invent one.
Which Tessera revision does the source workflow use?
It uses commit 4b115e9ba30708db85dd01645c602b63ecb94fe9 from the dev branch, reviewed on 2026-08-20. Pinning the commit makes the checkout identifiable but does not convert it into a production release.
What port should I enter in Localtonet?
Enter the port printed by the pinned Tessera development process and verified through the local browser. Do not assume a port from an older release, npm package, container workflow, or previous article.
Can the Localtonet client run on another device?
Yes, if that device can reach Tessera's listener. However, loopback on the Localtonet device refers to that device, not the Tessera host. Running both programs on the same machine is simpler and can avoid making Tessera listen across the local network.
Does creating an HTTP tunnel immediately expose Tessera?
No. Creating the configuration does not start it. The selected Localtonet client must be connected and you must use the Start button. Confirm the tunnel status before testing the assigned public HTTPS address.
Does Localtonet replace Tessera authentication?
No. Localtonet provides connectivity to the selected local HTTP service. Tessera's application authentication, operating-system permissions, project boundaries, and provider authentication remain separate controls.
Why must I test WebSockets separately?
A browser can receive the initial page even when live session communication is unhealthy. Test an actual session locally and publicly while observing the browser's WebSocket connection so that a static render is not mistaken for complete application health.
Is a generated public URL sufficient protection?
No. Treat the URL as an address, not as authentication. Use strong application credentials where Tessera provides them, limit the project and host permissions, avoid sharing the URL, and stop the tunnel when the remote session ends.
Should I leave this development server available unattended?
No unattended production deployment is established by this tutorial. The documented source command starts a development server. For persistent use, select a current Tessera release and follow its current production, storage, migration, and service-management documentation.
Open a temporary Tessera access window with Localtonet
After the pinned Tessera revision works locally, its application access is configured, the intended project is isolated, and live updates have been verified, create an HTTP tunnel to that exact local target. Start it only when remote access is needed and stop it as soon as the session is complete.
Get Started Free →Corrections & updates
Substantive changes approved by the Localtonet editorial team are listed transparently below.
Localtonet is a secure multi-protocol tunneling and proxy platform designed to expose localhost, devices, private services, and AI agents to the public internet supporting HTTP/HTTPS tunnels, TCP/UDP forwarding, mobile proxy infrastructure, file server publishing, latency-optimized game connectivity, and developer-ready AI agent endpoint exposure from a single unified control plane.