Forumi
Home Pravila i pomoć Članovi Kalendar Današnji postovi


Povratak   PC Ekspert Forum > Računala > Software > Web dizajn, programiranje i ostalo
Ime
Lozinka

Odgovori
 
Uređivanje
Staro 19.06.2025., 14:19   #1
spiderhr
Premium
 
spiderhr's Avatar
 
Datum registracije: Jul 2021
Lokacija: Sesvete
Postovi: 1,010
Linkovi i bilješke - HTML stranica

Išao malo testirati Gemini da mi napravi html stranicu koja je programirana u javascriptu.

Htio sam da mogu dodavati, editirati i brisati linkove tj. bilješke. Sve se prema u memoriju preglednika i kada se ugasi i upali ponovo se sve učita.

Napravljeno je da se mogu i Linkovi i Bilješke exportirati tj. ponovo importirati recimo kada se spremate za reinstalaciju OS-a. Podaci se tada spremaju u json.

Napomena: nije potreban nikakav server, samo otvorite fajl u pregledniku. Svaki preglednik ima svoje Linkove i Bilješke

Slobodno editirajte i dodajte što želite.

Potrošeno vrijeme za upite i doradu: cca 30 minuta.

Link na Demo.

Link na github.

__________________
tomek@vz: ajd nemoj | Mali Čile SAD Češka Peru | Windows Free

Zadnje izmijenjeno od: spiderhr. 19.06.2025. u 19:15.
spiderhr je offline   Reply With Quote
Staro 19.06.2025., 16:03   #2
mkey
Premium
Moj komp
 
Datum registracije: Sep 2018
Lokacija: tu
Postovi: 3,319
Zgodno. Ja ne bih vjerovao local storage za takvo nešto Odnosno, ne bih vjerovao sebi da ga neću obrisati i zaboraviti na to nešto što sam spremio unutra.
__________________
Citiraj:
Autor George Carlin
But there’s a reason. There’s a reason. There’s a reason for this, there’s a reason education sucks, and it’s the same reason that it will never, ever, ever be fixed. It’s never gonna get any better. Don’t look for it. Be happy with what you got. Because the owners of this country don't want that. I'm talking about the real owners now, the real owners, the big wealthy business interests that control things and make all the important decisions. Forget the politicians. The politicians are put there to give you the idea that you have freedom of choice. You don't. You have no choice. You have owners. They own you. They own everything. They own all the important land. They own and control the corporations. They’ve long since bought and paid for the senate, the congress, the state houses, the city halls, they got the judges in their back pockets and they own all the big media companies so they control just about all of the news and information you get to hear. They got you by the balls. They spend billions of dollars every year lobbying, lobbying, to get what they want. Well, we know what they want. They want more for themselves and less for everybody else, but I'll tell you what they don’t want: They don’t want a population of citizens capable of critical thinking. They don’t want well informed, well educated people capable of critical thinking. They’re not interested in that. That doesn’t help them. Thats against their interests. Thats right. They don’t want people who are smart enough to sit around a kitchen table to figure out how badly they’re getting f*cked by a system that threw them overboard 30 f*cking years ago. They don’t want that. You know what they want? They want obedient workers. Obedient workers. People who are just smart enough to run the machines and do the paperwork, and just dumb enough to passively accept all these increasingly shittier jobs with the lower pay, the longer hours, the reduced benefits, the end of overtime and the vanishing pension that disappears the minute you go to collect it, and now they’re coming for your Social Security money. They want your retirement money. They want it back so they can give it to their criminal friends on Wall Street, and you know something? They’ll get it. They’ll get it all from you, sooner or later, 'cause they own this f*cking place. It's a big club, and you ain’t in it. You and I are not in the big club. And by the way, it's the same big club they use to beat you over the head with all day long when they tell you what to believe. All day long beating you over the head in their media telling you what to believe, what to think and what to buy. The table is tilted folks. The game is rigged, and nobody seems to notice, nobody seems to care. Good honest hard-working people -- white collar, blue collar, it doesn’t matter what color shirt you have on -- good honest hard-working people continue -- these are people of modest means -- continue to elect these rich c*cksuckers who don’t give a f*ck about them. They don’t give a f*ck about you. They don’t give a f*ck about you. They don't care about you at all -- at all -- at all. And nobody seems to notice, nobody seems to care. That's what the owners count on; the fact that Americans will probably remain willfully ignorant of the big red, white and blue dick that's being jammed up their assholes everyday. Because the owners of this country know the truth: it's called the American Dream, because you have to be asleep to believe it.
mkey je offline   Reply With Quote
Oglasni prostor
Oglas
 
Oglas
Staro 19.06.2025., 18:43   #3
spiderhr
Premium
 
spiderhr's Avatar
 
Datum registracije: Jul 2021
Lokacija: Sesvete
Postovi: 1,010
Citiraj:
Autor mkey Pregled postova
Zgodno. Ja ne bih vjerovao local storage za takvo nešto Odnosno, ne bih vjerovao sebi da ga neću obrisati i zaboraviti na to nešto što sam spremio unutra.
A znam, ali eto htio sam vidjeti kako bude Gemini to napravio.

Ali da, i da imam nekaj s bazom tko mi garantira da bum se mogao spojiti na istu ako nekaj crkne.

Sve ima svoje.

Ma ovo sam za onak brzinske stvari sklepao.

Najčešće bilježim u txt pa onda to u Documents. Nekad mi treba samo privremeno pa se krcaju txt-ovi.

Edit: Ništa budem stavio podsjetnik svakih 7 dana da se napravi backup
__________________
tomek@vz: ajd nemoj | Mali Čile SAD Češka Peru | Windows Free

Zadnje izmijenjeno od: spiderhr. 19.06.2025. u 18:53.
spiderhr je offline   Reply With Quote
Staro 19.06.2025., 18:58   #4
d0X
Kostolomac
Moj komp
 
d0X's Avatar
 
Datum registracije: Jun 2006
Lokacija: Rijeka
Postovi: 1,448
Citiraj:
Autor spiderhr Pregled postova
Ali da, i da imam nekaj s bazom tko mi garantira da bum se mogao spojiti na istu ako nekaj crkne.
Ali se na bazu možeš spojiti nekim admin alatom i pogledati/eksportati podatke taman i da nešto crkne.

Iako je i ovo ok jer si napravio export/import.
__________________
PSN Steam
d0X je offline   Reply With Quote
Staro 19.06.2025., 19:20   #5
mkey
Premium
Moj komp
 
Datum registracije: Sep 2018
Lokacija: tu
Postovi: 3,319
Možda bi mogao neki sync napraviti na neku od milion online storage opcija. Ili možda na pastebin?
__________________
Citiraj:
Autor George Carlin
But there’s a reason. There’s a reason. There’s a reason for this, there’s a reason education sucks, and it’s the same reason that it will never, ever, ever be fixed. It’s never gonna get any better. Don’t look for it. Be happy with what you got. Because the owners of this country don't want that. I'm talking about the real owners now, the real owners, the big wealthy business interests that control things and make all the important decisions. Forget the politicians. The politicians are put there to give you the idea that you have freedom of choice. You don't. You have no choice. You have owners. They own you. They own everything. They own all the important land. They own and control the corporations. They’ve long since bought and paid for the senate, the congress, the state houses, the city halls, they got the judges in their back pockets and they own all the big media companies so they control just about all of the news and information you get to hear. They got you by the balls. They spend billions of dollars every year lobbying, lobbying, to get what they want. Well, we know what they want. They want more for themselves and less for everybody else, but I'll tell you what they don’t want: They don’t want a population of citizens capable of critical thinking. They don’t want well informed, well educated people capable of critical thinking. They’re not interested in that. That doesn’t help them. Thats against their interests. Thats right. They don’t want people who are smart enough to sit around a kitchen table to figure out how badly they’re getting f*cked by a system that threw them overboard 30 f*cking years ago. They don’t want that. You know what they want? They want obedient workers. Obedient workers. People who are just smart enough to run the machines and do the paperwork, and just dumb enough to passively accept all these increasingly shittier jobs with the lower pay, the longer hours, the reduced benefits, the end of overtime and the vanishing pension that disappears the minute you go to collect it, and now they’re coming for your Social Security money. They want your retirement money. They want it back so they can give it to their criminal friends on Wall Street, and you know something? They’ll get it. They’ll get it all from you, sooner or later, 'cause they own this f*cking place. It's a big club, and you ain’t in it. You and I are not in the big club. And by the way, it's the same big club they use to beat you over the head with all day long when they tell you what to believe. All day long beating you over the head in their media telling you what to believe, what to think and what to buy. The table is tilted folks. The game is rigged, and nobody seems to notice, nobody seems to care. Good honest hard-working people -- white collar, blue collar, it doesn’t matter what color shirt you have on -- good honest hard-working people continue -- these are people of modest means -- continue to elect these rich c*cksuckers who don’t give a f*ck about them. They don’t give a f*ck about you. They don’t give a f*ck about you. They don't care about you at all -- at all -- at all. And nobody seems to notice, nobody seems to care. That's what the owners count on; the fact that Americans will probably remain willfully ignorant of the big red, white and blue dick that's being jammed up their assholes everyday. Because the owners of this country know the truth: it's called the American Dream, because you have to be asleep to believe it.
mkey je offline   Reply With Quote
Staro 19.06.2025., 19:55   #6
spiderhr
Premium
 
spiderhr's Avatar
 
Datum registracije: Jul 2021
Lokacija: Sesvete
Postovi: 1,010
Iskreno, ovo je app za privremene stvari. Nije prava app gdje bi se ulogirao i spremao sve svoje stvari i otvorio na drugom kompu. Sigurno ima app-ova koje bi mogao instalirati na server i koristiti.

Ovo je "igranje" s AI-jem i usputni projektić koji ne mora ni zaživjeti u nekom drugom obliku ali mogao bi.

ChatGPT se zna izmotavati nekad, jednostavno u jednoj chat prozoru krene nakon nekog vremena na nekaj drugo.

Gemini za sada nije.

A i ovo je trebalo biti ono pol' sata utrošeno, max 60 minuta što i je kada u konačnici pogledam vrijeme.

Vidiš, možda da mu kažem da napravi notepad s nekom bazom iza... Ustvari za to koristim Bookstack... Napokon da sam našao alat da je sličan bilježnici. Je da ti treba server za to ali instaliraš docker i nutra Boostack.
__________________
tomek@vz: ajd nemoj | Mali Čile SAD Češka Peru | Windows Free
spiderhr je offline   Reply With Quote
Staro 19.06.2025., 20:04   #7
Neo-ST
Buying Bitcoin
Moj komp
 
Neo-ST's Avatar
 
Datum registracije: Feb 2007
Lokacija: Croatia
Postovi: 8,253
Čestitke. Mi programeri s posebnim potrebama koji koristimo AI pomagala se moramo držati zajedno jer će nas ovi legacy programeri htjet pojesti 😁
Neo-ST je offline   Reply With Quote
Staro 19.06.2025., 20:05   #8
mkey
Premium
Moj komp
 
