Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
08ac83c
0.0.1
vahidsharifi Mar 24, 2025
cd02de9
0.0.1
vahidsharifi Mar 24, 2025
cc2b10f
0.0.1
vahidsharifi Mar 24, 2025
a9f5db7
0.0.2
vahidsharifi Mar 24, 2025
05d0da0
Nodes are closed
vahidsharifi Apr 5, 2025
071f27a
readme deleted
vahidsharifi Apr 9, 2025
c5f1cd2
Update .gitignore
vahidsharifi Apr 9, 2025
ce60a5b
Stop tracking output.html and webapp/mindmap.html
vahidsharifi Apr 9, 2025
e6cb419
Delete mindmap.html
vahidsharifi Apr 9, 2025
140ce7d
Front changed to react
vahidsharifi Apr 9, 2025
44e5f7f
Search by book and author name
vahidsharifi Apr 9, 2025
5112194
html removed
vahidsharifi Apr 9, 2025
613be98
prompt is separated
vahidsharifi Apr 9, 2025
fc829fe
Side by side mindmap added
vahidsharifi Apr 9, 2025
738b94a
Markdown quotation problem fixed
vahidsharifi Apr 9, 2025
5896b6a
Update mindmap_prompt.txt
vahidsharifi Apr 9, 2025
05ee770
Length and conciseness addded
vahidsharifi Apr 9, 2025
c9b75cf
Create .gitlab-ci.yml
vahidsharifi Apr 9, 2025
a29b42f
Update .gitlab-ci.yml
vahidsharifi Apr 9, 2025
120e3fa
GPT o4 added
vahidsharifi Apr 18, 2025
573bf83
gemini added but not working
vahidsharifi Apr 25, 2025
26d1c68
gemini added and is working
vahidsharifi Apr 25, 2025
fee20fe
indentation in prompt fixed
vahidsharifi May 9, 2025
9490c2d
Create app.yaml
vahidsharifi Aug 6, 2025
be8abd0
Update server.js
vahidsharifi Aug 6, 2025
6f30e2d
gcp updates for ymal
vahidsharifi Aug 7, 2025
7bab380
models updated
vahidsharifi Aug 9, 2025
c40b904
service unavailable issue on GCP fixed
vahidsharifi Aug 9, 2025
e21bf9f
gcp deployed + html fixed
vahidsharifi Aug 9, 2025
29e1352
Toolbar Added
vahidsharifi Aug 10, 2025
f15fb52
Performance issue fixed
vahidsharifi Aug 10, 2025
dcb142d
UI improved
vahidsharifi Aug 10, 2025
28ef6c7
Language selection added
vahidsharifi Aug 10, 2025
809142d
Prompt bold update and island toolbar redesigned
vahidsharifi Aug 11, 2025
60b4a07
project name updated
vahidsharifi Aug 11, 2025
9983563
favicon updated + toolbar updated
vahidsharifi Aug 14, 2025
c573594
Instruction added
vahidsharifi Aug 15, 2025
830fc0a
Update server.js
vahidsharifi Aug 15, 2025
95b9d40
Update README.md
vahidsharifi Aug 15, 2025
310c25d
Prompt has been updated + Remove conciseness option
vahidsharifi Aug 20, 2025
7f9d090
Default prompt has been updated
vahidsharifi Aug 20, 2025
15e9277
Front end updated, options changed
vahidsharifi Aug 23, 2025
9924ac2
gcp deployment fixed
vahidsharifi Aug 23, 2025
681bf06
GCP app engine shut down and cloud run active
vahidsharifi Sep 11, 2025
b59c842
cloud run updated
vahidsharifi Sep 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
1 change: 0 additions & 1 deletion .browserslistrc

This file was deleted.

11 changes: 0 additions & 11 deletions .editorconfig

This file was deleted.

37 changes: 0 additions & 37 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/release.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ node_modules
*.vsix
.vscode-test-web/
.vscode/settings.json
output.html
mindmap.html
/webapp/mindmap.html
/webapp/.env
47 changes: 47 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# .gitlab-ci.yml - Placed in the ROOT directory

image: node:18 # Use a Node.js image compatible with your project (Node 18+ needed for fetch in convert.js)

stages:
- deploy

deploy_webapp:
stage: deploy
# Optional: Only run on changes to the main branch or specific directories
# rules:
# - if: '$CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "master"'
# changes:
# - webapp/**/* # Trigger only if webapp files change
# - .gitlab-ci.yml
script:
- echo "Deploying webapp..."
- cd webapp # Navigate into the webapp directory
- echo "Current directory: $(pwd)"
- echo "Listing files: $(ls -la)"
- echo "Node version: $(node -v)"
- echo "NPM version: $(npm -v)"
- echo "Installing dependencies using npm ci..."
- npm ci # Use 'ci' for faster, deterministic installs based on package-lock.json
- echo "Dependencies installed."
# --- Deployment Action ---
# The following command STARTS the server, but it will only run for the duration of the CI job.
# For persistent deployment, you need a runner configured to host Node.js apps
# (e.g., using pm2, Docker on a server, Kubernetes, etc.)
# Option 1: Run directly (for testing CI step, NOT persistent)
# - node server.js
# Option 2: Use PM2 (if installed on your runner/server)
# - npm install -g pm2 # Or ensure pm2 is pre-installed
# - pm2 start server.js --name mindmap-webapp --update-env # Starts or restarts the app
# Option 3: Build & Push Docker image (Requires Dockerfile and GitLab Container Registry setup)
# See Dockerfile example below. Uncomment and adapt if using Docker.
# - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
# - docker build -t $CI_REGISTRY_IMAGE:latest .
# - docker push $CI_REGISTRY_IMAGE:latest
# --- Choose ONE deployment strategy appropriate for your runner/hosting ---
- echo "Build complete. Runner needs to handle persistent execution."
- echo "To run manually: cd webapp && node server.js"
- npm install -g pm2 # Or ensure it's pre-installed on the runner machine
- pm2 restart server.js --name mindmap-webapp || pm2 start server.js --name mindmap-webapp
environment:
name: production # Optional: Define environment
# url: http://your-deployment-url.com # Optional: Link to deployed app
1 change: 0 additions & 1 deletion .husky/pre-commit

