TiddlyWiki / TiddlyWiki/MultiWikiServer

Question: Did you ever try to develop with Winows 11?

Open
#110 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
60
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Question: Did you ever try to develop with Windows 11?

Related to: https://github.com/TiddlyWiki/MultiWikiServer/issues/107 User colour setting.

I wanted to allow users to add a colour setting to their profile. Which imo seemed be a reasonable job for the first contribution.

Since I am new to the codebase and there is an endless list of 3rd party dependencies (which I do not know), I used Gemini CLI (free preview) to explain the structure and stuff used. -> That worked surprisingly well. It seems to understand the directory structure and what the app should do and how.

I also used Gemini CLI to do all the code and database changes, after explaining what it wants to do.
This worked -- somehow, but it almost broke it's neck -- I am on Windows.
It seems scripts.mjs calls unix specific commands that do not work on Windows.
So it needed to "modify" all the scripts first.
Which it also did (surprisingly), but I am not sure if everything was right

In the end

Gemini was able to update the database schema using prisma and the command line.
I was able to run the admin UI.
It seems it also did update the database in the right way.
I did check the database content using the DBVisualizer program. The database was updated with my user-color field
The server got a new route to get and set the data.

But then the Profile UI caused a problem, which in turn was impossible for me to track down. Free token limit was gone.

But I did still learn a lot about the project and Gemini.

------- rant start

Mainly it is impossible to contribute for Windows users using it natively.

IMO that's a big problem, since 72% of PC users in the world use Windows. 12% MacOs and less than 4% user Linux based system. The rest use something else.

I do have WSL installed, and I am able to use it.
I could also use my Dell laptop, which runs Ubuntu pre-installed --- but I don't want to it only has a 13" screen :(

I want to be able to develop TW related stuff with my main Windows 11 Pro system, without breaking my neck.

-------- rant end

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with scripts.mjs and reproduce the reported development flow on native Windows 11, noting which Unix-specific commands fail. Inspect the related user-colour work and Profile UI only after the setup issue is reproducible; done should mean the documented development commands run on Windows and the profile flow no longer fails.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience, operating-systems, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.