Home Cards

by ttangents
5
4
3
2
1
Score: 30/100

Description

The Home Cards plugin creates a start page with note cards arranged into configurable sections. Sections can show recent activity, notes matching tags or properties, link counts and a daily Rediscover sample of notes untouched for months. Each has its own filters, sorting and card count. By default, a note appears only in the first matching section. Cards display titles, types, tags and either an opening sentence or a summary property. Switch between a grid and compact rows, fold sections or reveal more matches. Separate pages can cover a folder, tag, property or the whole vault, with commands and URI links to open them. A Bases view groups results into sections. Theme colours, card styles and custom backgrounds control appearance. It works on desktop and mobile, makes no network requests and requires Obsidian 1.13.1 or later.

Reviews

No reviews yet.

Stats

8
stars
230
downloads
0
forks
3
days
1
days
1
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
1
total issues
1
open issues
0
closed issues
20
commits

Latest Version

2 days ago

Changelog

Named pages have been added: A page shows one folder, tag or property, or the whole vault, under the home sections or sections of its own. Each page has a command and a link, and you can now add backgrounds of your own.

README file from

Github

Home Cards

Home Cards gives your vault a start page. The page shows sections of note cards: the notes you opened or created most recently, notes with a given property or tag, and the notes other notes link to most and least. Your theme sets the colors, fonts and spacing. You can add a background pattern and pick a card style in settings.

Home Cards in grid view, light mode

Features

  • Sections. Recently opened, created or modified; notes by property (with an optional value) or by tag; most and least linked; and Rediscover, a daily sample of notes untouched for months. Each section sets its own card count, sort order, and filters on tags, properties and folders.
  • One note, one section. By default, a note appears only in the first section that claims it, so the page does not repeat itself. Section order sets which section wins.
  • Cards. Each card shows the note's title, its type and tags, its first sentence (or a summary property), and a footer with the value the section sorts on.
  • Header actions. New note creates a note where Obsidian's settings put new notes. Rediscover opens a random note you haven't changed in months.
  • Card actions. Right-click a card for Obsidian's file menu. Hold Cmd or Ctrl over a card for a preview, through the Page Preview core plugin.
  • Fold and see more. Click a section heading to fold it; the chevron at its end shows the state, and the page remembers it. "See more" under a section shows further matches, one section's worth at a time, up to three times; "Show fewer" puts them back.
  • Two layouts. A grid of cards and a compact list of rows, switched from the header.
  • Pages. A page shows the notes of one folder, one tag or one property, or of the whole vault, under the home page's sections or sections of its own. Make one with Create a page or in Settings → Home Cards → Pages. Each page opens in its own tab, from a command named for it (give it a hotkey in Obsidian's Hotkeys settings), from Open a page, or from a link such as obsidian://home-cards?page=Reading. A folder needs no setup: right-click it and choose Open Home Cards page. A page about a folder follows the folder when you rename or move it. New note on a tag or property page starts the note with that tag or property, so it appears on the page.
  • Background patterns. Thirteen tiled patterns, each with a light and a dark version that follows the theme. Pick one in settings or from the swatch button in the header, which applies it as you click.
  • Your own backgrounds. Add a PNG, JPEG, WebP or GIF from Settings → Home Cards → Your backgrounds, as a repeating pattern or a single picture, with a fade that sets how much of the theme's background covers it. Home Cards keeps a resized copy in its own plugin folder, so your vault gains no files or folders. Up to twelve images.
  • A Bases view. Any base can show its results as "Home cards", with one section per group. A base takes any filter Bases offers, and it is a file in your vault; a Home Cards page is not.
  • A greeting. About 180 built-in greetings follow your local time of day, the day of the week and, optionally, fixed-date holidays, some in other languages, always in Latin script.

Rows view, dark mode

Quick start

  1. Install and enable Home Cards, then click the grid icon in the ribbon, or run Home Cards: Open from the command palette.
  2. The first page shows four sections that work in any vault: recently opened, recently created, most linked and least linked.
  3. To add a section for your own notes, open Settings → Home Cards, press + next to Sections, and set the source to By property or By tag.
  4. If your notes record their kind in a property other than type, set Cards → Type property to that property.
  5. Turn on Open on startup to make Home Cards your start page.

Installation

Search for Home Cards under Settings → Community plugins → Browse, then install and enable it.

To install a release by hand, copy main.js, manifest.json and styles.css from the latest release into <vault>/.obsidian/plugins/home-cards/, then reload Obsidian and enable Home Cards.

Home Cards requires Obsidian 1.13.1 or later and works on desktop and mobile.

Settings

