Alt2Obs

by biqnt
5
4
3
2
1
Score: 52/100

Description

Obsidian plugin to import Alt (altalt.io) lecture notes with LLM-powered concept extraction and exam summaries

Reviews

No reviews yet.

Stats

6
stars
69
downloads
1
forks
32
days
9
days
9
days
14
total PRs
0
open PRs
3
closed PRs
11
merged PRs
0
total issues
0
open issues
0
closed issues
307
commits

Latest Version

10 days ago

Changelog

Design and decisions: the 2.1.0 spec (Korean). Known limitation: the question panel shows math and diagrams (LaTeX, Mermaid) in an answer as text for now; rendering them in the panel is planned for a 2.1.x update.

  • Question panel. 💬 질문 in the Synced Viewer's toolbar, or the command 질문 패널 열기/닫기, opens a panel in the right sidebar for questions about the lecture you are on. It sends the lecture brief and the current slide's text, commentary, transcript and your memo, never the whole lecture (a first question is about 5k input tokens), follows the viewer's page or the heading above the editor's cursor, and 📌 pins a slide. Chips turn each part on or off with its estimated tokens; a question over 질문당 토큰 상한 (token cap per question, default 20,000) is confirmed in the panel. Claude answers stream in as they are written (--include-partial-messages when the CLI has it); Codex answers come at once while the panel counts the seconds. Stop, regenerate, copy, quick questions, a model picker for one question, error cards with the fix (login, usage limit, missing CLI, timeout) and sending again with the other CLI. Conversations are kept in memory per lecture (the 10 most recent) and go on when the panel closes; the earlier conversation is folded past about 3,000 tokens. The panel opens on demand only and is closed at startup.
  • Citations that go somewhere. [슬라이드 N], [L4 슬라이드 N], [구간 N] and [mm:ss] in an answer become chips that show the slide in the viewer, the transcript at that time, or the heading in the note; 강의 자료 밖 marks general knowledge. Answers are made safe before they are shown or saved: no HTML, embed, Dataview inline query (also with the prefixes set in Dataview), comment or Templater command in an answer runs, and neither does one in a brief's AI lines.
  • More material. + 자료 추가 adds slides of this lecture (a range or the list, with what each carries and its estimate), another lecture's slides and brief, the subject brief, or text selected in the note as a quote. Right-click a PDF page for 이 슬라이드에 질문, or a selection for 선택한 내용으로 질문, in the viewer or an editor. Under an answer, up to two related slides that were not sent, found without tokens, can be added for the next question. A question about another lecture offers the subject brief once.
  • Saving. 메모에 저장 adds an answer, as it is or cut to three lines, to the slide's > [!note] 내 메모 callout, where a re-import keeps it. 대화 노트로 저장 and 대화 저장 write the conversation to <subject>/Chats/ with links to the slides it cites; saving it again replaces that note. Nothing is written unless you save.
  • Lecture briefs. Imports write <subject>/Briefs/<lecture> brief.md: overview, flow, a line per slide with its time in the recording and key concepts, built from the note without tokens, plus, by default, one call of a light model over transcript sentences a script picks for what the professor stressed, questions asked in class and points easy to confuse. No transcript text reaches the vault: lines that copy it are dropped. The estimate panel has a 챗봇 브리프 line and a 브리프 모델 picker. A subject brief lists the subject's lectures. A brief you edit is never overwritten without asking. 모든 강의 브리프 만들기 makes the missing ones (script only, or with the emphasis), and 이 강의 브리프 다시 만들기 rebuilds one.
  • Lectures without slides work in the panel too: the transcript section above the cursor is the focus, and memos go to the section.
  • Settings version 4. Two tasks, 질문 (Claude sonnet, effort low) and 챗봇 브리프 (Claude haiku, effort low), and a 질문 (채팅) section: 가져올 때 챗봇 브리프 만들기, 질문에 내 메모 포함, 질문당 토큰 상한. Saved settings get the new tasks once, following the commentary task's provider. No default hotkeys.
  • Skill. brief.mjs writes the same brief after a Skill import (the script part, the AI part's prompt for the session, and its answer checked with the plugin's code); SKILL.md follows the plugin's brief setting.
  • README, README.ko.md and the user guides describe the question panel and the lecture brief, what a question and a brief call send, and what is written in the vault.

