Code Monkey home page Code Monkey logo

Comments (4)

andrewbrereton avatar andrewbrereton commented on July 18, 2024 2

Hi @Gourav1910, thanks for the interest. I'll describe the steps. I will make a note to update the README so it is more clear. I will also consider adding the ability to save the calendar to other storage options if that is desired.

Personal access token

It sounds like you did this correctly. You are correct, it only needs the gist permission. The token should start in ghp_ followed by a lot of random letters and numbers.

Gist

  1. Go to here to create a new Gist: https://gist.github.com/
    1.1 Gist description: Enter anything you like. Eg: My calendar that is generated from my Obsidian vault
    1.2 Filename including extension: obsidian.ics
    1.3 For the contents of the Gist, just put anything in there. The iCal plugin will overwrite it.
    1.4 Click Create secret gist

After you create the Gist, you will see the URL is something like:

https://gist.github.com/andrewbrereton/11c399ce6c0d89c5f8101edb9a2b76d6

                        |------------| |------------------------------|
                           Username                 Gist ID

Configure iCal

You now have all the information. In Obsidian, open your settings, and go down to the iCal plugin.

  1. Ensure Save calendar to GitHub Gist? is enabled.
  2. GitHub personal access token should be that one that starts in ghp_ followed by a bunch of random letters and numbers.
  3. GitHub Gist ID: This is in the URL of the Gist you just created.
  4. GitHub username: This is in the URL of the Gist you just created.
  5. Filename: obsidian.ics (Should match the name you gave in step 1.2).

Configure Google Calendar

Once the Gist settings are working, the plugin settings screen will show you the URL where the calendar will be available. Click the πŸ“‹ Copy to clipboard button.

  1. Go to: https://calendar.google.com
  2. Click the βž• button to add another calendar
  3. Click From URL
  4. Paste the URL that you copied to your clipboard
  5. Click Add calendar

That's it.

Please note: Your calendar will be generated every 5 minutes (by default). There may also be a delay from Google fetching the latest calendar. So sometimes it could take up to 10 minutes for events to reflect on your calendar.

Please let me know how you go.

from obsidian-to-ical-plugin.

Gourav1910 avatar Gourav1910 commented on July 18, 2024

Hi @Gourav1910, thanks for the interest. I'll describe the steps. I will make a note to update the README so it is more clear. I will also consider adding the ability to save the calendar to other storage options if that is desired.

Personal access token

It sounds like you did this correctly. You are correct, it only needs the gist permission. The token should start in ghp_ followed by a lot of random letters and numbers.

Gist

  1. Go to here to create a new Gist: https://gist.github.com/
    1.1 Gist description: Enter anything you like. Eg: My calendar that is generated from my Obsidian vault
    1.2 Filename including extension: obsidian.ics
    1.3 For the contents of the Gist, just put anything in there. The iCal plugin will overwrite it.
    1.4 Click Create secret gist

After you create the Gist, you will see the URL is something like:

https://gist.github.com/andrewbrereton/11c399ce6c0d89c5f8101edb9a2b76d6

                        |------------| |------------------------------|
                           Username                 Gist ID

Configure iCal

You now have all the information. In Obsidian, open your settings, and go down to the iCal plugin.

  1. Ensure Save calendar to GitHub Gist? is enabled.
  2. GitHub personal access token should be that one that starts in ghp_ followed by a bunch of random letters and numbers.
  3. GitHub Gist ID: This is in the URL of the Gist you just created.
  4. GitHub username: This is in the URL of the Gist you just created.
  5. Filename: obsidian.ics (Should match the name you gave in step 1.2).

Configure Google Calendar

Once the Gist settings are working, the plugin settings screen will show you the URL where the calendar will be available. Click the πŸ“‹ Copy to clipboard button.

  1. Go to: https://calendar.google.com
  2. Click the βž• button to add another calendar
  3. Click From URL
  4. Paste the URL that you copied to your clipboard
  5. Click Add calendar

That's it.

Please note: Your calendar will be generated every 5 minutes (by default). There may also be a delay from Google fetching the latest calendar. So sometimes it could take up to 10 minutes for events to reflect on your calendar.

Please let me know how you go.

OMG thankyou so much. You just gave me the most easiest tutorial that I could follow. You are doing good work here by genuinely helping peopleπŸ₯°. Ok I will let you know after implementing all the steps.

Just for the context, my ideas was whatever task that i will create in obsidian by using task plugin and which also has a date should be automatically shown in my google calendar(10min update delay is ok for me). So that I won't miss my obsidian related task and also I don't have to open my obsidian just to look for tasks that I got to do at any particular date.

from obsidian-to-ical-plugin.

bepolymathe avatar bepolymathe commented on July 18, 2024

Hi,

I followed all the instructions but it seems that the calendar is not generated on gist πŸ€”

image

from obsidian-to-ical-plugin.

andrewbrereton avatar andrewbrereton commented on July 18, 2024

I'm going to close this issue as I've updated the README to include this information. Thanks again.

from obsidian-to-ical-plugin.

Related Issues (20)

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.