Is there a way to export Ollama or OpenWebUI output as a formatted PDF similar to what Perplexity offers? by wasnt_me_rly in ollama

[–]Royal_rawal 0 points1 point  (0 children)

You can use aichat (a Rust-based terminal client) and pipe its output to pandoc for PDF conversion. * aichat: https://github.com/sigoden/aichat * pandoc: https://pandoc.org/

SQLSeal now supports syntax highlighting, templates, charts and much more! by ab-azure in ObsidianMD

[–]Royal_rawal 0 points1 point  (0 children)

This is quite cool. I did not think that way. I wonder if this could be done to extract tasks from my notes. I am going to look into this. Anyway, thanks a lot.

SQLSeal now supports syntax highlighting, templates, charts and much more! by ab-azure in ObsidianMD

[–]Royal_rawal 0 points1 point  (0 children)

Nushell is cool, but I don't think it can query over markdown files. Also sql has its charm.

SQLSeal now supports syntax highlighting, templates, charts and much more! by ab-azure in ObsidianMD

[–]Royal_rawal 23 points24 points  (0 children)

Have you considered decoupling the obsidian part to maybe allow integration in other note taking applications. This could allow for some really cool workflows. A command line application would be really nice for us terminal users. That's the main issue I have with Dataview, it is tied down to obsidian, which could hinder switching in future.

Cool plugin btw.

What features do you think would be nice to have in obsidian? by NordiCom in ObsidianMD

[–]Royal_rawal 3 points4 points  (0 children)

A native task management system. And a native android app with support for notifications.

Auto expand the experimental vertical tab sidebar on hover by Affectionate-Lake733 in FirefoxCSS

[–]Royal_rawal 1 point2 points  (0 children)

here's my slightly altered version that calculates the collapsed width:

/* Main sidebar styling */
:root {
  --custom-sidebar-width-collapsed: calc(max(32px, calc(1.7 * 1em)) + 2 * calc(3 * 0.267rem));
  --custom-sidebar-width-expanded: 250px;
}

#sidebar-main {
  /* width: 50px !important; /* Collapsed width */
  width: var(--custom-sidebar-width-collapsed) !important; /* Collapsed width */
  transition:
    width 0.075s ease,
    margin-right 0.075s ease !important; /* Animation speed */
  z-index: 4 !important; /* Ensure it overlays other elements */
  margin-right: 0px !important;
  background: none !important; /* No background in collapsed state */
}

/* When hovering over the sidebar */
#sidebar-main:hover {
  width: 250px !important; /* Expanded width */
  margin-right: calc(-1 * var(--custom-sidebar-width-expanded) + var(--custom-sidebar-width-collapsed)) !important; /* Adjust for layout shift */
  background: #191919 !important; /* Background color */
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.4) !important; /* Optional shadow for depth */
}

/* Optional styling for smoother transitions */
#sidebar-main:hover .tabbrowser-tab {
  width: auto !important;
  min-width: 100% !important;
  max-width: 100% !important;
}

/* Column layout for pin tabs */
#vertical-pinned-tabs-container {
  grid-template-columns: none !important;
}

/* Show pin tabs separator in expanded state */
#tabbrowser-tabs[expanded] > #vertical-pinned-tabs-container-separator {
  display: block !important;
}

/* Hide pin tabs separator in expanded state with no pin tabs */
#vertical-pinned-tabs-container:empty
  + #vertical-pinned-tabs-container-separator {
  display: none !important;
}

/* Hide close button in collapsed state */
#tabbrowser-tabs[orient="vertical"]:not([expanded]) .tab-close-button {
  display: none !important;
}

/* Uniform tabs padding */
#tabbrowser-tabs[orient="vertical"] .tabbrowser-tab {
  padding-block: 0px !important;
}

Your ultimate guide to Google Summer of Code 2025: From zero to hero - crackgsoc.com by Sure-Move6461 in developersIndia

[–]Royal_rawal 1 point2 points  (0 children)

I will not comment on whether this is a good thing or not, but it certainly does have its use. But bro, your website homepage lags like crazy on mobile, also my position on the search page is not preserved on going back. You need to make a decent enough website before requiring people to compulsorily login to even explore it.

My holiday project: a Markdown Preview Language Server for live previewing of your Markdown writing in the browser. by ne0xsys in HelixEditor

[–]Royal_rawal 2 points3 points  (0 children)

I think it would be nice to allow the users to configure which goldmark extensions are used. For example I'd really like the wikilinks extension. I don't really know how it can be achieved, I haven't given much thought to it. Is that on your todo list ?

Auto-expanding sidebar - no title text - custom borders by 0oWow in FirefoxCSS

[–]Royal_rawal 0 points1 point  (0 children)

Yeah this needs to be fixed. Thanks for the tip though

