pjeby

pjeby

Besides the node+python+go repos found here, you can find my devops/scripting tools at @bashup, and my business's projects (docker, PHP, etc.) at @dirtsimple

Member Since 8 years ago

Dirt Simple, Inc., South Florida

Experience Points
39
follower
Lessons Completed
0
follow
Lessons Completed
190
stars
Best Reply Awards
50
repos

467 contributions in the last year

Pinned
⚡ Use gulp plugins in Metalsmith, or Metalsmith plugins in gulp
⚡ Rename, merge, toggle, and search tags from the Obsidian tag pane
⚡ Automatically reload Obsidian plugins in development when their files are changed
⚡ Perform file explorer operations (and see your current file path) from the Obsidian.md title bar
⚡ Obsidian plugin for per-pane history, pane movement/navigation hotkeys, and more
⚡ Easily see and access any Obsidian plugin's options pane or hotkey assignments (including conflicts) from the Community Plugins tab
Activity
Dec
3
4 days ago
Activity icon
issue

pjeby issue pjeby/tag-wrangler

pjeby
pjeby

Search optionf for list of tags

After migrating from Evernote to Obsidian, I have a really large collection of tags which is annoying slow to scroll through. Would you please add a search filter option similar to what the Backlinks plugin has? That would be a great help

Activity icon
issue

pjeby issue comment pjeby/tag-wrangler

pjeby
pjeby

Search optionf for list of tags

After migrating from Evernote to Obsidian, I have a really large collection of tags which is annoying slow to scroll through. Would you please add a search filter option similar to what the Backlinks plugin has? That would be a great help

Dec
2
5 days ago
Activity icon
issue

pjeby issue comment obsidianmd/obsidian-releases

pjeby
pjeby

Add Calibre Plugin

I am submitting a new Community Plugin

Repo URL

Link to my plugin: https://github.com/caronchen/obsidian-calibre-plugin

