Bear writer synching11/21/2023 Unfortunately, Bear saves notes in a non-standard markdown format, so I had to jump through some hoops. I wrote the CMS and web server in Elixir using the Phoenix framework, an excellent setup that I would recommend people take a look at.įor rendering web pages from Bear, I used the excellent Earmark library, which is a markdown parser that can output an AST, to parse the markdown files stored in Bear’s database (which is a SQLite file). The latest posts and pages I edit in Bear are just a click away from being live on my site.Īnd anything I’ve already written in Bear is just a few edits away from being adapted for my blog.Īll layouts and includes that are used to build up pages, blog posts, and even the Atom feed on the site, are stored in my Bear app, and if I update them there, changes are just a click away from being reflected on the site.Īs a bonus, I have an offsite backup of all my notes, and I can log in using OpenID Connect, and if I’m logged in as the configured super-user for the site, I now have web-based access to all my notes, in case my Apple devices are unavailable. When I’m happy with it, I run a command that synchronizes my Bear app database with the one stored on my web server, and then it’s live. I write the post, add any images within it, and can manipulate some metadata for layout, all within the Bear note-taking app. I’m pretty sure I will still suck at regularly posting any longer-form stuff, but we’ll see!ĭall-E's rendition of a bear writing a note, stuck in a web.Īny time I want to write a new blog post, I start a new note in Bear with the tag cmsbear/post (or cmsbear/draft if I want to keep it a draft and only be able to preview it while logged in). My intent was to make it a lot less friction for myself to post small blog posts a lot more frequently, for example to document simple things I’ve learned that I think might be useful for others. If you’re interested in using it for yourself, take a look at the caveats for potential users near the end of this post. For now at least, I’m not really expecting to develop it forward as a proper project, more just putting it out there. I’ve open sourced this custom CMS (AGPL license) and made it available on GitHub. I had the idea to use Bear as a CMS for my personal site,, and started hacking away at it an embarrasingly long time ago in my so-called “free time”, and I have finally launched an updated version of this site that runs on my custom CMS, which serves up content directly from a snapshot of my Bear database. I’ve been a paid user for years, and it’s where I do most of my writing (outside of emails). We’re Feel free to propose new TagCons or keywords, we always open to suggestions.I love the note-taking app Bear, available on macOS and iOS. If you want to display the standard # for all your tags, you can disable TagCons from Bear’s preferences -> Themes -> Use Custom icons for Tags. This will make Bear display the same icon for both #todo and #计划任务. For example, if you are using your operative system in Chinese and you want Bear to also display a special icon for #todo you can add English as second preferred language. If you are using Bear in your mother language but you want to also use another language keywords set, you can add a second language to your operative system’s preferred languages. It unlocks sync (powered by iCloud), more export options, and a growing library of beautiful themes to customize your writing environment. ![]() To sync your TagCon choices between Bear on Mac, iPad, and iPhone, you’ll need Bear Pro. Scroll or search the list of TagCons that appears.On macOS, here is how to access the TagCon picker: ![]() If you’ve already selected a tag to view its notes, tap the Notes List header at the top. ![]() On iOS, here is how to access the TagCon picker: To build our list of popular tags with default TagCons assigned, we researched popular services like Twitter, Pinboard, Instagram, and others.Īs of Bear 1.5, users can add or change the TagCon for any tag. How it worksīear has a growing library of TagCons, many which automatically appear next to popular tags like: writing, travel, business, games, ideas, and so on. Bear enhances the tags you add to your notes with a feature we call TagCons: small, identifiable icons that appear next to tags in the Sidebar.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |