/thoughtgalaxy experiment

page for riffing on how to structure/organize this site

so i seem to like generating individual snippet blobs of thoughts. and wanna just chuck em in. hence the wip/ideas page turning into a thoughtsludge

so i need a data structure thats amenable to that as a basic unit

i liked that galaxy metaphor -- like theres stars in the sky, they have some sort of relative spatial relation to each other, also constellations can be [arbitrarily] drawn through groups/chains of them, emphasizing the cluster and also introducing a higher order thematic/conceptual construct

ultimately the 'point' is to be a sort of mindmap thing, to represent my thinkings on a giganto bunch of things. And also be navigatable, perusable, interpretable-ish-kinda from anyone who is arriving at the thoughts from whatever their current/initial knowledge/worldview/position happens to be

hence the constellations thing being compelling. I can draw my own constellation arcs and have those be like default reading paths. But also I can just give offer an agent prompt+URL that says like

copy paste this into your own AI chat thinger of choice to download the thoughtgalaxy corpus and draw your own reading path

and it could also include some instructions for the llm on how the thoughtgalaxy is structured and how to bridge the knowledge, so then the visitor person can collab with their own llm about like "im curious whats this guys opinions about masculinity, particularly blind spots that women commonly have"

and then their own llm [that lets say we assume already has has some history/memory talking about gender stuffs] can respond like

Here's a link to a reading-path constellation that starts from what I think would be novel interesting for you: https://davidmah.com/thoughtgalaxy?constellation=blahblahblahbase64codething

His worldview seems to be that

  • blah blah blah // "quote+link from a specific thoughtstar"
  • blah blahh blaa // "quote+link from a specific thoughtstar"

There are a few unspoken for assumptions that affect the reqding

[a] when he says "social constructs", he seems means something thats valid and keepable or reconfigurable by choice, whereas many would infer that to mean something to dispose of

[b] blah blah blah

[c] blah blah blah

You can also ask me to try to summarize and cite/link exerpts, however his instructions include a note to warn you "this guy is so picky with his word choices and prose and puns and using wordplay, and he uses such crazy trashy jokes as metaphoric examples to explain shit - the filter of llm summarization will certainly misstranslate. So if you do, you should ALSO follow the citations to read his original writing"

that also makes thoughtstarnuggets a good base construct

as opposed to like, whole blog post things

though ill write those too? like the art definition understanding one, thats actually better foundationally as a blog post thing? like all that text should be on the same single web page simultaneously. The meaning to convey in that one is really the higher-order composition, of all of those at the same time. Even though conceptually, it is a series of individualized thoughtnuggets that can be understood on their own

i think thats like a thoughtsolarsystem? Constellations are arbitrary, whereas those thoughtnuggets have a natural inherent positioning relative to each other. In that the way i articulate them does build on the prior.

So i could do a thing where i write it as a 'blog post', and then draw some rectangles around paragraphs to draw out the borders of the individualized thoughtstarnuggets

this will also be useful for sidenotes

like if i want a sidenote that pulls up my definition of art, i can cite the thoughtstar, and if i revise my definition, then itll be updated everywhere viewed

so implementation wise, probably just shovel them into a sqlite db committed in the repo

like a thoughtstars table,
id
slug
content
annotations json

and the build script compiles that into the various pages for the site, html including like <div data-thoughtstar="banana123"> getting filled out by the content for that

and edit mode translates into db updates to commit, pursuing the backlink

content wise, ill start with the reddit comment corpus and the other scribblings already on the site, and essentially do a simple keyword tagging thing as the initial constellations

tho i dont really wanna call those constellations. they need a chosen ordering and the composition yielding a higher order meaning/narrative for me to depict a constellation as opposed to like just being a bunch of stars in solar systems near each other

waitaminute is the metaphor broken, are like.. 'smaller' stars also hanging in one solar system... is that even a thing lol? definitely not gonna call em 'thoughtplanets', cuz the twinkling and constellations is the point. so i mebbe gotta revise the 'solar system' terminology >_>

im not calling it fucken starfield

thoughtstarbelt is prolly good enough

anyway yea, ill start with thoughtstars, and tags, and a few generic retrieval mechanics like tag match, sort by date, filter by substring

Edit mode manual

Edit a local draft of the page: select layers, rewrite text, move things, add media, or draw.

Save is local, not publish. Your drafts live in this browser. Copy draft exports a bundle for applying later; it does not change the public website.

Getting started

  1. Open the wrench menu and choose edit mode, or press Ctrl+E then Ctrl+D. The same sequence closes the sidebar when no editing session is active.
  2. Choose a draft in the picker, or use + to create one. Give it a title and use the draft text box for instructions or notes.
  3. Pick a layer and a tool. Text, media, HTML, and brush sessions have their own Save and Cancel controls. Finish that session before switching drafts or leaving edit mode.

Drag the sidebar's right edge to resize it. You can also focus that edge and use the left/right arrow keys. Scroll the sidebar to reach styling, draft notes, and export controls.

This manual can stay out of your way: close it to return to your unfinished edit. Opening help does not save or cancel anything.

Layers and tools

The layer tree lists editable page elements in their parent/child hierarchy. Select a row to outline that element; with Select, you can also click the page itself.

  • Select: inspect a layer without starting an editor.
  • Move: drag or nudge the selected layer and enter exact offsets.
  • Text: edit page text in place.
  • Media: work with an image/video or insert media at a text position.
  • HTML: edit the selected element's markup in a dialog.
  • Brush: draw over the page.

During text editing, select a range and choose Move to turn the selected text into movable child layers. A selection spanning blocks becomes a multi-selection under the original blocks. Moving that selection applies the same offset to its layers.

Text and formatting

  1. Choose Text and select the text layer you want to edit. Place the caret or select text directly on the page.
  2. Use the sidebar's Bold, Italic, and font-size buttons on selected text. Use make into div to group a valid selected range. Unsupported selections, such as text crossing table cells, cannot be grouped.
  3. Use Undo/Redo while editing, then Save to commit the session to the draft or Cancel to discard that session.

Copy/paste within this editor preserves supported formatting and media, including across pages. HTML from other applications is pasted as plain text. Image/video clipboard files use the media import path instead.

Movement and styling

Choose Move, select a layer, and drag it. Use arrow keys for 1px nudges, or hold Shift for 10px. The X/Y fields set exact offsets from the original position. Movement keeps the original layout slot; it does not reflow surrounding content.

Turn Guides on to see original-position boxes, connectors, and offsets. Guides are editor-only and are not exported.

The Style inspector offers margin, padding, font family, size, weight, italic style, tracking, line height, color, and rotation. Choose a preset or enter an exact value. Styling a text range creates child layers for that range.

During a text/media session, movement and styling join that session's undo history and are committed with Save. Outside a session, these changes save directly to the draft.

Images and videos

  1. Choose Media and a layer. Paste or drop image/video files, or use Add image or video. The file picker inserts after selected media or at the current text range.
  2. Select an image/video in the visual editor and drag its resize handle to change size.
  3. For video, enter Start (s) and End (s), or move the playhead and use Set start/Set end. Use Preview to check the range and Reset to remove the trim.
  4. Use the session's Save to keep your changes.

Video trimming changes playback bounds, not the original media bytes. Export bundles include the assets needed by the selected modifications.

HTML, sidenotes, and the context menu

Choose HTML and a layer to edit its markup. Keep existing element IDs when editing: draft operations use those identities to find their targets. Save commits the change; Cancel leaves the previous version.

In edit mode, middle-click an eligible page element to open the edit menu. The normal right-click menu is unchanged. Available actions include:

  • edit-wysiwyg, edit-html, and brush.
  • make into sidenote: select eligible page text, then open the menu on that selection to edit its label and note content.
  • insert <p> above/below: add a paragraph beside the target.
  • move-upward: move the target earlier in document order, unlike a visual X/Y offset.

For an existing sidenote, open the note and edit its content through the available text/HTML editing actions. Context actions depend on the target and current selection.

Brush drawing

Choose Brush and a target, then draw on the page. Set Color and Width in the sidebar. Undo removes the last stroke; Clear clears the current drawing. Save commits the drawing to the draft; Cancel discards the active brush session.

Drafts and export

Stars opens the thoughtstar workbench in the sidenote region. Search by content, ID or slug, or create a standalone star. Edit formatted content or HTML, tags, date and annotations, then choose Save to draft. Double-click a star in a corpus-backed page while editing to look it up. Save or cancel before switching drafts.

Star edits join the same modification list and inclusion checkboxes as page edits. The ZIP includes stars.json; the applying agent imports media and runs pubsite thoughtgalaxy apply before publication. Conflicting baselines are rejected. Original imported pages remain independent; star edits update corpus-backed views and references, not those originals.

Draft titles and notes save locally as you type. Saved modifications replay on their associated pages. The draft picker switches between drafts; a draft can contain changes to more than one page.

The modification list shows saved changes. Its checkboxes control what is included in the next export; unchecking one does not delete the saved modification.

  1. Save any active text, media, HTML, or brush session.
  2. Review the modification checkboxes and draft instructions.
  3. Click the clipboard icon, Copy draft. It downloads a ZIP containing draft.md and needed media, and copies instructions referring to that download.
  4. Pass the bundle and copied instructions to the person or agent applying the changes. Applying and publishing are separate steps.

Local drafts are not an online backup and do not sync to other browsers or devices. Clearing browser site data can remove them. Export work you want to keep. Clipboard access and downloads must be allowed for Copy draft to complete.

Keyboard shortcuts

  • Ctrl+E then Ctrl+D: toggle edit mode outside an active editor.
  • V Select, M Move, T Text, I Media, H HTML, B Brush: choose tools outside text inputs and active sessions.
  • Arrow keys in Move: nudge 1px; Shift + arrow: nudge 10px.
  • Ctrl/Cmd+Z: undo in a text session or brush session. In text editing, Ctrl/Cmd+Shift+Z or Ctrl/Cmd+Y redoes.
  • On Mac, Cmd+B/Cmd+I apply bold/italic and Cmd+J/Cmd+K decrease/increase selected text size.
  • Esc: close this manual first. Otherwise, cancel the active editor, dismiss the edit menu, or close edit mode, depending on what is open.

Tool and movement shortcuts do not run while this manual is open. Use Tab to move through its controls and contents links.