alberti42_obsidian-import-a.../README.md

82 lines
3.3 KiB
Markdown
Raw Permalink Normal View History

2024-05-10 19:49:19 +00:00
# Import Attachments+ for Obsidian
## Overview
**Import Attachments+** is a plugin designed to enhance the attachment management experience in Obsidian. It allows you to import, organize, and handle attachments (like images, documents, and other files) seamlessly within your vault.
Features include:
- Moving or copying files into the vault upon import.
- Embedding or linking attachments.
- Configurable folder structures for attachments.
- Customizable naming conventions for imported files.
- Management tools for attachment folders.
## Installation
1. **Download the Plugin:**
- Clone the plugin files from the [GitHub repository](https://github.com/alberti42/obsidian-import-attachments-plus).
2. **Install Dependencies:**
- Run `npm install` to install the required dependencies.
3. **Build the Plugin:**
- Run `npm run build` to compile the plugin code.
- The compiled code will be placed in the `dist/PLATFORM_NAME` subfolder, where `PLATFORM_NAME` is based on your platform and architecture:
- `dist/apple-silicon` (Apple Silicon Mac)
- `dist/apple-intel` (Intel Mac)
- `dist/windows` (Windows)
- `dist/linux` (Linux)
4. **Copy to Obsidian Plugins Directory:**
2024-05-10 20:45:06 +00:00
- Copy the contents of the relevant platform folder (e.g., `dist/windows`) into your vault's `.obsidian/plugins/import-attachments-plus` directory.
2024-05-10 19:49:19 +00:00
5. **Enable the Plugin:**
- Open Obsidian and go to **Settings > Community Plugins**.
- Enable **Import Attachments+**.
## Usage
Once enabled, the plugin will work automatically based on your configured preferences. You can adjust these settings through the plugin's settings tab under **Settings > Import Attachments+**.
## Settings
2024-05-10 20:22:18 +00:00
The plugin offers a comprehensive set of options for managing attachments.
2024-05-10 19:49:19 +00:00
2024-05-10 20:22:18 +00:00
### Key Settings
1. **Import Options:**
- Move or copy files on drag-and-drop or copy-and-paste.
- Embed or link imported attachments.
- Import multiple files as a list or inline.
2. **Attachment Folder Configuration:**
- Set the default location for new attachments.
- Define folder paths relative to the note's location.
- Customize attachment file names and date formats.
3. **Attachment Opening:**
- Open attachments with the default external application or reveal them in the system's file manager.
4. **Attachment Management:**
- Rename and delete attachment folders automatically.
- Confirm before deleting attachment folders.
2024-05-10 19:49:19 +00:00
2024-05-10 20:22:18 +00:00
5. **Display of Attachment Folders:**
- Toggle the visibility of attachment folders in the file explorer.
### Screenshot
Below is a screenshot of the settings tab:
<div align="left">
<img src="docs/images/screenshot.png" width=600 alt="Screenshot settings"/>
</div>
2024-05-10 19:49:19 +00:00
2024-05-10 19:57:06 +00:00
## Donations
I would be grateful for any donation to support the development of this plugin.
2024-05-10 20:11:09 +00:00
[<img src="docs/images/buy_me_coffee.png" width=300 alt="Buy Me a Coffee QR Code"/>](https://buymeacoffee.com/alberti)
2024-05-10 19:57:06 +00:00
2024-05-10 19:58:59 +00:00
## Author
2024-05-10 19:49:19 +00:00
- **Author:** Andrea Alberti
- **GitHub Profile:** [alberti42](https://github.com/alberti42)
2024-05-10 19:58:59 +00:00
- **Donations:** [![Buy Me a Coffee](https://img.shields.io/badge/Donate-Buy%20Me%20a%20Coffee-orange)](https://buymeacoffee.com/alberti)
2024-05-10 19:49:19 +00:00
2024-05-10 20:45:06 +00:00
Feel free to contribute to the development of this plugin or report any issues in the [GitHub repository](https://github.com/alberti42/import-attachments-plus/issues).