README file from

Github

Alt2Obs is for students who record their lectures with the Alt app. It reads the lectures in the Alt desktop app on your computer and writes one note per lecture into your vault: a section for every slide, with commentary that your own Claude Code or Codex CLI writes from the slide and the part of the recording that covers it, plus concept notes linked with [[wikilinks]]. You study in a viewer that scrolls the PDF and the note together, and your own memos survive every re-import. When a slide raises a question, you ask it in a panel beside the viewer, with that slide and a short brief of the lecture as context.

The interface and the generated notes are in Korean, with academic terms kept in English. Alt2Obs was named Alt2Obsidian before 2.0.0. Its plugin id is alt2obsidian (only 2.0.0 used alt-to-obs).

Features

  • Import straight from Alt. The sidebar lists the lectures of the Alt desktop app on this computer by Alt folder, with search and a status for each one (new, imported, slides changed). No share link is needed, and Alt's summary and memo come along. A public Alt share link works as a fallback.
  • Commentary for every slide. Your Claude Code or Codex CLI writes a section per slide from the slide text (plus the image, for diagram slides) and that slide's part of the transcript. Cover, contents and closing slides and repeated animation steps need no model call, and key diagrams can be saved as images into the note.
  • Transcript matched to slides. For lectures from the Alt app, a script matches the timestamped transcript to the slides, with no tokens spent, so each slide gets what was said while it was on screen.
  • Synced Viewer. The slide PDF and the note side by side, scrolling together. A transcript panel shows the current slide's part of the transcript with [mm:ss] times. Opening a lecture PDF opens the viewer.
  • Ask about the lecture. A question panel next to the Synced Viewer (💬 질문) answers questions about the slide you are on, from that slide's text, commentary, transcript and your memo plus a short brief of the lecture, so the whole lecture is never sent. Claude's answer appears as it is written, and its [슬라이드 N] and [mm:ss] marks take you to the slide or to that moment of the transcript. Add other slides, another lecture or text you selected; save an answer to the slide's memo, or the conversation as a note.
  • Lecture briefs. Each import also writes a short brief of the lecture for the question panel: overview, flow, one line per slide with its time in the recording, key concepts. The script builds it from the note without tokens; one call of a light model can add what the professor stressed, questions asked in class and points easy to confuse. A subject brief lists the subject's lectures, one line each.
  • Lectures without slides. A lecture with only a recording becomes a summary note with a section for about every 12 minutes, each point stamped with its [mm:ss] time. Or attach the lecture PDF and import it as a slide lecture.
  • Check your own notes. Compare notes you wrote (a file in the vault, pasted text, or a Notion page through your Notion MCP) with the slides and the transcript. Each claim gets a verdict with links to its evidence, and slides your notes left out are listed.
  • Memo-safe re-import. Your > [!note] 내 메모 (my memo) callouts and anything you write outside the managed blocks stay when you import again, and memos follow their slide when slides are added, removed or reordered. Only changed slides are generated again.
  • Your model, your budget. Pick the provider, model and effort (reasoning effort) for each task, or use a preset. Before every run you see the estimated calls, tokens and images, and can switch the model for that run. You can cancel at any point before the note is saved. Actual usage is recorded in the note and in the settings.
  • Concept notes. Key concepts become notes named English (한국어), such as Pipeline Hazard (파이프라인 해저드), linked from the commentary and reused across the lectures of a subject.

