1
12

My requirements are thus:

  1. Works offline

  2. Code is not obfuscated, does not have tons of added dependencies and libraries. I'm trying to speed up codewriting, not replace it completely.

  3. Is not a virus

  4. Generates files which can be hosted anywhere.

Unfortunately that seems to disqualify pretty much everything I've been able to find with a regular search engine. It would be nice, wouldn't it? To just have a photo-editor like program to throw a layout together, a list of divs and content, and another panel showing all the properties where you can set pixels or percentages, lock it in for non-flexible or leave it auto adjusting. Have them inherit properties from like a custom composition.

2
4
submitted 1 week ago by xoron@lemmy.world to c/webdev@lemmy.world

im working on a javascript UI framework for personal projects and im trying to create something like a React-hook that handles "encrypted at rest".

the react-hook is described in more detail here. id like to extend its functionality to have encrypted persistant data. my approach is the following and it would be great if you could follow along and let me know if im doing something wrong. all advice is apprciated.

im using indexedDB to store the data. i created some basic functionality to automatically persist and rehydrate data. im now investigating password-encrypting the data with javascript using the browser cryptography api.

i have a PR here you can test out on codespaces or clone, but tldr: i encrypt before saving and decrypt when loading. this seems to be working as expected. i will also encrypt/decrypt the event listeners im using and this should keep it safe from anything like browser extensions from listening to events.

the password is something the user will have to put in themselves at part of some init() process. i havent created an input for this yet, so its hardcoded. this is then used to encrypt/decrypt the data.

i would persist the unencrypted salt to indexedDB because this is then used to generate the key.

i think i am almost done with this functionality, but id like advice on anything ive overlooked or things too keep-in-mind. id like to make the storage as secure as possible.

3
2
submitted 1 week ago* (last edited 1 week ago) by ram16@lemmy.world to c/webdev@lemmy.world

Hello,

I would like to share a video tutorial on how to integrate a Large Language Model for FREE in Wordpress. Let me know what you think.

https://youtu.be/hyJW6JGCga4

Cheers,

4
3
Deno 2.0 introduction (www.youtube.com)
submitted 1 month ago by dipdowel@feddit.nl to c/webdev@lemmy.world

cross-posted from: https://feddit.nl/post/22255240

What a funny intro! 😄

Deno is a modern JavaScript/TypeScript runtime built by the creator of Node.js, designed as a more secure and developer-friendly alternative. Unlike Node, Deno runs with strict permissions (no file, network, or environment access by default) and includes TypeScript support out of the box. It also natively supports modern web APIs and provides built-in utilities like testing and formatting, reducing the need for external dependencies. Plus, it’s modular, offering direct URL-based imports instead of relying on node_modules.

5
1

Hi everyone, I have an old gaming PC that I had repurposed to be my nextcloud and plex server using TrueNAS, but I recently found CasaOS and I would like to migrate my server to use this instead. What are some best practices that I should observe when installing a different OS into a server? My server is installed on an M.2 drive and I have two 1TB HDD setup in raid.

6
8

Whenever I launch a new web project I go to Google Search Console and Bing Webmaster Tools to flag that the new website exists. The idea is to start getting SEO seniority / attention as early as possible.

Is there any other tool I should be registering my website in, or are these the major two?

7
6

Crossposted from https://lemmy.world/post/19723787

My Gitlab Pages site works well under domain.com but not under www.domain.com. The www subdomain leads to a 401 message: "You don't have permission to access the resource."

My DNS has a CNAME entry for www pointing to domain.com. When I asked the DNS provider what the problem might be they said "Please contact your hosting provider and provide us with the record needed to be set for www in the DNS zone. The changes should have worked already."

The reason I need this is that some old-school people visiting our website still type www. into the URL bar.

8
5

In which I explain how a freelance gig was born out of a sincere friendship, and how the website went through idea, process, implementation and delivery.

9
3
submitted 3 months ago by xoron@lemmy.world to c/webdev@lemmy.world

https://github.com/positive-intentions/chat

the code related to the video is a faily basic implementation using BabylonJS. it can be found here.

id like to see if i can get handpose-estimation to work well enough to be able to add to the BabylonJS render engine.

im working on something i hope will work like the 8thwall demo here. i couldnt find an open-source alternative to this so i thought id have a crack at it myself. my progress so far is as described here. i dont have much experience in creating games or graphics, so any guidance/help/advice is appriciated.

FAQ:

  • why should i use it? - its a proof-of-concept app. for testing and demo purposes only.
  • why create it? - it is a hobby project and i can be creative with the approach. its fun to work on.
  • what is it? - maybe this article helps.
