Enveloppe / obsidian-enveloppe

Enveloppe helps you to publish your notes on a GitHub repository from your Obsidian Vault, for free!
https://enveloppe.github.io/
Apache License 2.0
636 stars 39 forks source link

[FR]: Option to use different github tokens for additional repos #318

Closed wychwitch closed 8 months ago

wychwitch commented 8 months ago

Issue validation

Is your feature related to a problem ?

No response

What solution do you want to see ?

I wanted to make a new Quartz site for my dnd campaign on another (and less professional) github account! However I realized that this plugin only supports setting single GitHub token that is used on all of the additional repos that is added under the Manage More Repository option. I would love it if in addition to picking the new repos's location, if we can also set a specific token for each one in cases where someone uses multiple accounts!

Describe the alternative you've considered

I considered just making the repo private, but unfortunately that wouldn't work for my workflow since I use github-pages to host the site, and that doesn't work for private repos.

The other alternative I considered was to push to a local folder and then push from there manually, but this seems clunky and I couldn't update from my phone like I can now!

OS

Windows

Anything else?

I think the default behavior should use the main token as usual, but just adding a new optional field would be great!

Plugin version

6.15.7

Obsidian version & debug log

SYSTEM INFO:
    Obsidian version: v1.5.8
    Installer version: v1.4.13
    Operating system: Windows 10 Home 10.0.22621
    Login status: logged in
    Catalyst license: insider
    Insider build toggle: on
    Live preview: on
    Base theme: light
    Community theme: AnuPpuccin v1.4.4
    Snippets enabled: 6
    Restricted mode: off
    Plugins installed: 88
    Plugins enabled: 79
        1: Charts View v1.2.7
        2: Divide & Conquer v1.0.0
        3: Minimal Theme Settings v7.3.1
        4: Calendar v1.5.10
        5: Buttons v0.5.1
        6: Canvas Links v1.1.4
        7: Annotator v0.2.11
        8: April's Automatic Timelines v0.13.2
        9: Archiver v0.26.1
        10: Crossbow v1.4.0
        11: Contextual Typography v2.2.5
        12: Commander v0.5.1
        13: Colorful Note Borders v0.2.4
        14: Chem v0.3.0
        15: Advanced Tables v0.21.0
        16: Colored Tags v5.0.0
        17: Color Palette v2.2.0
        18: Badges v1.1.0
        19: Codename v1.0.0
        20: Admonition v10.2.0
        21: Time Ruler v2.2.0
        22: Templater v2.2.1
        23: TagFolder v0.18.5
        24: Table Extended v1.6.1
        25: Supercharged Links v0.11.1
        26: Style Settings v1.0.7
        27: Sortable v0.3.1
        28: Soomda v1.0.4
        29: Solve v0.9.0
        30: Shukuchi v0.4.1
        31: Settings Search v1.3.10
        32: QuickAdd v1.7.0
        33: Reading View Enhancer v0.1.4
        34: Quick Switcher++ v4.0.0
        35: Projects v1.17.1
        36: Plugin Manager v0.1.5
        37: Periodic Notes v0.0.17
        38: Outliner v4.8.0
        39: BRAT v0.8.4
        40: Math+ v0.7.0
        41: Mood Tracker v1.2.1
        42: MetaEdit v1.8.2
        43: Lovely-Mindmap v1.0.1
        44: Linter v1.22.0
        45: Leader Hotkeys v0.2.1
        46: Latex Environments v0.4.2
        47: Kanban v1.5.3
        48: Juggl v1.5.0
        49: Improved VimCursor v0.0.1
        50: ICS v1.6.1
        51: JS Engine v0.1.1
        52: Homepage v3.7.0
        53: Heatmap Calendar v0.6.0
        54: Habit Calendar v1.2.0
        55: Find orphaned files and broken links v1.9.1
        56: Full Calendar v0.10.7
        57: Force note view mode v1.2.2
        58: Folder notes v1.7.14
        59: File Diff v1.1.1
        60: File Color v1.1.0
        61: Email code block v0.6.0
        62: Desmos v0.6.6
        63: Dataview v0.5.64
        64: Data Entry v9.0.1
        65: Footnote Shortcut v0.1.3
        66: Colored Text v1.0.0
        67: @ Symbol Linking v1.6.2
        68: Markdown Table Editor v0.3.1
        69: Breadcrumbs v3.6.11
        70: Github Publisher v6.15.7
        71: Meta Bind v0.12.5
        72: Emoji Magic v0.2.2
        73: Iconize v2.10.0
        74: File Explorer++ v1.1.4
        75: Typing v0.3.7
        76: Object Writer v1.0.0
        77: Ribbon Divider v1.0.0
        78: Pomodoro Timer v1.1.9
        79: Tasks v6.0.0

RECOMMENDATIONS:
    Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
    Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
Mara-Li commented 8 months ago

Yeah, I put this idea under the carpet until someone need it. Guess it's time to do it!

wychwitch commented 8 months ago

Yeah, I put this idea under the carpet until someone need it. Guess it's time to do it!

LMAO thank you so much!! I totally get it tho sometimes you notice a missing feature but there isn't an incentive to work on it if no one would be using it