Requirements

  • Obsidian 1.7.2 or later, desktop. The plugin is desktop only. Tested on macOS; Windows and Linux are covered by unit tests only.
  • The Alt desktop app on the same computer, for the local lecture list. Without it you can still import from a public Alt share link.
  • Node 22.13 or later inside Obsidian, for Node's built-in node:sqlite. The plugin uses it to read a copy of Alt's database: while Alt is closed, and while Alt runs, to find synced slide files. To check, open the developer console (Ctrl+Shift+I, or Cmd+Option+I on macOS) and run process.versions.node. With an older Node, start Alt before importing; synced slide files may then not be found.
  • Claude Code or Codex CLI, installed and logged in. Generation runs on your own plan: a Claude account with Claude Code access (a paid Claude plan or Anthropic API credits), or a ChatGPT plan that includes Codex (or an OpenAI API key).
  • Optional: a Notion account and the Notion MCP in Claude Code, to check notes you keep in Notion.

Install

Community plugins. Open Settings → Community plugins and select Turn on community plugins if you see it. Select Browse, search for "Alt2Obs", then select Install and Enable. Updates then arrive through Obsidian's normal plugin updates.

Manually. Download main.js, manifest.json and styles.css from the latest release into <vault>/.obsidian/plugins/alt2obsidian/, reload Obsidian and enable Alt2Obs under Settings → Community plugins.

BRAT. Add BiQnT/alt2obsidian as a beta plugin in BRAT to follow new releases.

Upgrading from an earlier version

  • From 2.0.1 or 2.0.2: the update installs in place and keeps your settings, records and notes. The model table gains the 질문 (question) and 챗봇 브리프 (chatbot brief) rows. From now on each import also writes the lecture's brief; for a lecture imported before, the question panel offers to build its brief without tokens, or run 모든 강의 브리프 만들기 (build all lecture briefs) from the command palette.
  • From 1.x or a 2.0.0 beta: the update installs in place (same id and folder) and keeps your settings, records and hotkeys. Notes and memos stay as they are. To move 1.x notes into the 2.0 folder layout, run Migrate 1.x vault layout from the command palette. Gemini API and Ollama support is gone; if you need it, stay on 1.1.0. CSS snippets written for the old alt2obsidian-* classes need the alt-to-obs-* classes.
  • From 2.0.0 (id alt-to-obs): Obsidian treats 2.0.0 and later versions as two separate plugins, both named Alt2Obs. Install the new version, disable 2.0.0 without deleting it, then enable the new version: it imports 2.0.0's settings and records once and tells you so. Then delete 2.0.0 and set any hotkeys again. The user guide has the details.

Quick start

  1. Install Claude Code or Codex and log in once in a terminal (claude, or codex login).
  2. Enable Alt2Obs and open Settings → Alt2Obs. The LLM 연결 (LLM connection) cards should show your CLI with its path and version.
  3. Select the book icon in the ribbon (Alt 강의 가져오기, import an Alt lecture) to open the sidebar. In the Alt 노트 목록 (Alt note list) tab, pick a lecture and check its subject.
  4. Select 가져오기 (import), review the estimated usage, then select 시작 (start).
  5. The note opens in the Synced Viewer. Write your own notes in the > [!note] 내 메모 callout under each slide.
  6. To ask about the slide you are on, select 💬 질문 (question) in the viewer's toolbar. The panel opens on the right with that slide and the lecture brief as material; the same button closes it.

The user guide covers every option, lectures without slides, note checking and troubleshooting.

Privacy and disclosures

Alt2Obs has no telemetry, analytics, ads or update checks. This is everything it sends, needs and touches outside your vault.

