• 0 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: August 9th, 2023

help-circle
  • The files that hugo build are regular markdown. I can double bracket link into them so that Obsidian shows the graph and backlinks, but i cannot backlink from them into the normal obsidian notes. (without the html showing a double bracket/not a link)

    When i include images in the hugo sites i plop them down right next to the md file so that i can use relative references that the generated site will follow. for my standard obsidian notes i put images and other blobs in a single folder and use the double brackets to make life easier.

    There may be other obsidian specific functionality that i cannot use in those files, which is limiting for sure.


  • I use obsidian, forgejo, renovate bot and some hugo websites as part of my knowledge garden. I am very happy with my setup, but i think “overkill” probably would describe what i have built. it has organically grown, and some less technical folks in my life follow a slimmed down version of this. I keep a note called _focus that i go to when i am overwhelmed. It contains my “seven W’s”, which are links to separate notes which are purposefully kept simple

    Who am I?
    What do I want?
    Why do I want the things I want?
    When am I going to do these?
    What are the things I will consistently do to accomplish these?
    With Whom I'm going to surround myself for leverage
    Where will I do this; which tools will I use?
    

    Whenever i am overwhelmed or feeling like my process is not working, this focus note helps keep me on track. It seems like you may benefit from a similar process.

    Forgejo is great! it helps me keep track of different software i use and follow. It is where i store my obsidian vault (i only use 1). Git lets me sync across devices, keeps history (which gives me confidence to press delete which is very important), and i can use pre-commit hooks to run vale to enforce some limited linking behavior. ie some terms i want to ensure i also setup as a back link any time i write them down. It is also somewhat trivial to have bots interact with the markdown files and commit.

    My main hugo site contains recipes. it is a submodule now, but was just part of the same repo at first. Another is a manual for how to build my home lab from scratch. I consider these sites part if my “Express” in Tiego Forte’s CODE method. CI builds and deploys them, and then i scan a qr code i put on my fridge to jump to the recipes website quickly. I can also (manually) print the sites to keep a meat space copy of this crucial and well structured info.

    Renovate keeps some stuff up to date. Specifically it keeps hugo/its dockerfile and the standalone python/go apps i have written for myself and others (and stored in separate repos) up to date. I do keep codesnippets in my obsidian vault, which renovate does not help with because those are small one/two liners.

    What else… imo a monorepo is better for retrieving information than if you split it out. Forgejo search does not work across repos, and imo even if you used a provider that does, it is always more complex to have to look in many places vs 1. I would advise you try putting all your personal scripts in one place rather than spread them around. I only give my apps a seperate repo when i am ready to share them with others and i need that clear boundary for access.

    I also recommend writing down things in your daily note first, and only moving or putting structure around it after you need to retrieve it. Basically reduce the friction with entering info in (also remember to summarize info, dont dump whole articles and such in) and allow yourself grace and time to retrieve it.


  • In my obsidian i use the daily note feature heavily and if i come across a useful snippet or info i will add a tag and content like below. I found tagging to be helpful because i do not have to spend effort up front putting the file in the “right” folder. I have cleaned some of these up by removing them from my daily notes and into dedicated notes, but only after i have collected quite a few for a specific language or tech and there is a need for me to put more structure around the information.

    #codesnippet/<language or tech stack> Write a description to help me remember what this is for

    <insert code here>



  • Hosting my own git server on my NAS made my life easier and better due to the new freedoms it offers. Backups are centralized, and I have all the space i need to keep any interesting code safe. I am using forgjeo now and highly recommend it. You can also use other front ends (or none and just ssh/filesystem) but forgjeo gives me artifacts (ie docker registry), code search, LFS, and more. With my own git server, my local filesystem only has what I am working on recently (or as my workstation space allows). My home folder has a folder for each version control system (git, pijul, svn). Inside of these i have 2 sub folders: <domain>/<repo name>

    Some examples of different domains are: open, work, personal, dragonish. I do not separate what forge or remote service in the filesystem, this is a persona boundary.

    I use git remote names and branches in each repo to handle what software forge and any upstream/maintainers i need to work with. As an example my work repos only get pushed to my work server (ie, only 1 git remote named origin set to my work’s server), but my open ones will go to forgjeo and github (i setup 2 git remotes, origin and github. origin in this domain goes to my forgjeo). If i have a need i go into some more git branching strategy which I do find has helped me over my life, but I think I am overthinking this post now! keep it all simple enough for what your needs are.