Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aleksey-rezvov/obsidian-local-images
https://github.com/aleksey-rezvov/obsidian-local-images
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/aleksey-rezvov/obsidian-local-images
- Owner: aleksey-rezvov
- License: mit
- Fork: true (niekcandaele/obsidian-local-images)
- Created: 2021-09-20T12:42:19.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-23T03:14:09.000Z (over 1 year ago)
- Last Synced: 2024-08-02T15:34:50.351Z (3 months ago)
- Language: TypeScript
- Size: 26.8 MB
- Stars: 314
- Watchers: 12
- Forks: 42
- Open Issues: 45
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - aleksey-rezvov/obsidian-local-images - (TypeScript)
README
# Obsidian Local Images
**This plugin is still young, backups are a good idea.**
Obsidian Local Images is a plugin for [Obsidian](https://obsidian.md/) desktop version.
The plugin finds all links to external images in your notes, downloads and saves images locally and finally adjusts the link in your note to point to the local image files.
![](docs/obsidian-local-images-sep2021.gif)
For example, we initially have a markup in the note like this:
![](https://picsum.photos/200/300.jpg)
Local Images plugin will download image 300.jpg, save in **media** subdirectory of the vault, than change the markup so it refer to locally stored image:
![](media/300.jpg)
It is useful when you copy paste parts from web-pages, and want to keep images in your vault. Because external links can be moved or expired in future.
![](docs/obsidian-local-images-html-sep2021.gif)
Use it with commands:
**Download images locally** -- your active page will be processed.
or
**Download images locally for all your notes** -- will be processed all the pages in your vault, that corresponds to **Include** parameter in the plugin's settings.
Also you can turn on in plugin's settings processing the active page when external links pasted into the page.
The plugin was not tested with mobile version, probably it can work with it too.
## Credit
This plugin was developed from [niekcandaele's](https://github.com/niekcandaele/obsidian-local-images) code base. Key principles for downloading, saving were given there, and some texts too. Even the plugin's name is original.
## Development
```
# Start the bundler in watch mode
npm run dev# It's useful to set a symlink so you don't have to copy files over constantly
ln -s /home/user/code/obsidian-local-images /home/user/notes/dev/.obsidian/plugins/local-images
```