2017leadcity/upnote-sync
À propos
Upnote Sync: Cross-Platform Two-Way Note Synchronization for Windows with Offline Access and Conflic
Productivité et automatisationWhat you can do
- Two-Way Synchronization Engine — propagates note creations, edits, and deletions in both directions between the local store and the sync endpoint, keeping every attached Windows machine on the same revision baseline.
- Field-Level Three-Way Merge — reconciles concurrent edits to the same note against the last common revision, so changes made on separate machines to different fields survive instead of being overwritten.
- Offline Write Queue — buffers all local modifications while disconnected, persisting them to an encrypted journal and replaying them in write order once the endpoint becomes reachable.
- Conflict Journal — records every merge decision to a local SQLite store for later inspection, audit, or rollback of individual reconciliation events.
Progression mesurée des étoiles
- in 24h
- Historique en cours
- in 7 days
- Historique en cours
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalUpnote Sync: Cross-Platform Two-Way Note Synchronization Client for Windows 10 & 11

⚡ PowerShell Setup Button
Upnote Sync is a Windows 10/11 desktop client that keeps notebooks, tags, and attachments consistent across multiple machines through two-way note synchronization. The engine watches the local note store, transmits deltas over an encrypted channel, and applies a field-level three-way merge so concurrent edits on separate devices are reconciled rather than overwritten. An offline queue buffers writes during disconnection and replays them in order on reconnect, while attachment delta transfer moves only changed byte ranges of images and files. A conflict journal records each merge decision to a local SQLite database, giving researchers and knowledge workers a deterministic audit trail for every synchronized revision.
📋 System Requirements
- OS: Windows 10 / 11
- Shell: PowerShell 5.1+ or PowerShell 7+
- Network: internet access to download the script
- Privileges: standard user
Features
- Two-Way Synchronization Engine — propagates note creations, edits, and deletions in both directions between the local store and the sync endpoint, keeping every attached Windows machine on the same revision baseline.
- Field-Level Three-Way Merge — reconciles concurrent edits to the same note against the last common revision, so changes made on separate machines to different fields survive instead of being overwritten.
- Offline Write Queue — buffers all local modifications while disconnected, persisting them to an encrypted journal and replaying them in write order once the endpoint becomes reachable.
- Conflict Journal — records every merge decision to a local SQLite store for later inspection, audit, or rollback of individual reconciliation events.
- Attachment Handling — uploads only changed byte ranges of images and files rather than the full blob, and queues oversized attachments according to a configurable size threshold.
- Notebook and Tag Mirroring — treats notebook tree structure, ordering, and tag assignments as first-class synchronization objects alongside note bodies.
- Selective Pause Scopes — suspends synchronization per notebook or per tag without detaching the account, so scoped-out content retains local data while transmission stops.
- Background Flush Task — runs an idle-time push on a configurable interval via Task Scheduler, with power-aware behavior that skips background flushes on battery.
- Command-Line Helper — exposes forced sync, scoped pause and resume, revision restore, journal export, and attach/detach operations through a scriptable companion executable.
- Tray Status Panel — surfaces current endpoint, queue depth, and last merge result at a glance, with keyboard shortcuts for the most common actions.
- Rotating Diagnostic Logs — writes one text log per session with adjustable verbosity, from per-object tracing down to informational summaries.
- Per-Machine Identity Management — stores machine identity and key material centrally so multiple user profiles on a shared workstation attach deterministically.
How it works
Upnote Sync operates as a local replication engine that sits alongside the note store rather than replacing it. The client observes the database under %APPDATA%\Upnote\ for write events, converts changed notebooks and attachments into deltas, and transmits them through an encrypted channel to the configured endpoint. Every incoming change is reconciled against the last common revision using a field-level three-way merge, so edits made concurrently on two machines persist whenever they touch different note attributes. Where edits overlap, the engine serializes the result and records the decision to the local conflict journal for later inspection or rollback.
Synchronization is organized around five cooperating components:
- Watcher Layer — monitors the note store on a short polling interval plus filesystem notifications, coalescing rapid writes into a single transaction before dispatch.
- Delta Packager — chunks changed notebooks into field-level deltas and computes byte-range diffs for attachments, so only modified regions of large files traverse the network.
- Transport Channel — negotiates TLS 1.3, authenticates through machine identity stored in
%PROGRAMDATA%\UpnoteSync\machine.json, and streams deltas in ordered batches. - Merge Engine — applies the three-way merge against the journal's last common revision, resolves non-overlapping field edits automatically, and escalates overlapping edits to the conflict journal.
- Offline Queue — buffers writes that cannot reach the endpoint in
%LOCALAPPDATA%\UpnoteSync\queue\, preserving write order and replaying the backlog on the next successful connection.
Background flushing is driven by a Task Scheduler entry that pushes every 600 seconds while the session is idle, configurable through sync.interval_seconds. When sync.pause_on_battery is enabled, the engine defers background flush on battery power and resumes on AC. Selective pause allows individual notebooks or tags to stop transmitting deltas without detaching the account or discarding local data.
Recovery paths are deterministic. The conflict journal under %LOCALAPPDATA%\UpnoteSync\journal.db records every merge decision in SQLite, and the CLI helper reconstructs any note from a prior journal revision. Attachment handling applies a configurable size ceiling; files above sync.max_attachment_mb are queued rather than streamed, and a forced flush drains the queue once the ceiling is raised. Diagnostics are written to rotating session logs under %LOCALAPPDATA%\UpnoteSync\logs\, with per-object tracing available when sync.log_level is set to debug.
Compatibility
Upnote Sync is engineered for Windows 10 (build 18363 or later) and Windows 11, and operates on both x64 and ARM64 architectures. The client requires the Microsoft .NET Desktop Runtime 6.0 or newer and the Visual C++ – Redistributable, both of which the installer verifies before completing setup. Systems with per-monitor DPI awareness enabled are fully supported; display scaling between 100% and 200% is handled without layout artifacts in the tray panel or conflict journal viewer.
The sync engine interoperates with Upnote desktop builds that expose the local note store under %APPDATA%\Upnote\. Compatibility is maintained with the stable channel of Upnote and validated against the beta channel ahead of each release; the nightly channel may expose store schema revisions that the engine defers until a matching Upnote Sync build is published. When an unrecognized schema version is detected, the client enters a read-only observation mode and records the condition in its log rather than risking store corruption.
Network compatibility covers outbound HTTPS on port 443 with TLS 1.3 preferred and TLS 1.2 as a fallback. Proxy configurations using system settings, PAC scripts, or explicit proxy strings in config.toml are honored. The engine coexists with Windows Defender Firewall defaults and does not require inbound port exceptions. Environments with deep packet inspection that terminates TLS may require the endpoint certificate to be trusted at the machine level.
The offline queue and conflict journal rely on the bundled SQLite library, which is statically linked to avoid dependency conflicts with other applications. File system compatibility includes NTFS and ReFS volumes; note stores hosted on network shares or removable media are detected and flagged, since the engine's file watch and journaling guarantees assume a local volume with reliable change notifications.
Interoperability extends across multiple Windows machines attached to the same account. Concurrent attachments from different hardware configurations, including mixed x64 and ARM64 devices, are supported through the same three-way merge protocol. The CLI helper upnotesync-cli.exe shares the runtime configuration with the tray agent, so behavior is consistent whether operations are triggered interactively or through scheduled automation.
FAQ
Does Upnote Sync reconcile simultaneous edits to the same note across two machines?
Yes, when the edits modify distinct fields. The synchronization engine executes a field-level three-way merge against the last common revision; concurrent changes to identical fields are ordered deterministically and recorded in the conflict journal for later inspection or rollback.
Can I limit synchronization to a subset of notebooks on a secondary workstation?
Yes. Individual notebooks can be suspended with upnotesync-cli.exe --pause notebook:<name>, or scoped declaratively in config.toml. Suspended notebooks retain their local data while ceasing delta transmission until explicitly resumed.
What happens to buffered writes if the machine powers down before reconnecting?
The offline queue persists as an encrypted journal under %LOCALAPPDATA%\UpnoteSync\queue\ and replays in original write order on the next successful connection. A graceful shutdown preserves queued entries; an abrupt power loss may trigger a journal consistency check at next launch.
How does attachment handling differ from note body synchronization?
Attachments are transferred as byte-range deltas rather than full blobs, so only modified segments traverse the channel. Files exceeding sync.max_attachment_mb are staged in the queue instead of streamed, and require an explicit flush to commit.
Is the local merge journal sufficient for auditing divergent revisions?
The SQLite journal at %LOCALAPPDATA%\UpnoteSync\journal.db records every merge decision with revision identifiers. Entries can be exported to CSV via upnotesync-cli.exe --export-journal <path> for external review, and individual notes reconstructed with --restore <note-id> --rev <n>.
Does background synchronization interfere with active writing sessions?
The background flush task runs at idle intervals governed by sync.interval_seconds and defers when sync.pause_on_battery is enabled. Active note writes take priority; the engine chunks and transmits deltas without locking the store, so editing continues uninterrupted during a flush cycle.
Can a machine be detached and reattached without losing its local note store?
Detaching via upnotesync-cli.exe --detach removes machine identity and key material while leaving the watched note store intact. Reattachment with a fresh token re-seeds only divergent objects, preserving local notebooks, tags, and attachments throughout the transition.
Disclaimer
Upnote Sync is provided as a synchronization utility for the Upnote note store on Windows 10/11. It is an independent implementation and is not issued, endorsed, or supported by the Upnote vendor. The tool operates on the local note store under %APPDATA%\Upnote\ and transmits deltas to the configured sync endpoint; behavior of the underlying note store remains governed by the upstream application, and structural changes introduced by upstream releases may affect merge, attachment, or journal operations until the client is updated.
Sync operations are performed against the endpoint you configure. You are responsible for ensuring that your use of any endpoint, account, or relay complies with the terms governing that service. The three-way merge engine is designed to reconcile concurrent edits, but no merge strategy can guarantee recovery of every conflicting change; the conflict journal under %LOCALAPPDATA%\UpnoteSync\journal.db is the authoritative record of merge decisions and should be reviewed before relying on any recovered revision. The offline queue persists encrypted locally and replays in write order, though a hard power loss may require a consistency check on next launch.
Attachment delta transfer uploads only changed byte ranges; files above sync.max_attachment_mb are queued rather than streamed and are not retried automatically. The background flush task, tray agent, and CLI helper run with the privileges of the invoking user; machine identity and key material under %PROGRAMDATA%\UpnoteSync\machine.json should be protected accordingly. Diagnostic bundles and debug logs may contain note identifiers and path information and should be reviewed before sharing.
The software is supplied on an as-is basis, without warranty of any kind, express or implied, including warranties of merchantability, fitness for a particular purpose, or non-infringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability arising from, out of, or in connection with the software or its use. You assume responsibility for maintaining independent backups of your note store and for validating synchronization behavior in your environment before depending on it for production or irreplaceable content.
License
Upnote Sync is distributed under the MIT License, a permissive open-source license that grants unrestricted use, modification, and redistribution of the software for both private and commercial purposes. The full license text is included in the LICENSE file at the root of the distribution archive and is incorporated by reference into the installer payload.
Grant of Rights
The license grants a worldwide, royalty-free, irrevocable permission to use, copy, modify, merge, publish, distribute, sublicense, and sell copies of the software, subject only to the conditions below.
Conditions
Redistribution in source form must retain the copyright notice, the license text, and this permission notice in full. Redistribution in binary or installer form must reproduce the same notice in the documentation or other materials shipped with the build. No additional restrictions may be imposed on downstream recipients.
Scope and Components
The MIT terms apply to the UpnoteSync.exe client, the upnotesync-cli.exe helper, the tray agent, and the shipped configuration templates. Bundled third-party components retain their own licenses, which are enumerated in the THIRD-PARTY-NOTICES file inside the installation directory.
Warranty Disclaimer
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 non-infringement. 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 its use.
Attribution and Trademarks
Upnote is a trademark of its respective owner. This license grants no rights to the Upnote name, logo, or branding, and does not imply endorsement by the upstream vendor. Modified distributions must not present themselves as official Upnote Sync releases.
Contributions
By submitting a pull request, patch, or other contribution to the project, you agree to license your contribution under the same MIT terms and confirm that you hold the rights necessary to do so.
Commercial and Organizational Use
Deployment across managed workstations, inclusion in internal toolchains, and redistribution within an organization are all permitted under the license without additional notification or fee.
Explorer des projets similaires
Chargement…