Datum registracije: Sep 2018
Lokacija: tu
Postovi: 3,319
Nekakav pythong server, recimo, se složi za deset minuta. Ja sam koristio slično za razne HTML aplikacije, doduše bez AI Server poslužuje s diska i sprema ono što mu šalje HTML aplikacija. Jedan get i jedan post.
__________________
Citiraj:
Autor George Carlin
But there’s a reason. There’s a reason. There’s a reason for this, there’s a reason education sucks, and it’s the same reason that it will never, ever, ever be fixed. It’s never gonna get any better. Don’t look for it. Be happy with what you got. Because the owners of this country don't want that. I'm talking about the real owners now, the real owners, the big wealthy business interests that control things and make all the important decisions. Forget the politicians. The politicians are put there to give you the idea that you have freedom of choice. You don't. You have no choice. You have owners. They own you. They own everything. They own all the important land. They own and control the corporations. They’ve long since bought and paid for the senate, the congress, the state houses, the city halls, they got the judges in their back pockets and they own all the big media companies so they control just about all of the news and information you get to hear. They got you by the balls. They spend billions of dollars every year lobbying, lobbying, to get what they want. Well, we know what they want. They want more for themselves and less for everybody else, but I'll tell you what they don’t want: They don’t want a population of citizens capable of critical thinking. They don’t want well informed, well educated people capable of critical thinking. They’re not interested in that. That doesn’t help them. Thats against their interests. Thats right. They don’t want people who are smart enough to sit around a kitchen table to figure out how badly they’re getting f*cked by a system that threw them overboard 30 f*cking years ago. They don’t want that. You know what they want? They want obedient workers. Obedient workers. People who are just smart enough to run the machines and do the paperwork, and just dumb enough to passively accept all these increasingly shittier jobs with the lower pay, the longer hours, the reduced benefits, the end of overtime and the vanishing pension that disappears the minute you go to collect it, and now they’re coming for your Social Security money. They want your retirement money. They want it back so they can give it to their criminal friends on Wall Street, and you know something? They’ll get it. They’ll get it all from you, sooner or later, 'cause they own this f*cking place. It's a big club, and you ain’t in it. You and I are not in the big club. And by the way, it's the same big club they use to beat you over the head with all day long when they tell you what to believe. All day long beating you over the head in their media telling you what to believe, what to think and what to buy. The table is tilted folks. The game is rigged, and nobody seems to notice, nobody seems to care. Good honest hard-working people -- white collar, blue collar, it doesn’t matter what color shirt you have on -- good honest hard-working people continue -- these are people of modest means -- continue to elect these rich c*cksuckers who don’t give a f*ck about them. They don’t give a f*ck about you. They don’t give a f*ck about you. They don't care about you at all -- at all -- at all. And nobody seems to notice, nobody seems to care. That's what the owners count on; the fact that Americans will probably remain willfully ignorant of the big red, white and blue dick that's being jammed up their assholes everyday. Because the owners of this country know the truth: it's called the American Dream, because you have to be asleep to believe it.
mkey je offline   Reply With Quote
Staro 19.06.2025., 22:48   #9
Neo-ST
Buying Bitcoin
Moj komp
 
Neo-ST's Avatar
 
Datum registracije: Feb 2007
Lokacija: Croatia
Postovi: 8,253
Ok sad sam uhvatio malo više vremena pogledat ovo i mislim da bi ovo mogao unaprijediti u neki tray "clipboard-like" app ili ekstenziju u browseru. Mislim da bi, ako želiš da to zaživi, korisnicima trebalo maksimalno smanjiti frikciju pri korištenju appa, odnosno izbaciti šta je više moguće koraka u procesu kreiranja bilješke/linka.

Trenutno: 1) moraju otvoriti tvoju web stranicu, 2) kliknit na dodaj bilješku ili link, 3) upisat ime bilješke/linka i 4) upisat bilješku/link

Idealno bi bilo kreirati app ili extenziju koja se integrira u browser te omogućava korisniku da desnim klikom odabere "snimi link" ili "nova bilješka" i sl. Ili desni klik na tray ikonu pa odaberu isto to.
Time si eliminirao prva 2-3 koraka i znatno im olakšao posao, a povećao šanse da se tvoj izum koristi. Doduše mislim da takvih appova već ima more na netu, ali svejedno provjeri.
Neo-ST je offline   Reply With Quote
Staro 19.06.2025., 23:09   #10
The Exiled
McG
Moj komp
 
The Exiled's Avatar
 
