Skip to content

Repository files navigation

Copypasta (GitHub Pages)

A static SvelteKit web application for managing and syncing your "copypastas" (snippets, text templates, or code blocks). Your data is securely stored in a GitHub Gist and synced across devices using a Personal Access Token (PAT).

Features

  • GitHub Gist Sync: Securely store and sync your copypastas across devices.
  • Dual/Multi-Language Support: Configure custom languages for side-by-side or multi-mode snippet views.
  • Keyboard Shortcuts: Quickly save all editing snippets with Ctrl+S (or Cmd+S), and cancel edits with Esc.
  • Static & Fast: Built with SvelteKit and DaisyUI, running entirely in the browser.
  • PWA Ready: Works offline after the first load.

Developer Setup

  1. Clone the repository:

    git clone https://github.com/TheScriptList/copypasta-pages.git
    cd copypasta-pages
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm run dev
  4. Build for production:

    npm run build