Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chrisgrieser/new-tab-default-page
Obsidian plugin to open a note of your choice when creating a new tab, like in the browser.
https://github.com/chrisgrieser/new-tab-default-page
new-tab-page obsidian-plugin
Last synced: about 1 month ago
JSON representation
Obsidian plugin to open a note of your choice when creating a new tab, like in the browser.
- Host: GitHub
- URL: https://github.com/chrisgrieser/new-tab-default-page
- Owner: chrisgrieser
- License: mit
- Created: 2022-09-05T08:21:19.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-25T15:56:03.000Z (11 months ago)
- Last Synced: 2024-06-17T22:46:22.112Z (3 months ago)
- Topics: new-tab-page, obsidian-plugin
- Language: TypeScript
- Homepage:
- Size: 111 KB
- Stars: 41
- Watchers: 2
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - chrisgrieser/new-tab-default-page - Obsidian plugin to open a note of your choice when creating a new tab, like in the browser. (TypeScript)
README
# New Tab Default Page
![Obsidian Downloads](https://img.shields.io/badge/dynamic/json?logo=obsidian&color=%23483699&label=downloads&query=%24%5B%22new-tab-default-page%22%5D.downloads&url=https%3A%2F%2Fraw.githubusercontent.com%2Fobsidianmd%2Fobsidian-releases%2Fmaster%2Fcommunity-plugin-stats.json&style=plastic) ![last release version](https://img.shields.io/github/v/release/chrisgrieser/new-tab-default-page?label=Latest%20Release&style=plastic)
[Obsidian](https://obsidian.md/) plugin to open a note of your choice or the Quick Switcher when creating a new tab, like in the browser.
---
📽️ [YouTube Demo of the plugin](https://www.youtube.com/watch?v=PKcnKqErwJw&t=2s)
---
- [Examples for Default New Tab Pages](#examples-for-default-new-tab-pages)
- [Usage](#usage)
- [Advanced Examples](#advanced-examples)
- [Random Quote](#random-quote)
- [Installation](#installation)
- [Donate](#donate)
- [Thanks](#thanks)## Examples for Default New Tab Pages
- your homepage note
- your daily note
- a scratchpad note
- trigger a quick switcher
- an image
- a random quote
- …## Usage
1. Set the note to open in new tabs in the plugin settings.
2. Set the mode in which the note should open.
3. Open a new tab.> __Note__
> Closing your last tab also opens the new tab page.## Advanced Examples
### Random Quote
To have a random quote on every new tab, you can use dataview and paste the following code as a dataviewjs-codeblock in a note.```js
const quote = JSON.parse(await request("https://api.quotable.io/random"));
dv.span(`> "${quote.content}" \n>– ${quote.author}`);
```Then, enter the path of the note in the *New Tab Default Page* settings, and select *Reading Mode*. Now every new note will display a random quote.
### Submit your own idea
Have a cool idea of your own? Feel free to make a PR to this README and submit your own idea.## Installation
Available in Obsidian's Community Plugin Browser via: `Settings` → `Community Plugins` → `Browse` → Search for *"New Tab Default Page"*## Thanks
Thanks to [@pjeby](https://github.com/pjeby) and various people from the `#plugin-dev` channel for helping me out.