Skip to content

feat(server-rendered): add Rails, Django, and Laravel CDN integration guide and demo section#113

Open
Muneerali199 wants to merge 3 commits intoAOSSIE-Org:mainfrom
Muneerali199:feat/server-rendered-frameworks
Open

feat(server-rendered): add Rails, Django, and Laravel CDN integration guide and demo section#113
Muneerali199 wants to merge 3 commits intoAOSSIE-Org:mainfrom
Muneerali199:feat/server-rendered-frameworks

Conversation

@Muneerali199
Copy link
Copy Markdown
Contributor

Summary

Closes #53

Adds server-rendered framework integration documentation (Rails, Django, Laravel) for SocialShareButton.

Changes

  • index.html — New 🖥️ Server-Rendered Frameworks (Rails / Django / Laravel) demo section with three separate copy-to-clipboard code blocks covering:
    • Ruby on Rails (app/views/layouts/application.html.erb)
    • Django (templates/base.html)
    • Laravel (resources/views/layouts/app.blade.php)
  • README.md — New <details> block with full copy-paste snippets for all three frameworks; framework list updated to include Rails, Django, and Laravel

No new wrapper file is needed — all three generate HTML on the server. The integration pattern is identical across them: CDN <link> in <head> and CDN <script> + initialisation before </body>.

Screenshots / Recordings


Checklist

  • My changes follow the project's code style
  • I have tested the changes locally
  • I have updated the documentation (README, index.html)
  • No new files — integration is template/CDN only as specified in the issue

AI Usage Disclosure

GitHub Copilot / OpenCode assisted with code generation and formatting. All logic was reviewed and validated manually.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 16, 2026

Warning

Rate limit exceeded

@Muneerali199 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 15 minutes and 6 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 54d9be86-7361-43ba-9df2-ce97f4acc8f2

📥 Commits

Reviewing files that changed from the base of the PR and between 9e7e113 and 2d4c193.

📒 Files selected for processing (10)
  • .github/copilot/integrate-analytics.prompt.md
  • .github/copilot/integrate-social-share-button.prompt.md
  • README.md
  • docs/client-guide.md
  • eslint.config.js
  • index.html
  • src/social-share-analytics.js
  • src/social-share-button-react.jsx
  • src/social-share-button.css
  • src/social-share-button.js
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

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.

@github-actions
Copy link
Copy Markdown

⚠️ This PR has merge conflicts.

Please resolve the merge conflicts before review.

Your PR will only be reviewed by a maintainer after all conflicts have been resolved.

📺 Watch this video to understand why conflicts occur and how to resolve them:
https://www.youtube.com/watch?v=Sqsz1-o7nXk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: Add Server-Rendered Framework Integration (Rails / Django / Laravel) — demo page section and CDN usage guide

1 participant