I’m sharing a couple of tips to make Panda more awesome on your Mac and iPad/iPhone.
1. CHANGE TEXT SIZE, STYLE, SPACING ON MAC
Panda’s default text sizes are too small for me. I like writing with big text sizes (18-20px on desktop). So I went into Panda’s theme files and changed the sizing, spacing, and typeface style to my preference. Here’s what my editor experience looks like now.
If you also want to change your text sizing, spacing, and typeface, first locate the theme files within the Panda package (right-click on app → show package contents). There are two files,
dark.theme, which are both located in this directory:
panda.theme file in any text or code editor, and scroll down to lines 86-115. You’ll see the values for font, text size, spacing, etc. for both main text and heading text in those lines. Change the values to what you want (e.g., the value of text size from 15 to 18) and then save the file. Open up
dark.theme and apply the same changes to that file and save it. Now open up the Panda app, and ta-da your text will be bigger.
2. GIT VERSION HISTORY ON MAC
I think Bear (and Panda) are a far superior writing experience than FSNotes app. Yet one of the remarkable things about FSNotes is that it has automatic git version history: you have an ongoing record of all the changes you made to your document that you can instantly revert back to if you need to correct a mistake. Git versioning/reverting isn’t feasible with Bear because it uses a SQLite database.
But Panda doesn’t use a SQLite database (so far…). Instead, it opens and saves files on your drive, which means you can enable git version history for all your docs!
How did I add git version history to Panda?
- I created a local repository on my Mac that syncs with a repo on GitHub.
- Then, I put all my Panda doc files in that local directory. (From now on, I only save and open files in Panda to this directory).
- Then, I installed a script that automatically checks the local directory for changes and pushes them to the GitHub repo online.
- To make the script work, I first installed fswatch.
- Then, I downloaded a syncing script called git-auto.
- There is also a script here that might work for you instead of git-auto.
Once everything is installed and set up, get version history up and running:
- Open your terminal app of choice and run the sync script referred to above.
- By the way, keep this terminal window open and running before you open Panda and close the terminal window (or exit the script) after you exit Panda.
- Start Panda and open a file from your local directory, or create a new file. (If you create a new file, be sure to save it in your local repository folder on your Mac.)
- Every time you save your file in Panda, you should see the script in the terminal window saving the changes to your online git repo.
- Once you’re done working in Panda, save your file and close the app.
- Wait for the last push to finish in Terminal and close Terminal (or exit the script).
3. GIT VERSION HISTORY ON IPAD/IPHONE
I don’t know if this is worth the effort to get git versioning working on iPad because there isn’t a way to push changes to a git repo automatically. Instead, you need to do it manually, which might be too inconvenient. However, if you want to enable it and sync it with your Mac, this is how you could do it:
- Download the app Working Copy to your iPad or iPhone.
- Start Working Copy, and sign into your online git account (GitHub, Gitlab…)
- Add your online Panda document repository to your iPad and pull the files.
- When you start Panda app on your iPad, in the bottom navigation, you should see a “Browse” icon; press it, and you’ll see your file locations.
- You should see Working Copy listed as a location for files. Open that folder and find your Panda docs.
- Once you’re done working on your doc, close it in Panda, exit Panda.
- Switch to Working Copy and push your changes back to your online repository.
- If you want to work on the same documents on your Mac after using your iPad/iPhone, make sure you pull the changes to your local Mac repo before you begin work.
I hope this helps anyone who is looking for these features!
PS: To anyone at Panda reading this, these two features are by far the two top features I hope you can integrate into Panda in the future (text customization and document versioning).