Release Checklist

  • I have tested the plugin on
    • Windows
    • macOS
    • Linux
    • Android (if applicable)
    • iOS (if applicable)
  • My GitHub release contains all required files
    • main.js
    • manifest.json
    • styles.css (optional)
  • GitHub release name matches the exact version number specified in my manifest.json (Note: Use the exact version number, don't include a prefix v)
  • The id in my manifest.json matches the id in the community-plugins.json file.
  • My README.md describes the plugin's purpose and provides clear usage instructions.
  • I have read the tips in https://github.com/obsidianmd/obsidian-releases/blob/master/plugin-review.md and have self-reviewed my plugin to avoid these common pitfalls.
  • I have added a license in the LICENSE file.
pjeby
pjeby

As I said above, there may be comments from other reviewers before the plugin is published. Publishing is done by the Obsidian core developers and there appear to be up to 43 other pull requests ahead of this one in the queue. (Though a lot of those are stalled waiting for the submitter to update or resolve issues, so it's probably a lot less than 43 in practice.)

Activity icon
issue

pjeby issue comment pjeby/quick-explorer

pjeby
pjeby

It is recommended to support multiple selection

Sometimes you need to move three files to another folder, If there is no multi selection function, the operation will be cumbersome.

pjeby
pjeby

Obsidian doesn't actually have any mechanism for applying operations to multiple files, apart from drag and drop in the builtin file explorer. And I also don't have any idea what the UI for selecting multiple items would look like in QE. (For example, selecting items from more than one folder would be impossible.) So I don't see this as being practical at the present time

Nov
30
1 week ago
Activity icon
issue

pjeby issue comment pjeby/quick-explorer

pjeby
pjeby

Support for other plugins [new features]

Hope to add support for the integration of Folder Note plugin and Icon Folder plugin.

pjeby
pjeby

Quick Explorer supports folder notes of the same type as is supported by the Note Folder Autorename plugin. Did you have some other strategy in mind?

Regarding folder icons, you can replace them by targeting CSS like this:

.is-qe-folder[data-path="some/folder"] svg.folder {
   // CSS to hide/replace the icon
}

And if the Icon Folder plugin wants to support doing this for QE it can certainly do so. I may at some point add an event to allow other plugins to change the file and folder icons, but that will still require other plugins to support that feature.

Nov
28
1 week ago
Activity icon
issue

pjeby issue comment obsidianmd/obsidian-releases

pjeby
pjeby

Add Calibre Plugin

I am submitting a new Community Plugin

Repo URL

Link to my plugin: https://github.com/caronchen/obsidian-calibre-plugin

Release Checklist

  • I have tested the plugin on
    • Windows
    • macOS
    • Linux
    • Android (if applicable)
    • iOS (if applicable)
  • My GitHub release contains all required files
    • main.js
    • manifest.json
    • styles.css (optional)
  • GitHub release name matches the exact version number specified in my manifest.json (Note: Use the exact version number, don't include a prefix v)
  • The id in my manifest.json matches the id in the community-plugins.json file.
  • My README.md describes the plugin's purpose and provides clear usage instructions.
  • I have read the tips in https://github.com/obsidianmd/obsidian-releases/blob/master/plugin-review.md and have self-reviewed my plugin to avoid these common pitfalls.
  • I have added a license in the LICENSE file.
pjeby
pjeby

Looks good to me, that addresses the concerns I had. There may be comments from other reviewers before the plugin is published, though.

Activity icon
issue

pjeby issue comment pjeby/quick-explorer

pjeby
pjeby

QuickExplorer Collision / Feature Request

Quick explorer sometimes collides with titlebar as #20 notes, it can also sometimes conflict with themes that move the statusbar to the titlebar, like sanctum image

I was also thinking that this might be solvable with a setting in for QE to only show current level + 2 or 3 levels higher, and then perhaps a [. . . . .]?

pjeby
pjeby

Perhaps you should contact the author(s) of the relevant themes to suggest something be done in the theme, as I'm unlikely to add any settings to QE in the near future, and fixing this seems very theme-dependent. Alternately, you can use some of the CSS snippets posted in these issues that allow hiding QE items or making them opaque.

Nov
27
1 week ago
Activity icon
issue

pjeby issue comment obsidianmd/obsidian-releases

pjeby
pjeby

Add Calibre Plugin

I am submitting a new Community Plugin

Repo URL

Link to my plugin: https://github.com/caronchen/obsidian-calibre-plugin

Release Checklist

  • I have tested the plugin on
    • Windows
    • macOS
    • Linux
    • Android (if applicable)
    • iOS (if applicable)
  • My GitHub release contains all required files
    • main.js
    • manifest.json
    • styles.css (optional)
  • GitHub release name matches the exact version number specified in my manifest.json (Note: Use the exact version number, don't include a prefix v)
  • The id in my manifest.json matches the id in the community-plugins.json file.
  • My README.md describes the plugin's purpose and provides clear usage instructions.
  • I have read the tips in https://github.com/obsidianmd/obsidian-releases/blob/master/plugin-review.md and have self-reviewed my plugin to avoid these common pitfalls.
  • I have added a license in the LICENSE file.
pjeby
pjeby

Rather than using the cache resolved event, I would suggest simply creating the file in the onLayoutReady handler; the resolved event runs after every change to every file in the vault, so this is an excessive/unnecessary frequency of running.

I also think the warning about CALIBRE.md should be much more prominent, since the plugin will delete the contents of this file, causing data loss. Your current warning says they shouldn't create it, but doesn't take into account that if they have an existing note named calibre.md or Calibre.md in the vault root, its contents will still be erased, and if they have an existing note of that name elsewhere in their vault, installing this plugin may break existing links to that note.

To avoid users losing data, I would suggest doing one or more of the following:

  • Move the filename information to the top of the README as something they need to check before installing the plugin if they have a note named any variation of Calibre, calibre, etc. anywhere in their vault.
  • Allow users to configure the path, and don't write the file until after they've chosen a location
  • Default to a name with less likelihood of collision, not located in the root (e.g. obsidian-calibre-plugin/Calibre-View.md)
  • Check the contents of the file before modifying it, to ensure its contents weren't previously written by the plugin, and display an error message instead of overwriting it if the contents don't match
  • Don't use a note at all, and instead create a view type that directly renders the required HTML

Obviously the easiest change would be just the documentation, and some of these things are incompatible with each other; the list is just to give you an idea of some of the possibilities for how to avoid the issue. Creating a view type might actually be second easiest, as it will let you not need to have a note at all, thereby avoiding all the related issues of file protection and documentating the issue.

In addition, a view can be written to save the current URL of the iframe it creates, so that each view instance can retain its position in the Calibre browsing interface across Obsidian workspace changes and restarts. This would allow you to have panes open to specific books without losing your position when using the Obsidian core "workspaces" plugin, or if you close and reopen a vault. Views can also customize their leaf/pane "more options" menu with additional operations.

Activity icon
issue

pjeby issue comment obsidianmd/obsidian-releases

pjeby
pjeby

Add Calibre Plugin

I am submitting a new Community Plugin

Repo URL

Link to my plugin: https://github.com/caronchen/obsidian-calibre-plugin

Release Checklist

  • I have tested the plugin on
    • Windows
    • macOS
    • Linux
    • Android (if applicable)
    • iOS (if applicable)
  • My GitHub release contains all required files
    • main.js
    • manifest.json
    • styles.css (optional)
  • GitHub release name matches the exact version number specified in my manifest.json (Note: Use the exact version number, don't include a prefix v)
  • The id in my manifest.json matches the id in the community-plugins.json file.
  • My README.md describes the plugin's purpose and provides clear usage instructions.
  • I have read the tips in https://github.com/obsidianmd/obsidian-releases/blob/master/plugin-review.md and have self-reviewed my plugin to avoid these common pitfalls.
  • I have added a license in the LICENSE file.
pjeby
pjeby

It would be helpful if your README would explain the purpose of the plugin in more detail. It says it will "Allow you to access your calibre libraries and read books directly in Obsidian", but it does not give any indication as to why thiis would be a good idea, vs. e.g. using a browser window, manually creating an iframe in an Obsidian document, or using the URI Commands plugin to launch Calibre URLs or the content server.

The documentation also doesn't mention that the plugin will create a CALIBRE.md file in your vault root, and that you need to not have a note with a conflicting name. (Which on Mac and Windows can be a note like Calibre.md.) Looking at the plugin's source code, it appears as though the plugin also does not update this file when the URL is changed, so I don't think the plugin will work correctly if somebody actually needs to configure a custom URL or port. (And if it did update the file, it would overwrite or erase anything the user had in a Calibre.md file, if any, which is something there should be a warning for, at least in the documentation.)

Nov
20
2 weeks ago
Activity icon
issue

pjeby issue comment pjeby/quick-explorer

pjeby
pjeby

[Feature Request]Search in the current folder

Sometimes I want to search in the current folder, but now I can only copy the path of the file in the folder, then modify it, and then go to use path:, the whole process is a bit too tedious.

It would be great if explorer could have better support for searching.

pjeby
pjeby

Hm. Well, if another plugin were to add a context menu item for "search in this folder", and/or a command to search in the folder of the currently-active file, those would integrate nicely with Quick Explorer.

So, probably this is not something I'd do in Quick Explorer directly, since if there were a "search in folder" plugin that offered the capability it would be usable in other places with or without Quick Explorer.

Activity icon
issue

pjeby issue pjeby/quick-explorer

pjeby
pjeby

[Feature Request] Place Quick Explorer in Status Bar

Fantastic Plugin! Was wondering if at all possible to move quick explorer to status bar just how "show current file path" plugin does it

Activity icon
issue

pjeby issue pjeby/quick-explorer

pjeby
pjeby

[Feature Request]Supporting vim direction keys `hjkl`

First, this is a great plugin. I can switch files without opening and closing the side pane again and again.

However, I'm used to vim direction keys hjkl so that I can keep typing without leaving the home keys. Is it possible to add this vim key support?

Activity icon
issue

pjeby issue comment pjeby/quick-explorer

pjeby
pjeby

[Feature Request]Search in the current folder

Sometimes I want to search in the current folder, but now I can only copy the path of the file in the folder, then modify it, and then go to use path:, the whole process is a bit too tedious.

It would be great if explorer could have better support for searching.

pjeby
pjeby

You mean searching the content of the files?

Activity icon
issue

pjeby issue comment pjeby/quick-explorer

pjeby
pjeby

The current file may not be visible

If there are very many files in the folder, then the current file may not be visible and it may be off screen.

The way I currently do it is to press {Up}{Down} so that it can be seen.

pjeby
pjeby

This should now be fixed in release 0.1.9

push

pjeby push pjeby/quick-explorer

pjeby
pjeby

Scroll to initial selection (Fix #21)

commit sha: 8c79271959988db87612b0b951003e131d8db6a5

push time in 2 weeks ago
Activity icon
issue

pjeby issue pjeby/quick-explorer

pjeby
pjeby

The current file may not be visible

If there are very many files in the folder, then the current file may not be visible and it may be off screen.

The way I currently do it is to press {Up}{Down} so that it can be seen.

Activity icon
created tag
createdAt 2 weeks ago
Nov
8
4 weeks ago
Activity icon
issue

pjeby issue pjeby/note-folder-autorename

pjeby
pjeby

make this note a folder note on IOS

Why can't I use the command "make this note a folder note" of this plugin on my iphone?

Activity icon
issue

pjeby issue comment pjeby/note-folder-autorename

pjeby
pjeby

make this note a folder note on IOS

Why can't I use the command "make this note a folder note" of this plugin on my iphone?

pjeby
pjeby

I've released an update which marks it as available on mobile now.

Activity icon
created tag
createdAt 4 weeks ago
Activity icon
issue

pjeby issue comment pjeby/note-folder-autorename

pjeby
pjeby

make this note a folder note on IOS

Why can't I use the command "make this note a folder note" of this plugin on my iphone?

pjeby
pjeby

Ah. Well, if you have a way to change the plugin's manifest.json to say false instead of true for isDesktopOnly, you should probably be able to enable it. If it works, I can always release a new version with that change.

Nov
7
1 month ago
Activity icon
issue

pjeby issue comment pjeby/note-folder-autorename

pjeby
pjeby

make this note a folder note on IOS

Why can't I use the command "make this note a folder note" of this plugin on my iphone?

pjeby
pjeby

Are there any error messages? What happens if you manually create the folder first, does the command move the note into the folder? That will help narrow down where the problem is.

Nov
6
1 month ago
Activity icon
issue

pjeby issue comment pjeby/quick-explorer

pjeby
pjeby

Quick Explorer collides with Title Bar

When you have a rather deep tree, the Obsidian title bar gets mangled:

image

It might need to move down a line worth of space to avoid colliding with the title bar.

pjeby
pjeby

This can be worked around with CSS, e.g.:

div#quick-explorer {
    background-color: var(--background-modifier-cover) !important;
}

It's not the default because some themes don't play well with an explicit setting of the title bar background color.

Nov
4
1 month ago
Activity icon
issue

pjeby issue comment obsidian-community/obsidian-community-lib

pjeby
pjeby

Make this Library Tree-Shakable 🌲

  • I agree to the contribution guidelines laid out here in the readme.

Please don't mind me moving the template to .github

@pjeby, is this correct? For some Reason I had to add es2017.object to lib in the compiler options, because Object.values wasn't available otherwise, whats strange is that it is available in Obsidian's Sample Plugin with the same configuration.

This would fix #14

pjeby
pjeby

Rather than ES6, I'd suggest targeting ES2018 (and corresponding lib targets), which AFAIK are supported by all Obsidian platforms. (ES6 means you'll have emulated async/await vs. using native implementations.) I think if you just target ES2018 all the lib stuff will be fine without needing to make any of it explicit? Here's what I'm using for Quick Explorer: https://github.com/pjeby/quick-explorer/blob/master/tsconfig.json - but you'd want to change the 2020's to 2018 in order to support mobile, I think. (Unless there's some explicit reason to expect an older target.)

Nov
2
1 month ago
Activity icon
issue

pjeby issue comment obsidian-community/obsidian-community-lib

pjeby
pjeby

The sample plugin doesn't tree shake this library.

If one compiles their Plugin with this Library, using the esbuild (or old rollup config) from the sample Plugin, all provided methods are included, even the ones that aren't used. I am not sure if this is an Issue of this Library or the sample Plugin configuration, and while the Library is pretty small it's also not that big of a deal, but it might become one in the Future.

pjeby
pjeby

The issue is that there's no ESM files in the distribution. Switching the build from CommonJS to ESM should resolve it.

(Long version: dist/index.js uses everything it imports to set up an export object, so tree shaking isn't practical. An ESM build of the module would have exports that would be understandable by rollup as being modular and tree-shakeable.)

Activity icon
issue

pjeby issue pjeby/tag-wrangler

pjeby
pjeby

[Feature] Search tags in tag pane

Would be good to have feature to search in your tag pane. As for person who started using tags a lot I miss feature in obsidian that allow me to search in my already created tag list

Activity icon
issue

pjeby issue comment pjeby/tag-wrangler

pjeby
pjeby

[Feature] Search tags in tag pane

Would be good to have feature to search in your tag pane. As for person who started using tags a lot I miss feature in obsidian that allow me to search in my already created tag list

pjeby
pjeby

You should probably request this as an Obsidian feature, as I don't have any current plans to extend the plugin in this direction.

Activity icon
issue

pjeby issue dirtsimple/poste.io

pjeby
pjeby

Limiting the sending speed for each recipient domain separately

Mr pjeby! Last time you helped me a lot to solve my problematic question. But I have another one. I understand that this second question has nothing to do with your project, but as far as possible, I ask you to give at least a direction, where to look? Although, if you gave a full hint, it would be perfect. All in all, I need to limit/increase the speed of sending letters for each recipient domain individually and so that it is in one sending session. For example, for the domain @gmail.com - 10/min, @hotmail.com - 25/min, @yahoo.com - 50/min

Activity icon
issue

pjeby issue comment dirtsimple/poste.io

pjeby
pjeby

Limiting the sending speed for each recipient domain separately

Mr pjeby! Last time you helped me a lot to solve my problematic question. But I have another one. I understand that this second question has nothing to do with your project, but as far as possible, I ask you to give at least a direction, where to look? Although, if you gave a full hint, it would be perfect. All in all, I need to limit/increase the speed of sending letters for each recipient domain individually and so that it is in one sending session. For example, for the domain @gmail.com - 10/min, @hotmail.com - 25/min, @yahoo.com - 50/min

pjeby
pjeby

You will probably need to create your own plugin for this, as the closest thing to what you describe is the Haraka Limits plugin, and it does not support per-domain counts or message counts, only a global outbound connection concurrency limit per destination domain.

You will probably also need to look at the official poste.io documentation for info on adding Haraka plugins to your installation.

Previous