@aral@mastodon.ar.al
@aral@mastodon.ar.al avatar

aral

@aral@mastodon.ar.al

I make small things.

My posts are licensed under Creative Commons Attribution-NonCommercial-ShareAlike (https://creativecommons.org/licenses/by-nc-sa/4.0/)

๐Ÿ‰๐ŸŒป ๐Ÿณ๏ธโ€๐ŸŒˆ ๐Ÿณ๏ธโ€โšง๏ธ

#SmallWeb #SmallTech #web #tech #privacy #humanRights #personhood #democracy #aral #fedi22 #searchable

This profile is from a federated server and may be incomplete. Browse more on the original instance.

aral, to SmallWeb
@aral@mastodon.ar.al avatar

:kitten: ๐ŸŽ‰

Kitten now has a lovely new multi-page Settings screen andโ€ฆ drumrollโ€ฆ a new ๐Ÿข interactive shell (REPL) for you to play with the running state of your Small Web site/app/place and debug your app, inspect/manipulate its database, etc.

I plan on recording demos of each of them tomorrow but you can play with them now.

And hereโ€™s a little tutorial to get you started with the shell:

https://codeberg.org/kitten/app#kitten-s-interactive-shell

๐Ÿ’•

#Kitten #SmallWeb #SmallTech #NodeJS #REPL #JavaScript #HTML #CSS #web #dev

Screenshot of Kitten running in terminal: ๐ŸŒ Domain https://localhost ๐Ÿ“‚ Source /var/home/aral/Projects/kitten/app/examples/file-uploads ๐Ÿ’พ Databases /var/home/aral/.local/share/small-tech.org/kitten/databases ๐Ÿข To launch an interactive shell, press the [s] key. Server is running and listening for connectionsโ€ฆ s ๐Ÿข Launching interactive shell ctrl-d to exit; .help for assistance A good place to start is to run the .ls command to see the keys of the global kitten object: ยป ๐Ÿ’ก.ls is an alias for Object.keys(kitten) [ 'version', 'domain', 'port', 'app', 'databaseDirectory', 'projectIdentifier', 'deploy', 'WebSocket', 'html', 'libraries', 'page', 'events', 'css', 'js', 'markdown', 'md', 'safelyAddHtml', 'sanitise', 'uploadsDirectory', '_db', 'uploads', 'package', 'db' ] ๐Ÿฑ ๐Ÿ’ฌ kitten.db.images[0] Proxy [ { path: '/uploads/1a6c2612-057d-435b-83c7-7157b4add982/', altText: 'Screenshot of Draw Together sketch that reads Free Gaza!' }, { get: [Function: bound getHandler], set: [Function: bound setHandler], defineProperty: [Function: bound definePropertyHandler], deleteProperty: [Function: bound deletePropertyHandler] } ] ๐Ÿฑ ๐Ÿ’ฌ

aral,
@aral@mastodon.ar.al avatar

PS. Since itโ€™s not a common thing in โ€˜Big Webโ€™ development, note that the Settings app is part of Kittenโ€™s own internal web app that is available to all Small Web apps created using Kitten. So all those Small Web apps will be able to take advantage of data portability with backup/restore, Domain integration for managing your hosting account with your domain host, evergreen web, public-key encryption for e2ee peer-to-peer web apps (Small Web), etc.

Itโ€™s all slowly coming together :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • โ€ข
  • JUstTest
  • InstantRegret
  • magazineikmin
  • tester
  • Durango
  • Youngstown
  • rosin
  • khanakhh
  • slotface
  • ngwrru68w68
  • mdbf
  • thenastyranch
  • kavyap
  • DreamBathrooms
  • megavids
  • modclub
  • everett
  • Leos
  • GTA5RPClips
  • osvaldo12
  • ethstaker
  • cisconetworking
  • tacticalgear
  • normalnudes
  • anitta
  • cubers
  • provamag3
  • lostlight
  • All magazines