Skip to content
Skillv1.0.0

evernote-reference-architecture

Reference architecture for Evernote integrations. Use when designing system architecture, planning integrations, or building scalable Evernote applications. Trigger with phrases like "evernote archite

by jeremylongshore(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from jeremylongshore/tons-of-skills-marketplace (skills/.curated/evernote-reference-architecture/SKILL.md). Install upstream with npx skills add jeremylongshore/tons-of-skills-marketplace --skill evernote-reference-architecture. Copyright stays with the author (MIT).

Evernote Reference Architecture

Overview

Production-ready architecture patterns for building scalable, maintainable Evernote integrations. Covers service layer design, caching strategy, sync architecture, and deployment topology.

Prerequisites

  • Understanding of microservices or modular monolith architecture
  • Cloud platform familiarity (AWS, GCP, or Azure)
  • Knowledge of message queues and caching

Instructions

Architecture Layers

Client Layer    [Web App / Mobile / CLI]
                        |
API Layer       [Express/Fastify REST API]
                        |
Service Layer   [NoteService | SearchService | SyncService]
                        |
Integration     [EvernoteClient (rate-limited, instrumented)]
                        |
Infrastructure  [Redis Cache | PostgreSQL | Message Queue]

Service Layer Design

Separate concerns into focused services:

  • NoteService: CRUD operations, ENML formatting, tag management
  • SearchService: Query building, pagination, result enrichment
  • SyncService: Webhook handling, incremental sync, conflict resolution
  • AuthService: OAuth flow, token storage, refresh logic
// services/index.js - Service registry
class ServiceRegistry {
  constructor(noteStore, cache, db) {
    this.notes = new NoteService(noteStore);
    this.search = new SearchService(noteStore, cache);
    this.sync = new SyncService(noteStore, db);
  }
}

Caching Strategy

Cache at two levels: in-memory LRU for hot data (note metadata, user info) and Redis for shared state (notebook lists, tag lists, sync checkpoints). Invalidate on webhook notification.

Sync Architecture

Use webhooks as the primary change notification channel. Fall back to polling when webhooks are unavailable. Process changes through a message queue for reliability and retry. Store sync state (USN) in the database for crash recovery.

Evernote Webhook → API Gateway → Message Queue → Sync Worker → Database
                                                      ↓
                                              Evernote API (fetch changes)

Database Schema

Store mirrored Evernote data locally for fast reads. Key tables: users (token, expiration), notebooks, notes (content, metadata), tags, resources (metadata, file path), sync_state (user_id, last_usn).

For the complete architecture diagrams, service implementations, database schema, and scaling guidelines, see Implementation Guide.

Output

  • Layered architecture with clear separation of concerns
  • Service registry pattern for dependency management
  • Two-level caching strategy (in-memory + Redis)
  • Webhook-first sync architecture with polling fallback
  • Database schema for local data mirroring
  • Message queue integration for reliable event processing

Error Handling

Failure Mode Impact Mitigation
Evernote API outage All sync stops Circuit breaker, serve cached data
Redis down Increased API call rate Fall through to direct API, in-memory fallback
Database failure Cannot persist sync state Queue events, replay after recovery
Message queue failure Webhook events lost Polling fallback, periodic full sync

Resources

Next Steps

For multi-environment setup, see evernote-multi-env-setup.

Examples

Note-taking SaaS: Build a web app where users connect their Evernote account via OAuth, sync notes to a local database, provide full-text search via PostgreSQL, and push changes back to Evernote.

Team dashboard: Aggregate notes from multiple Evernote Business users into a shared dashboard. Use the sync architecture to keep data fresh. Cache notebook/tag lookups for sub-100ms response times.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/jeremylongshore-tons-of-skills-marketplace-evernote-refe-c689ee/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

jeremylongshore-tons-of-skills-marketplace-evernote-refe-c689ee.ocm.jsonjson
{
  "ocm": "1",
  "id": "jeremylongshore-tons-of-skills-marketplace-evernote-refe-c689ee",
  "kind": "skill",
  "name": "evernote-reference-architecture",
  "description": "Reference architecture for Evernote integrations. Use when designing system architecture, planning integrations, or building scalable Evernote applications. Trigger with phrases like \"evernote architecture\", \"design evernote system\", \"evernote integration pattern\", \"evernote scale\".",
  "publisher": "jeremylongshore",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "saas",
      "evernote",
      "scaling",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Reference architecture for Evernote integrations. Use when designing system architecture, planning integrations, or building scalable Evernote applications. Trigger with phrases like \"evernote architecture\", \"design evernote system\", \"evernote integration pattern\", \"evernote scale\"."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/jeremylongshore/tons-of-skills-marketplace",
      "path": "skills/.curated/evernote-reference-architecture/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/jeremylongshore/tons-of-skills-marketplace/blob/HEAD/skills/.curated/evernote-reference-architecture/SKILL.md",
      "key": "jeremylongshore/tons-of-skills-marketplace/skills/.curated/evernote-reference-architecture/SKILL.md"
    },
    "compatibility": "Designed for Claude Code",
    "allowed_tools": [
      "Read,",
      "Write,",
      "Edit,",
      "Grep"
    ],
    "license": "MIT"
  },
  "instructions": "# Evernote Reference Architecture\n\n## Overview\n\nProduction-ready architecture patterns for building scalable, maintainable Evernote integrations. Covers service layer design, caching strategy, sync architecture, and deployment topology.\n\n## Prerequisites\n\n- Understanding of microservices or modular monolith architecture\n- Cloud platform familiarity (AWS, GCP, or Azure)\n- Knowledge of message queues and caching\n\n## Instructions\n\n### Architecture Layers\n\n```\nClient Layer    [Web App / Mobile / CLI]\n                        |\nAPI Layer       [Express/Fastify REST API]\n                        |\nSer",
  "cost": {
    "context_tokens": 1016
  }
}

Fetch it by URL: GET /api/v1/registry/jeremylongshore-tons-of-skills-marketplace-evernote-refe-c689ee/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.