Datum registracije: Feb 2014
Lokacija: Varaždin
Postovi: 8,122
Primjera radi, Vivaldi ima Notes mogućnosti integrirane u sam web-preglednik, dok ostali to nude kroz razne ekstenzije.
__________________
AMD Ryzen 9 9950X | Noctua NH-U12A chromax.black | MSI MAG B650 Tomahawk Wi-Fi | 128GB Kingston FURY Beast DDR5-5200 | 256GB AData SX8200 Pro NVMe | 2x4TB WD Red Plus | Fractal Define 7 Compact | Seasonic GX-750
AMD Ryzen 5 7600 | Noctua NH-U12A chromax.black | MSI MAG B650 Tomahawk Wi-Fi | 128GB Kingston FURY Beast DDR5-5200 | 256GB AData SX8200 Pro NVMe | 2x12TB WD Red Plus | Fractal Define 7 Compact | eVGA 650 B5
The Exiled je online   Reply With Quote
Oglasni prostor
Oglas
 
Oglas
Staro 20.06.2025., 21:43   #11
spiderhr
Premium
 
spiderhr's Avatar
 
Datum registracije: Jul 2021
Lokacija: Sesvete
Postovi: 1,010
Citiraj:
Autor Neo-ST Pregled postova
Čestitke. Mi programeri s posebnim potrebama koji koristimo AI pomagala se moramo držati zajedno jer će nas ovi legacy programeri htjet pojesti 😁
A čuj, nisam baš sa javascriptom na ti pa mi je onda AI tu da pomogne

Citiraj:
Autor mkey Pregled postova
Nekakav pythong server, recimo, se složi za deset minuta. Ja sam koristio slično za razne HTML aplikacije, doduše bez AI Server poslužuje s diska i sprema ono što mu šalje HTML aplikacija. Jedan get i jedan post.
Znam, samo sam htio da je nešto bez servera.

Citiraj:
Autor Neo-ST Pregled postova
Ok sad sam uhvatio malo više vremena pogledat ovo i mislim da bi ovo mogao unaprijediti u neki tray "clipboard-like" app ili ekstenziju u browseru. Mislim da bi, ako želiš da to zaživi, korisnicima trebalo maksimalno smanjiti frikciju pri korištenju appa, odnosno izbaciti šta je više moguće koraka u procesu kreiranja bilješke/linka.

Trenutno: 1) moraju otvoriti tvoju web stranicu, 2) kliknit na dodaj bilješku ili link, 3) upisat ime bilješke/linka i 4) upisat bilješku/link

Idealno bi bilo kreirati app ili extenziju koja se integrira u browser te omogućava korisniku da desnim klikom odabere "snimi link" ili "nova bilješka" i sl. Ili desni klik na tray ikonu pa odaberu isto to.
Time si eliminirao prva 2-3 koraka i znatno im olakšao posao, a povećao šanse da se tvoj izum koristi. Doduše mislim da takvih appova već ima more na netu, ali svejedno provjeri.
Nećeš vjerovati ali i Gemini mi je rekao da bi se moglo složiti kao ekstenzija za browser. To možda nekom drugom prilikom kad mi bude manje dosadno.

Ovo je app bio iz dosade kaj se sjetio pa eto.


Citiraj:
Autor The Exiled Pregled postova
Primjera radi, Vivaldi ima Notes mogućnosti integrirane u sam web-preglednik, dok ostali to nude kroz razne ekstenzije.
Iako sam ga koristio ne sjećam se baš. Počeo mi se nešto blesirati u jednom trenutku na Linuxu pa se vratio na FF.

Hvala dečkovi na trudu za komentiranje.
__________________
tomek@vz: ajd nemoj | Mali Čile SAD Češka Peru | Windows Free
spiderhr je offline   Reply With Quote
Oglasni prostor
Oglas
 
Oglas
Odgovori



Pravila postanja
Vi ne možete otvarati nove teme
Vi ne možete pisati odgovore
Vi ne možete uploadati priloge
Vi ne možete uređivati svoje poruke

BB code je Uključeno
Smajlići su Uključeno
[IMG] kod je Uključeno
HTML je Isključeno

Idi na