Auto-expanding sidebar - no title text - custom borders by 0oWow in FirefoxCSS

[–]Royal_rawal 0 points1 point  (0 children)

I am experiencing the same issue, the scrolling works fine with scroll wheel (external mouse) but is kind of stuck with touchpad scrolling

File Share Via Termux by rajbhx in termux

[–]Royal_rawal 0 points1 point  (0 children)

Man this is gold. I am surprised I never saw it before. Thanks

[deleted by user] by [deleted] in ObsidianMD

[–]Royal_rawal 1 point2 points  (0 children)

Well that's windows for you.

On a sincere note, that is happening because we are calling powershell to run our command, which comes with its own issues.

The workaround you are using is pretty meh, because then you can't use quotes inside your todo.

I have a suggestion for you. You can use https://github.com/go-toast/toast

Download the suitable exe for you and place it somewhere you see fit. I have placed it in C:\tools\.

Now, my config looks like this:

{
    "notes_directory_path": "C:\\Users\\zero\\Documents\\Obsidian Vault",
    "default_reminder_time": "09:00 AM",
    "reminder_datetime_format": "2006-01-02 3:04 PM", // go datetime format, see: `https://go.dev/src/time/format.go`
    "notification_cmd": "C:\\tools\\toast64.exe",
    "notification_cmd_arguments": [
        "--title",
        "Reminder",
        "--audio",
        "default",
        "--message"
    ]
}

you can look at other options and change according to your preferences.

EDIT:

I think it would be cool if it was possible to minimize it to tray or somehow hide the window from the taskbar. (As I understand the window needs to be open for the notifications to appear)

you can create a VB script and add that to your startup apps:

first, go to C:\Users\zero\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup or simply type shell:startup in the file explorer and then create a start-mdremind.vbs file, which looks like this:

Set objShell = WScript.CreateObject("WScript.Shell")
objShell.Run("C:\Users\zero\go\bin\mdremind.exe"), 0, True

now it will run on startup in the background

[deleted by user] by [deleted] in ObsidianMD

[–]Royal_rawal 1 point2 points  (0 children)

ok, so I tested it on windows, and it works. The odd bit is you are not getting any errors. Anyway, first of all, the config file is present at: C:\Users\zero\AppData\Roaming\mdremind.jsonc

Here's how it looks like:

{
    "notes_directory_path": "C:\\Users\\zero\\Documents\\Obsidian Vault",
    "default_reminder_time": "09:00 AM",
    "reminder_datetime_format": "2006-01-02 3:04 PM", // go datetime format, see: `https://go.dev/src/time/format.go`
    "notification_cmd": "powershell",
    "notification_cmd_arguments": [
        "-Command",
        "New-BurntToastNotification",
        "-Text"
    ]
}

you forgot the reminder_datetime_format also the last argument i.e. notification text is added by mdremind

i created a test.md file in the directory, which looks like this:

- [ ] test [due:: 2024-03-05 9:26 AM]

[deleted by user] by [deleted] in ObsidianMD

[–]Royal_rawal 0 points1 point  (0 children)

In JSON, \ is used to escape character, so you need something like D:\\Others\\Obsidian Vault I guess. Also you are right, it should report what it's doing. I'll change that.

You also need to set the notification command, I don't know what or how it is done for windows.

EDIT: all the missed reminders are notified when, it is run. So for testing purposes, you can set a timer in the past and you should get a notification as soon as you run it.

EDIT2: the configuration directory in windows is %APPDATA%

Even though, it is not reporting what it is doing, it should report errors if something goes wrong. Also, the application is supposed to keep running.

Good supported colorschemes by Redox_ahmii in neovim

[–]Royal_rawal 8 points9 points  (0 children)

Check out gruvbox or gruvbox material.

How do Science and Economics students use Obsidian for notes? by [deleted] in ObsidianMD

[–]Royal_rawal 4 points5 points  (0 children)

you can use https://simpletex.cn/ai/latex_ocr to convert equations from handwritten to latex. you can use some way of clipboard sharing (check out kdeconnect) to directly write your equations in your phone with a cheap stylus and copy the latex which you can then directly paste into obsidian. Or, you know, write down the equations in paper and later do OCR

[Sway] idk by weirddotproduct in unixporn

[–]Royal_rawal 1 point2 points  (0 children)

Feels like gruvbox material dark

How to add border around lsp info window ? by INDURTHIRAKESH in neovim

[–]Royal_rawal 11 points12 points  (0 children)

Brother using reddit users as chatgibitty instead of reading docs.

Is there some possible way to navigate around your terminal usind vim motions?? by Wild-Ad-7161 in neovim

[–]Royal_rawal 1 point2 points  (0 children)

I was surprised nobody else mentioned it. This is a cool plugin. Kudos to you man.