Skip to content

Update README#1019

Merged
elie222 merged 2 commits intomainfrom
chore/docker-compose-cron
Nov 26, 2025
Merged

Update README#1019
elie222 merged 2 commits intomainfrom
chore/docker-compose-cron

Conversation

@elie222
Copy link
Owner

@elie222 elie222 commented Nov 26, 2025

Revise README to rework local development setup and add Google PubSub, OAuth, and LLM setup sections, with anchors updated in environment-variables.md and version bumped to v2.20.30 in version.txt

Reworks README local setup steps, adds explicit Google PubSub, Google/Microsoft OAuth, and LLM setup sections with new anchors, consolidates build/run guidance into a Local Production Build section, updates anchor references in environment-variables.md, and bumps version to v2.20.30 in version.txt.

📍Where to Start

Start with the restructured sections and anchors in README.md, then verify cross-references in docs/hosting/environment-variables.md and the version change in version.txt.


Macroscope summarized 7a09f4a.

Summary by CodeRabbit

  • Documentation
    • Restructured README with streamlined Quick Start and reorganized setup instructions for clarity
    • Consolidated configuration sections with emphasis on automated processes and centralized hosting guidance
    • Reorganized self-hosting and production build documentation into broader, more accessible sections
    • Updated cross-reference links between setup guides for improved navigation

✏️ Tip: You can customize this high-level summary in your review settings.

@vercel
Copy link

vercel bot commented Nov 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
inbox-zero Ready Ready Preview Nov 26, 2025 5:42pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 26, 2025

Walkthrough

This pull request restructures the README.md documentation, streamlining Quick Start guidance from granular external-service setup to modular, high-level self-hosting instructions. Internal documentation links in docs/hosting/environment-variables.md are updated to reflect new anchor targets. Version is bumped to v2.20.30.

Changes

Cohort / File(s) Summary
Documentation Restructuring
README.md
Reworded Quick Start steps; expanded with setup-env script invocation, OAuth/LLM configuration guidance, and database migration step; removed granular environment variable and service-specific setup sections; consolidated production/local build and Docker guidance into streamlined Self-Hosting references; shifted from step-by-step external-service narrative to modular, high-level self-hosting structure.
Link Reference Updates
docs/hosting/environment-variables.md
Updated four setup reference links from long anchor targets to simplified anchors: Google OAuth, Microsoft OAuth, Google PubSub, and LLM Setup links now point to cleaner anchor identifiers.
Version Bump
version.txt
Bumped version from v2.20.29 to v2.20.30.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

  • Documentation restructuring and link updates are cosmetic/organizational with no logic changes.
  • Version bump is a single-line change.

Possibly related PRs

Poem

🐰 Hop, skip, and a script away,
The docs now flow a cleaner way!
From tangled steps to streamlined guides,
Self-hosting dreams and OAuth tides!
Version bumps with gentle care,
Setup magic filling the air! ✨

Pre-merge checks and finishing touches

❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'Update README' is vague and generic, failing to specify what aspect of the README was updated or the primary changes made. Consider a more descriptive title such as 'Restructure README documentation and update setup guidance' or 'Refactor README with simplified setup flow and self-hosting focus' to clearly convey the main changes.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/docker-compose-cron

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 18e98f2 and 7a09f4a.

📒 Files selected for processing (3)
  • README.md (5 hunks)
  • docs/hosting/environment-variables.md (1 hunks)
  • version.txt (1 hunks)
🧰 Additional context used
📓 Path-based instructions (2)
!(pages/_document).{jsx,tsx}

📄 CodeRabbit inference engine (.cursor/rules/ultracite.mdc)

Don't use the next/head module in pages/_document.js on Next.js projects

Files:

  • version.txt
  • README.md
  • docs/hosting/environment-variables.md
*.md

📄 CodeRabbit inference engine (.cursor/rules/task-list.mdc)

*.md: Create task lists in markdown files named TASKS.md or with a descriptive feature-specific name (e.g., ASSISTANT_CHAT.md) in the project root to track project progress
Structure task list markdown files with sections: Feature Name Implementation (title), description, Completed Tasks, In Progress Tasks, Future Tasks, Implementation Plan, and Relevant Files subsections
Update task list markdown files by marking tasks as completed with [x], adding new identified tasks, and moving tasks between Completed/In Progress/Future sections as appropriate
Keep the 'Relevant Files' section in task list markdown files updated with file paths that have been created or modified, brief descriptions of each file's purpose, and status indicators (e.g., ✅) for completed components

Files:

  • README.md
🧠 Learnings (1)
📚 Learning: 2025-11-25T14:36:43.454Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/environment-variables.mdc:0-0
Timestamp: 2025-11-25T14:36:43.454Z
Learning: Applies to apps/web/env.ts : For client-side environment variables in `apps/web/env.ts`, prefix them with `NEXT_PUBLIC_` and add them to both the `client` and `experimental__runtimeEnv` sections