10
6
submitted 3 months ago by anzo@programming.dev to c/webdev@lemmy.world

cross-posted from: https://slrpnk.net/post/11983122

I just found about the rather experimental chaarts. It enhances the standard html and turns it into different charts. Complete with hover text and animations.

It seems to be pretty accessible. And if the user agent doesn't support the fancy css it degrades gracefully to the original

11
2
12
11
13
6

I wrote a post detailing why I use meaning as the criterion for selecting my next web development project.

14
3
submitted 6 months ago by Corsair@programming.dev to c/webdev@lemmy.world

cross-posted from: https://programming.dev/post/13268260

Hi,

I discovered this webpage
https://developer.mozilla.org/en-US/docs/Glossary/XMLHttpRequest

Where it say

The Fetch API is the modern replacement for XMLHttpRequest.

Without further explain on why so...

Did you (yourself) migrated from XHR to The Fetch API ? and is it better ? or do you know any (not bias) article about it ?

What about performances etc..

Thanks

15
6
submitted 8 months ago by starman@programming.dev to c/webdev@lemmy.world
16
8
submitted 8 months ago by trymeout@lemmy.world to c/webdev@lemmy.world

When using dependencies such as NPM packages, Composer packages. Weather you use a CDN or host the packages on the web server, don't many packages out there require you to display the licenses of the package being used and show attributions?

How would one place this on their website? I even went to several websites to see how they do this and could not find a section and I am sure these website use packages that require the license to be listed and list the attributions.

I can find the licenses and attributions of packages used in many applications on desktop and mobile, usually in the apps "about" page.

17
3
submitted 8 months ago by starman@programming.dev to c/webdev@lemmy.world

cross-posted from: https://programming.dev/post/11085588

We just tagged the first public v4.0.0-alpha so you can start experimenting with it and help us get to a stable release later this year.

18
15
submitted 8 months ago by edent@lemmy.world to c/webdev@lemmy.world

I've built a toy ActivityPub server. A single file of about 50KB.

19
5
submitted 9 months ago by ray@lemmy.ml to c/webdev@lemmy.world

cross-posted from: https://lemmy.ml/post/12252980

Magento, a company based in Berlin offering hosting and e-commerce platform, posted a video illustrating to their EU customers the significant impact of removing PWA support in iOS 17.4 on their services.

Source: https://twitter.com/mysk_co/status/1760585742655308077

20
6
submitted 9 months ago by starman@programming.dev to c/webdev@lemmy.world

cross-posted from: https://programming.dev/post/10271471

It weighs only 181 bytes. Nice.

21
3
How To Draw Radar Charts In Web (smashingmagazine.com)
22
31
23
3
submitted 10 months ago by silas@lemmy.eco.br to c/webdev@lemmy.world

Hello all!

I'm a beginner in web development. I'm building a simple small library application for learning purposes that has processes such as:

  1. The landing page is an main index page with links to people page, books page, etc.
  2. Suppose the user clicks "books", it will be redirected to a page with a list of all registered books, let's call it "books index".
  3. The user can edit one of the books or click the "new" link. Both choices will redirect they to "edit-book" page, with a simple form that can be submitted.
  4. After submission, the user is redirected to the "books index" to edit or add another book.

In summary:

[1: index] -> [2: books index] -> [3: edit book form] -> [4: books index]

In step 4, if the user clicks the "back button" in browser, it is redirected to the form page. If they edited 20 books, they will be redirected to the form page 20 times. It is rather confusing, so I want they to be redirected to the main index page if they are on the books index page.

It seems I cannot just remove things from browser history with Javascript.

Do you have any suggestion? I'm thinking about just adding a "back" button in the page which works differently from the browser button, but it would still add stuff in history, which could make things even more confusing.

Thank you very much.

24
7
25
4
submitted 11 months ago by extratone@lemmy.world to c/webdev@lemmy.world

does anybody have/know of any still-working apps/services for creating mocked-up images of single Tweets?

It occurs to me that I'm late in addressing this and panicking a little bit lol... Given the state of things, it definitively no longer makes sense to embed them imo... (publish.twitter.com stopped working a few weeks back, anyway, which was a real wakeup call lol.)

... but obviously, I still come across Twitter content I absolutely want to retain every day.

(if you're still not sure what I'm talking about - the exact same function as Re:Toot's exclusive purpose, but for Tweets instead of Mastodon posts.)

I've inadvertently spent more than an hour this morning going back through my favorite old methods and loosely classifying their current states. lmk if anyone desires more details on that.

view more: next ›

WebDev

1154 readers
1 users here now

Community for all things Web Development related.

founded 1 year ago
MODERATORS