For example, if I want to collaborate on making a (non-computer related) textbook with someone, and we want to use git as a version control system. Should we use github/codeberg for this or is there a platform that’s more suitable for using git in nontechnical contexts?

  • Lost_My_Mind@lemmy.world
    link
    fedilink
    arrow-up
    36
    arrow-down
    4
    ·
    5 months ago

    There’s a different hub, where people all share their porn. A porn hub if you will.

    It’s called Xhamster.

  • bufalo1973@piefed.social
    link
    fedilink
    English
    arrow-up
    23
    ·
    5 months ago

    Git is for text in general, not only for code. As long as it’s human readable (I don’t know if doc or odt files can be used), git can work with it.

    • rImITywR@lemmy.world
      link
      fedilink
      English
      arrow-up
      20
      ·
      5 months ago

      I don’t know if doc or odt files can be used

      Much easier to keep the content in plain text as markdown/LaTeX/whatever markup language and then use pandoc or pdflatex to convert it to docx/odt/pdf/HTML/whatever as needed.

      • schnurrito@discuss.tchncs.de
        link
        fedilink
        arrow-up
        3
        ·
        5 months ago

        There are ways to store office formats as single XML files, look up “flat XML ODF”. Those are more suitable for repos than ordinary zipped ODF or OOXML files.

  • Otter@lemmy.ca
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    5 months ago

    If it helps, a number of courses at my university used open source git based textbooks. For example, you can replicate this Statistics textbook using any static site generator designed for documentation: https://moderndive.com/ (https://github.com/moderndive/ModernDive_book/)

    We use vitepress for our docs: https://fedecan.ca/en/guide/get-started

    Or you can get even simpler by using plain markdown files organized into folders.

    In my opinion, it’s better to start off simple while writing the content since then you can pick a tool based on what type of formatting you end up needing

    • a_gee_dizzle@lemmy.caOP
      link
      fedilink
      arrow-up
      4
      ·
      5 months ago

      Thanks for the info.

      In my opinion, it’s better to start off simple while writing the content since then you can pick a tool based on what type of formatting you end up needing

      Yeah I guess there should be rudimentary markdown to LaTeX translation programs, right?

      • Otter@lemmy.ca
        link
        fedilink
        arrow-up
        4
        ·
        5 months ago

        Yeah I guess there should be rudimentary markdown to LaTeX translation programs, right?

        I haven’t tried any, but I would think so yes. You can probably run a script over the files to accomplish the same thing :)

      • Meron35@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        5 months ago

        pandoc. Converts markdown to html, latex, pdf, and Word.

        It serves as the backend behind basically every program that support some kind of rendering of markdown, e.g. quarto, ipython notebooks.

        Pandoc - Pandoc User’s Guide - https://pandoc.org/MANUAL.html

  • communism@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    5 months ago

    Plenty of people use git hosting to host non-code, like documentation, books written in markdown/LaTeX, etc. I personally use git to maintain a few personal wikis.

    Different git forges will have different rules about what content they allow. GitHub definitely allows non-code. I’ve seen Codeberg repos be used for non-code too. Codeberg’s only requirement is that you only host free (as in freedom) content, so I suppose for non-code that means using an appropriate CC licence for example. I can’t imagine any of the popular git hosting sites taking issue with someone hosting their book, unless you’re hosting, like, the whole of Wikipedia or something.

    • a_gee_dizzle@lemmy.caOP
      link
      fedilink
      arrow-up
      2
      ·
      5 months ago

      interesting. how does it do with collaboration? the guy im working with has no tech knowledge really so i dont want to make it too complicated for him

      • thagoat@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        5 months ago

        It’s been quite a few years since I used it, but iirc users log in and have access to the chapters and pages that already exist, so they are able to edit them as they see fit. Likewise they can create new chapters and/or pages that would be accessible to other users. Writing is done on a wysiwyg interface like with word processor apps. I recall it being pretty easy to use, so less tech-savvy users who can write a word doc should not have too many issues.

  • quick_snail@feddit.nl
    link
    fedilink
    arrow-up
    6
    ·
    5 months ago

    Yeah, most academics I know collaborate on git. They have zero code. Just use it for datasets and such.

    Another example is datasets on covid infections and deaths from John Hopkins Uni. They used github.

    I’m consistently surprised by the number of my friends that use github who are not coders.

  • fdnomad@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    5 months ago

    We always used Overleaf (LaTeX) for assignments because we couldnt figure out how to compile it on 3 different OSs lol

  • danhab99@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    5 months ago

    I have been tinkering with this idea for a project file oriented version control software

    I’m not sure if it’s in a state that I can share it yet but if you want to take a look I’m calling it duh.

    I plan to eventually create an entire DuhHuh to serve as GitHub for everyone.

  • Canaconda@lemmy.ca
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    5 months ago

    Google sheets or Microsoft office. I don’t know if a dedicated platform exists but I would not expect a large demand given the alternatives.

  • just_another_person@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    5 months ago

    Any version control system works for this.

    If you want something fairly user friendly, maybe look at Joplin or Logseq which are both specifically for text.

  • ideonek@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 months ago

    I feel like there was a radiolab or freakonomics episode about this exact problem. What am I thinking of?