Applied to files:

  • README.md
🪛 markdownlint-cli2 (0.18.1)
README.md

262-262: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: cubic · AI code reviewer
  • GitHub Check: Jit Security
  • GitHub Check: test
🔇 Additional comments (11)
version.txt (1)

1-1: Version bump looks good.

Straightforward patch version increment aligning with documentation updates.

README.md (9)

111-115: Internal anchor links use correct markdown syntax.

The Quick Start step 3 correctly references internal sections using markdown anchor syntax. Verify these anchors are defined in the README (they appear to be at lines 132, 211, 267, and 186 respectively).


130-130: Explanatory text clarifies scope of manual configuration.

Line 130 effectively communicates that the setup script auto-generates secrets and that manual sections cover services requiring external configuration, directing users to the environment variables guide for comprehensive reference.


132-185: Google OAuth Setup section is well-structured and complete.

Detailed step-by-step instructions with correct anchor definition (### Google OAuth Setup#google-oauth-setup). Instructions align with typical Google Cloud Console workflows.


186-209: Google PubSub Setup section includes cron task renewal guidance.

The section correctly defines the anchor (### Google PubSub Setup#google-pubsub-setup), covers local development with ngrok, and importantly references automated renewal via Docker Compose cron container with fallback for non-Docker deployments, linking to the Self-Hosting Guide for additional context.


211-265: Microsoft OAuth Setup section is comprehensive and accurate.

Section properly defines anchor (### Microsoft OAuth Setup#microsoft-oauth-setup). Instructions are clear and highlight the important distinction between copying Value vs Secret ID for the client secret. Minor: line 262-265 code block lacks language identifier (see separate comment).

Confirm the code block language tag fix is applied per the earlier comment on line 262.


267-279: LLM Setup section is concise and provider-agnostic.

The anchor is correctly defined (### LLM Setup#llm-setup). Section appropriately lists multiple providers with links and notes that users can reconfigure via the /settings page, avoiding prescriptive single-provider guidance.


281-292: Local Production Build section consolidates testing guidance.

Reorganization merges prior fragmented production-build instructions with clear Docker and non-Docker paths. The NEXT_PUBLIC_BASE_URL environment variable for Docker compose is a helpful practical detail.


294-299: Self-Hosting section appropriately delegates to dedicated guides.

Cleanly references three deployment guides (Self-Hosting, AWS EC2, AWS Copilot) without duplicating lengthy instructions, respecting document scope and reducing maintenance burden.


100-127: Script path verified successfully.

The docker/scripts/setup-env.sh script exists at the specified location with correct executable permissions (755). The Quick Start restructuring with 5 explicit steps, including the new setup-env.sh invocation and database migration step, provides a clearer onboarding flow. The separation of automated secret generation (step 2) from manual OAuth/LLM configuration (step 3) is a good UX improvement.

docs/hosting/environment-variables.md (1)

96-99: All anchor links are valid and correctly reference README.md sections.

Verification confirms that all four section headers exist in README.md and the anchor links in lines 96-99 of environment-variables.md will resolve correctly:

  • #google-oauth-setup → README.md line 132 ✓
  • #microsoft-oauth-setup → README.md line 211 ✓
  • #google-pubsub-setup → README.md line 186 ✓
  • #llm-setup → README.md line 267 ✓

Comment on lines +262 to 265
```
MICROSOFT_CLIENT_ID=your_client_id_here
MICROSOFT_CLIENT_SECRET=your_client_secret_here
```
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Specify language identifier for fenced code block.

Per markdownlint, fenced code blocks should declare a language for syntax highlighting and semantic clarity. This block contains bash environment variable assignments.

-   ```
+   ```bash
    MICROSOFT_CLIENT_ID=your_client_id_here
    MICROSOFT_CLIENT_SECRET=your_client_secret_here
-   ```
+   ```
🧰 Tools
🪛 markdownlint-cli2 (0.18.1)

262-262: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🤖 Prompt for AI Agents
In README.md around lines 262 to 265, the fenced code block showing environment
variables lacks a language identifier; update the opening fence to specify a
language (e.g., ```bash) so the block becomes a bash-marked fenced code block
for proper syntax highlighting and lint compliance.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 3 files

Copy link

@jit-ci jit-ci bot left a comment

Choose a reason for hiding this comment

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

❌ The following Jit checks failed to run:

  • secret-detection

#jit_bypass_commit in this PR to bypass, Jit Admin privileges required.

More info in the Jit platform.

@elie222 elie222 merged commit 414476f into main Nov 26, 2025
18 of 20 checks passed
@coderabbitai coderabbitai bot mentioned this pull request Nov 30, 2025
@elie222 elie222 deleted the chore/docker-compose-cron branch December 18, 2025 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant