My collection of silverbullet-libraries

Because @malys brought to my attention that this is the official way to share/distribute libraries in SilverBullet.

Here is my collection of silverbullet-libraries-repo of useful widgets, functions & styles.

Currently there are only a few ones, but in the future I might upload more.

Available libraries

You will also find at the end of each library the URL to the corresponding discussions.

Added a Weather Widget for OpenWeatherMaps to my silverbullet-libraries

You will need a free OWM API_KEY for it to work, but I found it more reliable than other free weather API’s.

I think I over engineered the functions a little with three different slash commands.

Feel free to try it and leave your opinions below.

Better add a space _ after :globe_with_meridians: ? or use :globe_showing_americas: ?

and %s %s%s%s :

local owm_weather = string.format("🌡️%.1f°C 💧%d%% 🍃%s%.0f km/h %s%s ℹ️%s 🌎%s,%s", owm.temp, owm.hum, owm.wdir, owm.wind, owm.icon, owm.cond, os.date("%H:%M", owm.timestamp), owm.city, owm.country )

can you send a screenshot how it looks on your display?

because on mine without space and with the “,” look the better imho:
Current:

image

your proposal:
image

and regarding the globe emoji, i didn’t wanted to be exclusive (and let the other half of the planet unrepresented :stuck_out_tongue: )
:globe_showing_americas: :globe_showing_asia_australia: :globe_showing_europe_africa:

that’s why i chose the more general & neutral globe:
:globe_with_meridians:

Oh, maybe that’s font-related?
About :globe_with_meridians:, it is indeed better to choose :globe_with_meridians: interms of eleminating the ambiguity.

before:
image
after:
image

Not a big problem, some personal tweaking is ok.

yeah that looks definitely font related.

about the tweaking: i try to make the libraries updatable, so you don’t have to change anything inside the library, but that gave me an idea to cook up something. Maybe i could add some config.set options for the format too, so you can chose what is visible. I have something like this in mind:

temp = true,
hum = false,
wind = true,
last_cache = true,
location = false,
custom_emojis = {“:thermometer:”,“:droplet:”,“:leaf_fluttering_in_wind:”,“:information_source:”,“:globe_with_meridians:”}

because not everybody wants to know the windspeed, last_cache time or humidity. this could make it much more customizable, and aligned with personal preferences.

Here is the URI for my Library Repo for the brand new :sparkles: Official Library Manager :sparkles:
available in the edge version of SB:

https://github.com/Mr-xRed/silverbullet-libraries/blob/main/Repository/Mr-xRed.md

I Will wait 2.3 to migrate plugs and scripts ti new plugs manager.

I’ve been wondering lately and I’m genuinely curious how many of you are using my libraries regularly.

Since SilverBullet doesn’t collect any usage data and neither do my libraries, I don’t really have any insight into how many people are using them. The only feedback I usually get comes from bug reports :sweat_smile:

Here you can find My Repository

So I’d really appreciate it if you could voluntarily take a moment to fill out this poll and select all the libraries that you have installed and use frequently.

Which of my libraries have you installed and use frequently? (Multiple selection)
  • :card_index_dividers: Document Explorer for SilverBullet - with Grid|List|Tree-View and some other handy features
  • :white_check_mark: Kanban Board and/or :white_check_mark: TaskManager - This widget creates a customizable Kanban board to visualize and manage tasks from your notes.
  • :hammer_and_wrench: TableFilterAndSorting - Adds filter & sorting to SilverBullet tables globally
  • :hammer_and_wrench: Advanced Panel Control and Window Management - Advanced Controls for your Side Panels (LHS, RHS, BHS)
  • :page_with_curl: Floating Page - Open any page in a Floating Window inside Silverbullet
  • :timer_clock: Pomodoro Clock - The productivity tool you didn’t ask for, but are getting anyway
  • :round_pushpin: Floating Cursor Position - A minimal floating widget that shows the current cursor position in the editor
  • :printer: PrintPreview - Adds PrintPreview with custom HTML/CSS styling for SilverBullet
  • :framed_picture: MediaGallery and :toolbox: MediaManager - A configurable, client-side media gallery widget that renders your media pages as a searchable, paginated grid with posters or covers
  • :world_map: EmbedGoogleMapsWidget - Embeds a GoogleMaps to a specified location in your page
  • :hammer_and_wrench: DisableAccidentalMobileTaps - Command to disable Accidental Mobile Taps and summon the Evil Unwanted Virtual Keyboard
  • :hammer_and_wrench: HeaderLevelToggle - Shortcuts to toggle HeaderLevel(1-6) for current line
  • :hammer_and_wrench: SelectionToCodeblockToggle - Shortcuts to wrap the current selection in custom codeblocks.
  • :spiral_calendar: DatePicker as SlashCommand - Pick a date from a calendar and add it to your page as a WikiLink
  • :spiral_calendar: Floating Journal Calendar - The Journal Calendar is a lightweight, interactive navigation tool for SilverBullet.
  • :paintbrush: ModalBoxHighlighter - Modal box highlighter - focuses attention to the modal boxes.
  • :paintbrush: SearchBar_ModernStyle - Revamps the “Find in Page” field with improved UX.
  • :artist_palette: Admonitions_multilingual - Multilingual admonition, supporting custom styles and multiple languages.
  • :artist_palette: Custom_Width_and_Color_Tables - Custom table widths and colour schemes for flexible layout and styling
0 voters

Thank You for participating :folded_hands:

So the clear winners are:

  • :card_index_dividers: Document Explorer for SilverBullet
  • :spiral_calendar: Floating Journal Calendar
  • :hammer_and_wrench: Advanced Panel Control and Window Management

With the Task management tools like

  • :white_check_mark: Kanban Board
  • :white_check_mark: TaskManager

not far behind.

Thank you for participating :wink: