Berg János cf4908698d
All checks were successful
Build docker image / build_docker_image (push) Successful in 5m7s
# Note added.
2025-10-28 09:57:04 +01:00
2025-10-16 14:17:47 +02:00
2025-10-19 13:23:20 +02:00
2025-10-28 09:40:04 +01:00
2025-10-13 14:32:01 +02:00
2025-08-19 14:57:52 +02:00
2025-08-19 14:57:52 +02:00
2025-10-13 13:58:53 +02:00
2025-10-28 09:57:04 +01:00
2025-10-19 12:40:35 +02:00
2025-10-24 23:05:03 +02:00

BADGE

main repository | mirror repository

Scriptum

To save quick notes for the future.

So i don't need to remember them...

Note

this is a for testing/personal use, is is NOT production ready!
Feel free to test it, read the source for ideas or solutions, deploy in your own lab or even use the publicly available version (see bellow).

Usage

For a fully functional demo see: scriptum.goliath.hu

Visitor

  • You can browse/search all public notes by all users as a guest without registration.

Registered user

  • You need to login/register to be able to take notes. (top right icon)
  • You can enable/disable Multi Factor Authentication on your profile page.
  • Both email and authenticator app can be used for MFA.
  • You can set your "Viewing Mode" (top left icon)
    • Private mode: (green) you only see your own notes ("single player" mode)
    • Public mode: (brown) you can see all public notes from others beside your own notes ("multi player" mode)
  • You can share your notes with others by marking them public.
  • You can manage your own notes by pressing the "Manage My Notes" button.
  • You can get back to the front page by pressing the "Main" button.
  • You can search all notes with the search bar (SHIFT+CTRL+F)
  • You can add a new note by pressing the "+" button on the top right or by pressing "SHIFT+CTRL+N"
  • You can edit your own notes by pressing the "edit note" icon on the top right of the note header
  • You can share your public note by copying the "permalink" link on the bottom right of the note
  • You can see all public notes of a specified user by clicking the users name on top of a note

Admin panel

Note

the admin panel always requires Multy Factor Authentication

  • Manage Users
  • Manage Notes
  • See fancy dashbord *(no widgets yet)
  • The admin is like superman! If you revoke the admin right from your only admin user, then good luck :)

Install

  • Copy the deploy folder to your docker host, edit the compose file as needed

  • Copy the env.example into the volumes/env/ folder as ".env"

        cp env.example volumes/env/.env
    
  • Fill in the variables in the .env file

    • replace all variables marked with "# replace in production"
    • fill in your own values marked by "# fill in in production"
    • Check the values
    • Double check them to be sure
  • Create the database if it does not exist jet:

        touch volumes/database/database.sqlite
    
  • In the folder wher the compose file is run:

        docker compose up
    
  • Read logs for any error and correct them if they appear

  • If all works, stop the container and bring it up detached mode

        docker compose up -d
    
  • Use it

Note


The main page is accessible by the DOMAIN variable.
The admin panel is accessible by the ADMIN_DOMAIN variable.
Use ADMIN_HASHED_PASSWORD variable instead of ADMIN_PASSWORD.
To create a hashed password use: htpasswd -n -B -C12 "" | cut -c 2-

Why

  • Wanted to test sqlite Full Text Search capabilities
  • Needed to replace my current "temporary" note taking app, (which started as a testing playground to test the new features that came with laravel 8) and would not run on php 8.4
  • To test, how felxible and hackable filament v4+ (currently 4.1) is
  • To get a deeper understanding of the inner working of filament
  • To get a look inside the core of alpine.js
  • To check out TipTap editor

Conclusions

  • Filament is a great admin panel tool, with some degree of free customization
  • It is not a general UI framework, use it for what it was intended
  • Not recommending to use as a general part of a page, use as a separate admin panel.

Technologies used

Maintance

  • php artisan down - Enable maintaince mode
  • php artisan up - Disable maintaince mode
  • php artisan fts:rebuild - Rebuild the FTS5 index for the notes table
Description
Quick notes made easy...
Readme 5.2 MiB
Languages
PHP 55%
Blade 40.2%
CSS 2.1%
Shell 1.7%
Dockerfile 0.7%
Other 0.3%