Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)B
Posts
2
Comments
29
Joined
3 yr. ago

  • Well, I found it to be easier than stainless. I know how to use stainless in theory, but I never managed to use it properly. lol

    I realized there's a hipster factor around it but I really find it easy to cook a lot of things without thinking twice. I'm only careful when I clean it.

  • Yes, that why I recommand jinja. as it can be used in OpenXML as well as latex or anything in plain text.

    Let's say you want to place a table that corresponds to a certain pattern, you could add it to your file conditionally. In your Word document, you could add that :

     
        
    {% for job in jobs %}
       {% if job.style == 1 %}
           {{ job.name }} |  {{ job.date}} | ...
       {% else %}
           - {{ job.name }}
           - {{ job.date}}
           - ...
        {% endif %}
    {% endfor %}
    
      

    I don't know .NET but you can probably call a Jinja tools

    Also for the resume, you might be insterested in Rx Resume

  • I'm using docxtpl which uses jinja placeholder to set values.

    For your solution, you should use jinja It's used for whatever text files you want, htlm, txt, latex, MD, etc. And you can put code into the document (see my examples document in the post)

  • It used to be integromat. You can look it up more easily, haha

    I almost succeeded with it, but to integrate multiple entries in one document, it was too complicated.

    So, I'm modifying the code I originally made to make API calls to Airtable, and I assemble the doc with docxtpl

    I started by creating an API on my already functioning flask app, so everything can be done through Airtable page. But I was worried about opening an API to the world, so I decided to make a local python app that I'll probably compile to .exe

    And yes, I can open source, but it's really tailored to me needs

  • Oh wow that looks great! I didn't know about n8n

  • Nice!

    Secretary looks exactly like Docxtemplate, which I used on my homemade webpage. Maybe it's a fork.

    It never was really user friendly so I am looking to replace it. That is also the main issue with your self build solution? Or are there other issues as well?

    Yes exactly. I need people to be able to use the tools easily and reliably and to be able to add templates themselves.

    Also, my main job is not developing tools and I can only do it on my spare time, so the fastest it is to implement the better.

    After a week to try, Airtable + Make seems to be the easiest. Airtable also offers to generate documents directly in it, but it lacks options.

    My main issue with a lot of tool (except Docxtemplate or similar) is to renders array of data. Most solution replace a {{tag}} with an info, but what I would need is a {{array[i]}} and to be able to generate different paragraphs.

  • Ha that looks like something I can use!

    I think that Airtable + Make is still easier to use with less code, so my colleagues might prefer it over your solution

    But I definitely keep that in mind. I have another tool where that might be useful.

  • Thanks! This look interesting. I can't find the document generation though

  • Sorry, my comments and edits seem to fail every time

  • Yes, it does have the same option that libreoffice. But this solution would not be better than what I have currently

  • It is, but the main issue is how to select the values from the database and to render without the user needing to tweak anything

    Latex, MD, Word is equivalent (although Word is preferred) since I'll just place universal markers in it

  • Thank you !

    It's pretty much the solution I already have: I generate a doc with DocxTemplate through a webpage made with Flask.

    What I'm looking for is a solution with a user-friendly pipeline that can be easily used by anyone once it's set up

    Form > generate new entry in a db

    Entry > Select entry from tags > generate documents from template

    Airtable is already proposing something similar, which is why I'm currently trying it with zapier, Documint, and other automation solutions

    I'm looking for a self host solution but mostly a free and polished one

  • Interesting! I'll take a look Although, I'm not sure if I'll be able to implement it in my company. Thanks!

  • Selfhosted @lemmy.world

    Generate document from templates and database

  • Thank you

    The issue was actually that the container somehow didn't have access to its directory anymore. No idea why or how to correct it.

    I just created another config directory and use the backup to set everything

    So it's working again, but I have no idea how it got stuck

  • When the container is down, the port is not listed in the netstats

  • Yes Sonarr is not working but I have a container It worked fine for the last month and it just stopped working maybe a week ago

  • I've tried it and it the same issue

  • I was assuming that it was the container since it's running. The app itself doesn't work, but the container starts normally.

  • Selfhosted @lemmy.world

    Two Servarr (Radar and Sonar) stopped working for unknown reasons