GithubHelp home page GithubHelp logo

yilmas / obsidian-weather-forecast Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 0.0 89 KB

Obsidian Weather Forecast

License: MIT License

JavaScript 4.41% TypeScript 77.96% CSS 17.63%
obsidian-md obsidian-plugin ttrpg

obsidian-weather-forecast's Introduction

Obsidian Weather Forecast

Spiritual continuation of: https://github.com/Syrkres/templates/tree/main/WeatherGenerator

This plugin will allow the user to create a markdown populated with weather data. The user will provide the plugin with as much data as they want, and the plugin will compute anything missing, within the parameters of the supplied data.

Block Configuration

A weather forecast can be generated with: ``

weather-gen: --season Spring ...
view: compact

``

There are currently two primary views: "Compact" and "Detail". Each have an addon called "Week". If both are set, or neither, it will default to "Detail".

Settings

  • Debug Mode: Will enable console logs of most things that occur in the plugin.
  • [WIP] Keep Formula: When you enter the "Reading Mode" the plugin would normally strip the formula to save performance. However, it comes with the downside of not being able to generate a new forecast should you dislike what it generated. By enabling this field, you keep any parameters you entered originally.
  • Location: By default all forecasts will be based on a Temperate climate zone, however you can change this using the dropdown menu. If FC at some point loads location values, this plugin will attempt to use those values instead.
    • Polar: Very cold and snowy.
    • Continental: Is similar to dry, except it is cold.
    • Temperate: "Europe". More rain starts to occur, and longer summers.
    • Dry: Rain becomes rare, the temperature raises and the humidity falls. Winds can often be brutal in these areas.
    • Tropical: Rain becomes heavy, the humidity is high, but it is generally not too windy.
  • FC Seasons: You can load the json that FC used to parse, to get seasonal data. This option will be expanded further down the line.

Optional Plugins

Below you can see the plugins I recommend to get the full experience of this plugin.

  • Fantasy Calendar (Allow more comprehensive weather forecasting)
  • [NOT IMPLEMENTED] Templater (Alternate way to insert weather data)

Fantasy Calendar

Highly advisable! If you use fantasy-calendar.com and/or Fantasy Calendar, this plugin will have options to load in data from both to help make the weather more accurate.

From FC it makes use of:

  • Current Date
  • Seasons
  • Locations

If FC at some point loads in weather data and more, I will try to use that as well as a baseline - if present.

Roadmap

Below you can see the elements I will attempt to cover throughout the plugins development. Note: The order is not a true representation of development.

  • Generate weather based on seasonal and location data from fantasy-calendar.com
  • Generate weather through markdown code block, where the raw data/parameters are stored in the editor view, and presented in the reading mode. (Similar to Dataview)
  • Generate a weather note using a command and/or Templater
  • Generate a week of forecast for the weather, any day used within this forecast will make use of the forecast as part of the randomness
  • Allow weather to be placed within infoboxes and similar (> weather)
  • Offload weather computations to "The Cloud", to allow for more advance forecast algorithms.
  • Lucide doesn't have icons for moon phases, will need something else for that.

obsidian-weather-forecast's People

Contributors

yilmas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.