>TL;DR: collectively build an offline knowledge base with zero friction. That's it. No need to read the rest. Check URL under project to read the code.Perfect for noobs to learn.--->WHAT'S THE POINT?I often look up the same manuals, rediscover the same tricks or had to painstakingly collect the same code snippets. Whether it's regex, grep, awk or linux cmds I rarely use, it just seems like there's a better way.>/g/ projectFeel free to suggest changes, reupload, add a new category, make changes, etc.>the goalJust an experiment to see whether anons could make something useful.--->PROJECTstart.sh: 171 lines | executabledocumentation.sh: 197 lines | librarymenu.json: Main menu | manually updateddocumentation.json: Default submenu>That's it. We could make it more compact but imo it's pretty readable.URL: https://sharetext.io/y4glqd3g--->REQUIREMENTSYou need jq and know how to use the terminal (absolute basics). I can help you out if you're an absolute beginner.--->WHAT WE'LL DOShare (copy & paste) code snippets, manuals or whatever else is interesting and worth saving. You can contribute by just asking a question or providing interesting insights. To scope it, it should apply to the project itself. For example, in the pic you can see "grep" cmds. Stuff you'd use often. Obviously, your cheatsheet will be different if you're a noob rather than a pro.>GET STARTEDCreate a folder, put the files (see URL:) inside. If you run the executable, a folder named "documentation" will be made, and it should have a single file in it. If you place "import.txt" inside the documentation folder, you automatically pull all text files in your folder. I'll share a few imports in separate posts.
https://sharetext.io/9yjqqin7If you save this as import.txt and put it in ./documentation, you have a the results of pic. So basically: If I were to add a bunch of information, you can simply import a text file and you have the same library on your computer. Press import and sync to see the new documentation menu.>fun
>>108735922just start a wiki nigga
>>108735922just use ai nigga
>>108735969No. You should check the code. Easy to understand. Ask the AI to explain if in doubt.>>108736021I asked an LLM to explain to you how one could create a library for reusable Zog guardrails for agentic AI:>Use it as a portable library of reusable Zod guardrails for agentic AI: create a dedicated folder (e.g. zod/), store each safeguard as a small .md/.txt file (schemas, validation patterns, edge cases, explanations), let the script auto-generate a menu so they’re browsable in the TUI, then bundle everything with export_docs into a single file you can share—others simply import it to instantly get the same validated patterns and reference material offline, keeping AI behavior consistent and safer without reinventing checks each time.So not only could you use what I shared as a baseline, you could use it as a bridge between your own shortcuts/snippets and things your AI could read.
>>108736051>collectively build an offline knowledge basethat's a wiki. smart niggas don't reinvent the wheel
>>108736021nigga... what are you working on? How are you using AI atm? I've used langchain before and it was pretty sweet. But I've noticed it requires decent safeguards.>>108736158A wiki is online and isn't something you'd easily share between users and devices. Wiki isn't normally a tui. It isn't reduced so you can share it freely in a sharetext. I could easily include langchain and AI, which could simplify skill use - just to name an example.Again: Supposed to be participatory project with no real dependencies. Unlike Wiki.>you are redefining what this is either because you're retarded or bad faith>feel free to use something differently or not use it allI'm personally going to use it because it seems like a decent baseline to collect thoughts, snippets and to easily extend it into something else. Furthermore, I'd sure rsync between devices so I can take notes on the go and synchronize it once I reach my main device.
>>108735922>>108735969>>108736021>>108736216grown white men pretending to be black KEK
>>108736280I AM non-white though
Anyway, the point is also that the project is supposed to be explanatory as well as self-referential. Below an example:▸ grep -rPo '^[a-zA-Z_][a-zA-Z0-9_]*(?=\(\))' . --include="*.sh"./documentation.sh:init_doc_dir./documentation.sh:show_doc./documentation.sh:generate_doc_menu./documentation.sh:sync_all_doc_menus(...)Again: Even if you think "wiki" or "ai" is superior, then there still wouldn't be a reason against having your own personal TUI library with the added option of sharing text files.The reason this is minimalist and with barely any dependencies is because it's supposed to work in most environments. Sharing json, md and txt should also be relatively safe.>>108736280shieet brotha be trippin and hatin yo
>>108736280shut yo mouf cumskin
>>108735922just read the manual faggit
>>108736461>Retard: Hurr durr use manual faggot>Me: I rather just make a decent modular TUI, extend it over time and use it for boilerplateAre you all jewish or why are you all competing in a kvetch-off? This is some professional level kvetching.
Let's put it differently... awk is kinda annoying for people to (re)learn. I keep forgetting or fuck up or simply don't use it in a while. Then, whenever I need it again, it's tedious. The manual does explain things (better in many ways) but it's incredibly terse.Obviously, we could add STT support and TTS. We could make a termux version, so we can listen to the TTS manual on mobile while working on different device. Add git support. Sky is the limit. We could even rsync the content to a separate folder, hook up a local LLM or API, and create a clear PROJECT.md, which explains how to improve it. The reason I made something minimalist is so - MAYBE - I can get a bunch of retarded anons to participate in something.>AGAIN: The idea is that I have a type of baseline. Could be extended in seemingly infinite ways.>If you want to bitch and moan, why not look at the code and tell me what's shyte.
>be forum>5 different Q & A generals at least>"hey here is a portable, minimal, ANONYMOUS way to retain and share knowledge">"retarded nigga kys faggot"kek, at least I tried. I'll keep it to myself unless someone wants an updated version.