Skip to content
Open

main #10

Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 4 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
VITE_APPWRITE_ENDPOINT=
VITE_APPWRITE_PROJECT_ID=
VITE_APPWRITE_PROJECT_NAME=
VITE_APPWRITE_PROJECT_ID = "699ebd17003273658385"
VITE_APPWRITE_PROJECT_NAME = "kajan.meNew project"
VITE_APPWRITE_ENDPOINT = "https://fra.cloud.appwrite.io/v1"

Comment on lines +1 to +4
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Replace real environment values and fix dotenv formatting.

Line 1–3 should use placeholders in .env.example to avoid accidental coupling to a personal/shared Appwrite project, and the current formatting will keep linter warnings active.

🔧 Proposed fix
-VITE_APPWRITE_PROJECT_ID = "699ebd17003273658385"
-VITE_APPWRITE_PROJECT_NAME = "kajan.meNew project"
-VITE_APPWRITE_ENDPOINT = "https://fra.cloud.appwrite.io/v1"
-        
+VITE_APPWRITE_ENDPOINT="https://<REGION>.cloud.appwrite.io/v1"
+VITE_APPWRITE_PROJECT_ID="<PROJECT_ID>"
+VITE_APPWRITE_PROJECT_NAME="<PROJECT_NAME>"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
VITE_APPWRITE_PROJECT_ID = "699ebd17003273658385"
VITE_APPWRITE_PROJECT_NAME = "kajan.meNew project"
VITE_APPWRITE_ENDPOINT = "https://fra.cloud.appwrite.io/v1"
VITE_APPWRITE_ENDPOINT="https://<REGION>.cloud.appwrite.io/v1"
VITE_APPWRITE_PROJECT_ID="<PROJECT_ID>"
VITE_APPWRITE_PROJECT_NAME="<PROJECT_NAME>"
🧰 Tools
🪛 dotenv-linter (4.0.0)

[warning] 1-1: [SpaceCharacter] The line has spaces around equal sign

(SpaceCharacter)


[warning] 2-2: [SpaceCharacter] The line has spaces around equal sign

(SpaceCharacter)


[warning] 3-3: [SpaceCharacter] The line has spaces around equal sign

(SpaceCharacter)


[warning] 3-3: [UnorderedKey] The VITE_APPWRITE_ENDPOINT key should go before the VITE_APPWRITE_PROJECT_ID key

(UnorderedKey)


[warning] 4-4: [EndingBlankLine] No blank line at the end of the file

(EndingBlankLine)


[warning] 4-4: [TrailingWhitespace] Trailing whitespace detected

(TrailingWhitespace)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.env.example around lines 1 - 4, The .env.example contains real Appwrite
values and incorrect dotenv formatting; replace the concrete values for
VITE_APPWRITE_PROJECT_ID, VITE_APPWRITE_PROJECT_NAME, and VITE_APPWRITE_ENDPOINT
with placeholder values (e.g., VITE_APPWRITE_PROJECT_ID=YOUR_PROJECT_ID,
VITE_APPWRITE_PROJECT_NAME="YOUR_PROJECT_NAME",
VITE_APPWRITE_ENDPOINT=YOUR_ENDPOINT) and remove extra spaces around the equals
signs and stray quotes so each line follows valid dotenv syntax (no surrounding
spaces around '=' and use values or quoted placeholders consistently) to silence
linters and avoid leaking real credentials.

81 changes: 81 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@
"@appwrite.io/pink-icons": "^1.0.0",
"@tailwindcss/vite": "^4.0.14",
"appwrite": "^21.2.1",
"lucide-react": "^0.575.0",
"marked": "^17.0.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router-dom": "^7.13.1",
"tailwindcss": "^4.0.14"
},
"devDependencies": {
Expand Down
20 changes: 0 additions & 20 deletions src/App.css

This file was deleted.

Loading