Skip to content

Instantly share code, notes, and snippets.

@powmod
powmod / reMarkableZoteroSync.gs
Last active September 19, 2025 10:41
reMarkable to Zotero Sync
// Configuration - Update these values if needed
const ZOTERO_API_KEY = '';
const ZOTERO_USER_ID = '';
const GMAIL_LABEL = 'reMarkable/Processed';
const SEARCH_QUERY = 'to:mygmail+zotero@gmail.com from:my@remarkable.com has:attachment';
const WEBDAV_URL = '';
const WEBDAV_USERNAME = '';
const WEBDAV_PASSWORD = '';
const SEND_FAILURE_NOTIFICATIONS = true; // Set to false to disable email notifications
@powmod
powmod / remarkableNotionSync.gs
Last active October 1, 2025 20:50 — forked from eudamniac/remarkableNotionSync.gs
reMarkable to Notion Sync
const GMAIL_LABEL_NAME = 'NotionToSync';
const SYNCED_LABEL = 'SyncedToNotion';
const GDRIVE_FOLDER_ID = ''; // optional; leave empty to upload directly to Notion
const NOTION_DATABASE_ID = '';
const NOTION_SECRET = '';
const NOTION_VERSION = '2022-06-28';
// Direct-upload cap per Notion guide (multi-part required >20MB). :contentReference[oaicite:1]{index=1}
const MAX_DIRECT_UPLOAD_BYTES = 20 * 1024 * 1024;