This file was deleted.

1 change: 0 additions & 1 deletion .husky/pre-push

This file was deleted.

7 changes: 0 additions & 7 deletions .vscode/extensions.json

This file was deleted.

19 changes: 0 additions & 19 deletions .vscode/launch.json

This file was deleted.

15 changes: 0 additions & 15 deletions .vscode/tasks.json

This file was deleted.

16 changes: 0 additions & 16 deletions .vscodeignore

This file was deleted.

74 changes: 74 additions & 0 deletions Old Files/mindmap_prompt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
**CRITICAL OUTPUT REQUIREMENT:**
Your entire response MUST consist of one markdown code block. The output MUST begin *exactly* with:
```markdown

and end *exactly* with:

```

No extra characters, text, or commentary are allowed before the opening fence or after the closing fence.

**Task:**
- Provide a comprehensive and visually rich summary of the book "${bookName}" by "${authorName}". The summary should empower a reader with limited time to grasp the main ideas and insights from the book through a multi-layered markdown format designed to boost readability and memory retention.


**Content & Style Guidelines:**
- All indentation should start with no space from the left
- **Visual Structure:** Use multiple markdown elements to organize your content clearly.
- **Comprehensive Coverage:** Include key points, detailed explanations, and direct quotations where they reinforce an idea.
- **No Extra Non-Markdown Text:** The response must contain only the markdown content enclosed within the code fences.
- Avoid using ">" in your markdown especially for the qoutes.
- Avoid using links of images.

**Valid Markdown Components Examples:**
- **Headings:**
```markdown
# Main Title
## Section Title
### Subsection Title
```
- **Bullet and Ordered Lists:**
```markdown
- Bullet point 1
- Bullet point 2

1. First item
2. Second item
```
- **Tables:**
```markdown
| Feature | Description |
|-------------|--------------------------|
| Readability | High visual clarity |
| Summary | Comprehensive content |
```
- **Inline Code and Code Blocks:**
```markdown
Use the inline code like `example code`.

```js
console.log("Hello, World!");
```
```
- **Hyperlinks and Images:**
```markdown
[Visit Markmap](https://markmap.js.org/)

![](https://markmap.js.org/favicon.png)
```
- **Emojis and Icons:**
```markdown
- Key insight 🚀
- Remember this ⭐
```

**Final Output Structure Reminder:**
Your final output must strictly adhere to the following format (without any additional text):

```markdown
<Your detailed, visually rich markdown summary content goes here>
```

Before generating your response, double-check that the output contains no text outside the opening ```markdown and closing ``` fences.

** Important Note**: ${concisenessNote}
40 changes: 0 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,40 +0,0 @@
# markmap-vscode

[![vscode](https://img.shields.io/visual-studio-marketplace/v/gera2ld.markmap-vscode)](https://marketplace.visualstudio.com/items?itemName=gera2ld.markmap-vscode)
[![open vsx](https://img.shields.io/open-vsx/v/gera2ld/markmap-vscode)](https://open-vsx.org/extension/gera2ld/markmap-vscode)

This extension integrates [markmap](https://markmap.js.org/) into VSCode.

## Features

- Preview markdown files as markmap
- Edit markdown files in a text editor and the markmap will update on the fly
- Works offline

<img width="1014" alt="markmap" src="https://user-images.githubusercontent.com/3139113/97068999-5f9e8480-15ff-11eb-8222-43d26cecade5.png">

## Usage

### Command Palette

Open a markdown file. Then open the Command Palette (⇧⌘P) and search `Open as markmap`, press enter.

### Context menu

Right click on a markdown file, then choose `Open as markmap`.

### Button on title-bar

Open a markdown file. Find the markmap icon on the editor title-bar and click it.

![title button](https://user-images.githubusercontent.com/3139113/110966366-25f0cf00-8390-11eb-9a16-3c4d66712f47.png)

## Configuration

### Custom CSS

Extra CSS to customize the style of markmap.

### Default Options

Default options for Markmap, see <https://markmap.js.org/docs/json-options#markmap-for-vscode> for more details.
5 changes: 0 additions & 5 deletions assets/dark.svg

This file was deleted.

Binary file removed assets/favicon.png
Binary file not shown.
5 changes: 0 additions & 5 deletions assets/light.svg

This file was deleted.

25 changes: 0 additions & 25 deletions assets/style.css

This file was deleted.

6 changes: 0 additions & 6 deletions babel.config.cjs

This file was deleted.

Loading