Network use

  • Anthropic (Claude Code) or OpenAI (Codex). Commentary, summaries, concept extraction, the optional alignment check, note checking, questions in the question panel, the AI part of lecture briefs and shortening an answer for a memo run your own CLI (claude or codex) as a child process. Each call sends its material to Anthropic or OpenAI under your account. The plugin itself sends nothing to these services. A call can include:
    • slide text, and slide images for diagram slides;
    • transcript excerpts, and Alt's summary and memo;
    • the lecture title and subject, concept names, and the tags already used by notes in that subject folder (including notes you wrote yourself);
    • for note checking, the sentences of your note with their evidence;
    • for a question in the question panel: the panel's instructions, the lecture brief (and the subject brief or other lectures' briefs when you add them), the text of the slides you send (the page as an image when it has no text, or when you add it so), their commentary, your memo, their part of the transcript, the text you selected, the earlier questions and answers about that lecture, and your question;
    • for the AI part of a lecture brief: the lecture title, subject and length, each slide's one-line gist, and transcript sentences a script picked (around words such as 시험 and 중요, and questions), at most 3,000 characters;
    • for 세 줄로 줄여서 (cut to three lines) when saving an answer to a memo: that question and answer, sent to the model of the 챗봇 브리프 (chatbot brief) task.
  • Notion (optional, note checking). Fetching a Notion page is one Claude Code call that may use only the fetch tool of your Notion MCP server. Claude Code contacts Notion for the page and Anthropic for the model turn. The page URL and the page content reach Anthropic; the content arrives as that call's tool result.
  • Other MCP servers (Notion only). Before the fetch, claude mcp list checks the connection of every MCP server configured in Claude Code; this can start local servers and contact remote ones. When the Notion server cannot be passed to the call on its own (a claude.ai connector, or a server that is not a plain https address without headers), the fetch call also starts your other MCP servers, with their tools blocked.
  • altalt.io and the slide link (optional, share link import). The plugin downloads the Alt share page from altalt.io. It then downloads the slide PDF from the slide link on that page, as given. Today that link points to Alt's Cloudflare R2 storage (*.r2.cloudflarestorage.com); older Alt notes may point to Alt's earlier Supabase storage (*.supabase.co).
  • Alt's local API is reached on 127.0.0.1, on this computer only.
  • The plugin makes no other connections. Claude Code and Codex may also contact their own services as their own settings allow.