Every setting appears in Obsidian's settings search.

  • General: whether the home page opens at startup, the layout it opens in, whether a note may appear in more than one section, and how long a note must sit untouched before Rediscover offers it.
  • Sections: the sections, in page order. Drag a row to reorder it, use its toggle to show or hide it, and press its pencil to edit its source, card count, filters and sort order.
  • Pages: the pages you made. Each row opens the page or edits its name, what it is about, and whether it has sections of its own. A folder you never customized still opens a page, so it has no row here.
  • Cards: the corner glyph, the type label and the property it reads, tags, the opening sentence and its length, and file size.
  • Card text: the summary property, and the openings and title prefixes Home Cards passes over.
  • Appearance: minimum card width, card surface (Flat, Elevated or Frosted) and background pattern.
  • Your backgrounds: the images you added. Each has a name and a fade; deleting a row deletes its stored copy.
  • Header: the greeting and your name, holiday greetings, and the note count.

Optional: Typify icons

If you use the Typify plugin, set Cards → Glyph to Icon from Typify. Home Cards then reads Typify's icon settings and shows the icon for each note's type. Home Cards only reads Typify's settings file, and only while this option is on. Without Typify, the option falls back to each note's initial letter.

Commands

  • Home Cards: Open shows the home page, opening it in a new tab if needed.
  • Home Cards: Recompose redraws every open home page and Home cards base view.
  • Home Cards: Open page for current folder opens the page for the folder of the note you are reading. It appears when that note sits in a folder.
  • Home Cards: Open page for a folder lists every folder and opens the one you choose.
  • Home Cards: Open a page lists the home page and your pages, and opens the one you choose.
  • Home Cards: Create a page opens the page editor, then the new page.
  • Home Cards: Open [name] page exists for each page you made, and takes a hotkey.

obsidian://home-cards opens the home page. obsidian://home-cards?page=Reading opens the page named Reading, and obsidian://home-cards?folder=Projects/Clients opens a folder's page. A link that names nothing that exists shows a notice and does nothing else.

Privacy and access

Home Cards makes no network requests, works with no files outside your vault, sends no data anywhere, shows no ads and needs no account. It reads your notes' metadata and the first paragraph of each note it shows. On each device, it keeps the paths of the last 100 notes you opened, and which sections you folded, in Obsidian's local storage, outside your synced settings.

When you add a background image, Home Cards decodes it, scales it down, and saves a copy without its metadata (such as camera and location) in a backgrounds folder inside its own plugin folder. It creates that folder with the first image and removes it with the last. Your original file stays where it is, and your vault's notes and attachments stay untouched.

With Icon from Typify on, Home Cards also reads the Typify plugin's settings file in your vault's configuration folder.

Architecture

The source divides into four layers. Each imports only from the layers above it; the views and settings tab also hold a type-only reference to the plugin class.

Layer Directory Responsibility
Settings src/settings/ The schema, defaults and choice registries (schema.ts), the normalizer that turns untrusted data.json into valid settings (normalize.ts), the folder path rules (folders.ts), the rules for named pages (pages.ts) and the custom-background rules (custom-background.ts). No imports from Obsidian.
Compose src/compose/ Ranking, filtering, text extraction, the card model, the dek cache and the open history. A compose can be limited to a page's scope: a folder, a tag or a property. Type-only imports from Obsidian; no DOM.
Render src/render/ The home page view (which also draws every other page), the Bases view, the card DOM they share, the card actions, the page picker, and the storage of added background images.
Settings tab src/settings-tab/ The settings tab, declared through Obsidian's settings definitions, and the editors it opens: sections, pages and backgrounds.

src/main.ts wires the layers together and owns persistence. Settings edits go through two methods: touch() records an edit and writes once edits stop, for keystrokes and sliders; commit() writes at once, for structural changes. After a write, the plugin fires a refresh event; each open view subscribes to it and redraws.

Each compose takes one snapshot of the vault: one file listing and at most one pass over the link table, shared by every section.

The test suite enforces the layering: it bundles the tested code with obsidian marked external, and the obsidian package ships no runtime code, so a runtime import in settings/ or compose/ fails to load. A separate test checks each layer's imports.

Styles

styles.css is generated. Edit the partials in styles/, which scripts/build-css.mjs concatenates in filename order. Background tiles live in assets/tiles/ as WebP files, each a seamless repeat 800px wide that the page draws at 400 CSS pixels under a per-tile veil of the theme background (the --hc-veil-<id> variables in styles/10-backgrounds.css); the build inlines them as data URLs, because Obsidian loads a plugin's stylesheet with no asset path. The build refuses to write a stylesheet with unbalanced braces or a placeholder that names a missing tile.

To add a background pattern, add <id>-light.webp and <id>-dark.webp to assets/tiles/, declare the two variables and one selector in styles/10-backgrounds.css, and add the entry to BACKGROUNDS in src/settings/schema.ts. The tests fail if any of the three is missing.

Development

