Creating An IOS Shortcut To Upload Markdown Files To GitHub Using API
Create an iOS Shortcut to upload Markdown files to GitHub using the GitHub API. Prepare a Personal Access Token, encode content in Base64, construct the API URL & request body, then send the request.
This guide explains how to create an iOS Shortcut that uploads a Markdown file to a GitHub repository using the GitHub API. Steps to Create the Shortcut 1. Prepare Your GitHub Personal Access Token Go to GitHub Developer Settings. Generate a Personal Access Token with the following permissions: repo (for private repositories). public_repo (for public repositories). Save the token securely, as it will be used in the Shortcut. 2. Create a New Shortcut Open the Shortcuts app on your iPhone or iPad and follow these steps: Step 1: Add Input (Markdown Cont...