What it writes in the vault

  • Imports write the lecture note, its concept notes, key diagram images and the slide PDF into the save folder; note checking writes a verification note next to them.
  • Lecture briefs: <subject>/Briefs/<lecture> brief.md and <subject>/Briefs/<subject> subject brief.md, at import (unless 가져올 때 챗봇 브리프 만들기 is off) and by the brief commands and buttons. A brief holds no transcript text: its emphasis lines are rephrased, with their times, and a line that copies the transcript is dropped.
  • The question panel writes only when you ask it to: 대화 노트로 저장 or 대화 저장 writes the conversation to <subject>/Chats/<date> <lecture> <question>.md, and 메모에 저장 adds an answer to the slide's > [!note] 내 메모 callout. Otherwise conversations are kept in memory only: closing the panel keeps them, disabling the plugin or quitting Obsidian drops them.
  • Model text it writes (a memo, a chat note, a brief's AI lines) is made safe first: HTML, image embeds, Dataview inline queries (with the prefixes set in Dataview too), comments and Templater commands (<% %>) in it do not run.

Accounts and payment

The plugin is free. Its main features need an LLM CLI login: a Claude account with Claude Code access (a paid Claude plan or Anthropic API credits) or a ChatGPT plan that includes Codex (or an OpenAI API key). Every call counts against your plan's limits or your API usage. Optional: a Notion account for the Notion MCP. Your lectures come from the Alt app and your Alt account; the plugin never signs in to Alt.

Files and programs outside the vault

  • Alt's data folder, read only: macOS ~/Library/Application Support/alt, Windows %APPDATA%\alt, Linux $XDG_CONFIG_HOME/alt or ~/.config/alt, or the folder set in the settings. This is needed to list and import your lectures without a share link. The plugin reads:
    • the local API token and server config (http-server-token, storage-httpServer.json) and the signed-in account (storage-desktopSync.json). The token is kept in memory only.
    • Alt's database, through a private copy in the OS temp folder. The copy is made when Alt's local API cannot be used (Alt closed, its local server off, or the port check below failed), and while Alt runs, to find the local path of synced slide files. It is kept until the plugin reconnects to Alt or is disabled, then removed. A copy left behind by a crash is removed by a later copy once it is an hour old.
    • the slide PDF files at the paths Alt records for them (normally inside Alt's data folder).
  • Alt's port. Before the token is sent to Alt's local API, the plugin checks that the program listening there is Alt, run by you: lsof and ps (macOS), /proc (Linux), netstat and tasklist (Windows).
  • Finding the CLIs. The plugin runs your login shell as $SHELL -ilc 'command -v claude' (or codex; /bin/zsh when $SHELL is unset), which loads your shell startup files such as .zshrc. On Windows it runs where. It also looks in common install folders.
  • Checking the CLIs (no model calls): --version, --help, claude auth status, codex login status, and for Notion claude mcp list and claude mcp get.
  • Running the CLIs. Each call runs in a temp folder that is removed afterwards. A question in the question panel sends the earlier conversation itself and starts no CLI session (--no-session-persistence for Claude Code, --ephemeral for Codex), so the CLIs keep no copy of it. On Windows an npm-installed CLI is started with node.exe, and a cancelled call is ended with taskkill.
  • What the CLIs may do. Claude Code runs with all its tools turned off; the only exception is the Notion fetch call, which may use the Notion fetch tool and nothing else. Codex runs in its read-only sandbox, which can still read files your account can read. The prompt tells it to use only the material it is given, but choose Codex only if you accept that.
  • Read for the model lists: ~/.claude/cache/model-catalog/*-cc.json (or under $CLAUDE_CONFIG_DIR) and ~/.codex/models_cache.json (or under $CODEX_HOME).
  • Read for the Notion MCP: ~/.claude/plugins/installed_plugins.json (or, without it, a walk of ~/.claude/plugins), and a Claude Code plugin's .mcp.json and .claude-plugin/plugin.json. Claude Code may keep a large fetch result as a file under ~/.claude/projects/; the plugin reads it but does not remove it.
  • Written outside the vault: the transcripts the viewer shows and fetched Notion pages, in the OS cache folder (macOS ~/Library/Caches/alt2obsidian, Windows %LOCALAPPDATA%\alt2obsidian\Cache, Linux $XDG_CACHE_HOME/alt2obsidian or ~/.cache/alt2obsidian), one subfolder per vault. Lecture text is kept out of the vault so vault sync does not carry it.
  • Cache permissions. On macOS and Linux the cache folders and files are created readable only by you (permissions 0700 and 0600). Windows does not apply these permissions; there the files have the usual access of your user profile folder.

The vault's config folder

The plugin reads, and never changes, the files that version 2.0.0 (released under the id alt-to-obs) left in the vault's config folder (.obsidian by default):

  • On the first start: plugins/alt-to-obs/data.json, and the modification times of that file and of the plugin's own data.json. Later starts read them again until the plugin first saves its data, or while 2.0.0's file cannot be read. The command Import settings from version 2.0.0 (alt-to-obs) reads 2.0.0's file again when you run it.
  • On every start and whenever a PDF is opened: community-plugins.json and plugins/alt-to-obs/manifest.json, to know whether 2.0.0 is still enabled.

While Dataview is enabled, the plugin also reads Dataview's inline query prefixes from the running Dataview plugin (not from its files), so that model text it writes into the vault cannot run as a Dataview query.

Documentation

Development

npm install
npm run dev        # development build with an inline source map
npm run build      # production main.js, plus the Skill's CLI bundles
npm run lint       # Obsidian's official ESLint rules (eslint-plugin-obsidianmd)
npm test           # unit tests with fake claude/codex binaries, no tokens spent
npm run test:dom   # viewer, sidebar, settings and PDF.js worker in headless Chromium

A release ships main.js, manifest.json and styles.css; the PDF.js worker is bundled into main.js. ALT2OBS_SMOKE=1 node test/smoke-cli.mjs runs each real CLI once (it uses a little of your plan), and scripts/bench/README.md describes the token benchmark.

License and credits

MIT License, by BiQnT.

main.js bundles PDF.js (pdfjs-dist 4.10.38, Mozilla Foundation, Apache License 2.0, its license notice kept in the bundle) to read and render the slide PDFs.