npm install
npm run build   # styles.css, type check, Obsidian's lint rules, main.js
npm test        # type-checks the tests, then runs them
npm run dev     # rebuilds main.js on save

npm run lint applies Obsidian's review rules, the checks the community directory runs on each release, to every file in the repository. See RELEASING.md for the release steps.

License

MIT

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Card View Switcher
5 years ago by qawatake
An Obsidian plugin to provide a quick switcher with card view
Automatic Table Of Contents
3 years ago by Johan Satgé
💠 An Obsidian plugin to create a table of contents in a note, that updates itself when the note changes
Bearings
2 years ago by Jeet Sukumaran
An Obsidian plugin providing dynamically scoped tree views of multidimensional semantic and logcal archictectures of your vault.
Quick Cards
2 years ago by Camus Qiu
Calendar
6 years ago by Liam Cain
Simple calendar widget for Obsidian.
Journey
6 years ago by Alexis Rondeau
Discover the story between your notes in Obsidian
Homepage
5 years ago by mirnovov
An Obsidian plugin that opens a specified note, canvas, or workspace on startup, instead of the most recent one.
Daily notes calendar
2 years ago by bartkessels
Quickly navigate your vault using a calendar view, this plugin allows you to create and navigate to periodic notes and notes that are created on a specific date.
Backlink Settings
a year ago by calvinwyoung
Notes Explorer
a year ago by Atmanand Gauns
Plugin for Obsidian.md. Explore your notes as cards in gallery or masonry view. A new way to revise your content.
Banyan
a year ago by ratiger
A card-based homepage for Obsidian —— browse, organize, and navigate notes effortlessly with multi-tag filtering.
Startpage
a year ago by kuzzh
A modern startup homepage plugin for Obsidian that provides a beautiful dashboard interface, displaying vault statistics, pinned notes, and recent notes.
Maps
a year ago by Obsidian
Map layout for Obsidian Bases. Display your notes as an interactive map view.
Card Viewer
a year ago by vsme
一个用于在 Obsidian 中解析和查看电影、电视剧、书籍、音乐和 HTML 内容卡片的插件。
Kanban Bases View
7 months ago by I. Welch Canavan
A kanban-style drag-and-drop custom view for Obsidian Bases that allows you to organize your notes into columns based on any property.
Calendar Bases
7 months ago by Edrick Leong
Feed Bases
5 months ago by edrickleong
Bases Charts
5 months ago by Moritz Jung
Base Board
5 months ago by mderazon
Kanban Plugin For Obsidian
TaskNotes
4 months ago by callumalpass
Task and time-tracking management with calendar integration for Obsidian
Card View Mode
3 months ago by yo-goto
Obsidian Card View Mode Plugin
ReverySky Map
3 months ago by MoonSkorch Studio
Obsidian plugin rendering the vault graph as an interactive 3D star map with Unity WebGL
Bases Paginator
3 months ago by sean2077
A plugin for Obsidian that adds a paginated table view with column filtering capabilities to Obsidian Bases.
Barosaurus
3 months ago by polygonhunter
A command bar for Obsidian — one field for notes, commands, tabs, headings, bookmarks and tags, and every result can be acted on: rename, move, bookmark, format.
Bases Toolbox
3 months ago by Grub Basket
Adds Quality of Life features to Obsidian Bases
Power Bases
2 months ago by Power Plugins
Add board, calendar, timeline, chart, gallery, and table views to Bases, with inline editing, colors, rollups, field types, formulas, and CSV import.
Canvas Bases
2 months ago by callumalpass
Canvas-style layouts and JSON Canvas materialization for Obsidian Bases.
Mobile Sidebar Notes
2 months ago by ckep1
Open notes & new tabs in the sidebar on the Obsidian mobile app.
Link Structure
2 months ago by Dmitry Fert
Obsidian plugin that adds a Structure view for Bases, displaying notes as a hierarchical tree based on the up property. Supports drag-and-drop reorganization with automatic link updates, multi-select, and Templater integration.
Linked Graph Navigator
2 months ago by woonyong-kr
Follow links from the current Obsidian note in written order, using a sidebar outline or graph.
Base Source Editor
21 days ago by fronglemog
Edit the YAML source of a Base without leaving Obsidian.
Split Groups
21 days ago by Fuad Laguda
Obsidian Bases view that puts a note in every group its list property names
Home Pages
19 days ago by jepicaju862-lab
Customizable homepage dashboard for Obsidian
Bases Timeline View
17 days ago by xjiaxiang
timeline view for obsidian bases
Margin Rail
13 days ago by marchrouter
A compact heading rail for Obsidian with customizable tracking, previews, and bookmarks.
Genkan
8 days ago by Kenroy Harrison
A dashboard for Obsidian. Can also display notes from Pebble index-01 ring if configured.
Momo
6 days ago by Capybara