Unable to load image

Working on an idiot project, would appreciate codecel input

Imagine for a moment that you are me: a balding smoothbrained millenial on the wrong side of 30 emanating a constant funk of mildew and sour milk. The last time you cared about coding you were booting off floppy diskettes and making HTML websites with frames.

Now, I'm working on an idiot project. I want to make a web applet where I could input text, store it in a .txt file and then retrieve it from another PC.

Is web2py and an apache server a feasible approach? I'm too :marseyretard3: for django.

web2py uses SQL for a storage db, but honestly it's going to be a single user app (just me) and storing the .txt files in a directory with a date/time naming scheme would be fine.

Would this work the way I want it to? I have tried googling but these questions are too basic and r-slurred to find answers to.

21
Jump in the discussion.

No email address required.

just deploy an etherpad container you absolute r-slur

Jump in the discussion.

No email address required.

This isn't quite what I want. I want a directory or db of .txt files with some kind of name scheme like date_time_subject.txt

Jump in the discussion.

No email address required.

explain what the problem you're trying to solve actually is so that I can tell you why you're r-slurred in greater detail please

Jump in the discussion.

No email address required.

I want to create text files from a web applet so they can be added to a local vector db for llama to look at.

Llama will be run locally, the vector db will also be local. The txt files will be on the server

Jump in the discussion.

No email address required.

you're talking about literally a single endpoint to accept a POST request, and an html page with a single form field on it. this is so trivial that even a zoomer could do it.

Jump in the discussion.

No email address required.

It's complicated to ME :soyjaktantrum:

Where does the post go? How do i find it? Who knows!

Jump in the discussion.

No email address required.

You should be defining those endpoints and what they do. Couldn't tell you how to do it in Apache though.

Jump in the discussion.

No email address required.

Clone rdrama (https://fsdfsd.net/rDrama/rDrama) and remove all unnecessary stuff.

Jump in the discussion.

No email address required.

Is there a reason you're not sending a request from the server to the vector DB directly? The DB should have an API for having entries added to it which the server can use directly rather than going through the intermediary of a txt file and adding them manually yourself

Jump in the discussion.

No email address required.

Eventually that's the plan, there are too many problems for me to tackle to implement that.

The "vector db" is weird python thing that uses langchain to turn entries into FAISS files, it outputs a single FAISS file regardless of number of inputs. I'm sure this can be improved but for now it's fine.

I'm going to just do a daily rebuild of the FAISS file without bothering to check for redundancies until I sort my shit out.

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.