René's URL Explorer Experiment


Title: Proposal: protect docs with user authentication · Issue #2011 · docsifyjs/docsify · GitHub

Open Graph Title: Proposal: protect docs with user authentication · Issue #2011 · docsifyjs/docsify

X Title: Proposal: protect docs with user authentication · Issue #2011 · docsifyjs/docsify

Description: Feature request Protect docsify static pages with user authentication from any 3rd party identity provider (i.e. Github Auth). What problem does this feature solve? Store and serve static docs in free services like Github Pages, while ha...

Open Graph Description: Feature request Protect docsify static pages with user authentication from any 3rd party identity provider (i.e. Github Auth). What problem does this feature solve? Store and serve static docs in f...

X Description: Feature request Protect docsify static pages with user authentication from any 3rd party identity provider (i.e. Github Auth). What problem does this feature solve? Store and serve static docs in f...

Opengraph URL: https://github.com/docsifyjs/docsify/issues/2011

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Proposal: protect docs with user authentication","articleBody":"\u003c!-- Please don't delete this template or we'll close your issue -->\r\n\u003c!-- Please use English language -->\r\n\u003c!-- Before creating an issue please make sure you are using the latest version of Docsify. -->\r\n\u003c!-- Please ask questions on StackOverflow 👉 https://stackoverflow.com/questions/ask?tags=docsify -->\r\n\r\n## Feature request\r\nProtect docsify static pages with user authentication from any 3rd party identity provider (i.e. Github Auth).\r\n\r\n#### What problem does this feature solve?\r\nStore and serve static docs in free services like Github Pages, while having user authentication. Github only allows that in their paid layer. The proposed method would work with any hosting and identity provider.\r\n\r\n\r\n#### What does the proposed API look like?\r\n1) Create an auth.json file in your root folder with these contents:\r\n```\r\n{\r\n   auth: \"github\",\r\n   repo: \"private-repo-id\"\r\n}\r\n```\r\n\r\n2) In your docsify docs root folder, run `npx docsify-protect-docs`\r\n\r\n#### How should this be implemented in your opinion?\r\n\r\n1) **Initialization**:\r\nThe command `npx docsify-protect-docs`, when called without arguments, will create a git pre-push or pre-commit hook that will automatically call `npx docsify-protect-docs now` (notice argument **now**).\r\n\r\n2) **Automated workflow**:\r\nWith argument `now`, the script will create a \"./docs/protected\" folder, with all the encrypted markdown files and with a modified version of index.html that shows a Login form and connects to Github Auth for auth.\r\n\r\n3) **On-the-fly decryption**:\r\nThe decryption key is obtained from the private Github repo, where it was previously placed by `npx docsify-protect-docs now`. In order to access this key, we need to require read access to that repo. The user will grant it as part of his github auth login flow.\r\n\r\n**Security**:\r\nOnly users with access to the private repo would be able to able to read the docs. Which is fine since they can read the plain markdown anyway.\r\n\r\n**Utility**\r\nRight now the method would be specially useful for developers, as they would need a Github ID (easily extended for Gitlab and other git providers). For non-developers, other identity providers may be added, but they would need to somehow provide access to a shared decryption key.  \r\n\r\n#### Are you willing to work on this yourself?\r\nMaybe, if I get support so that I don't have to learn all the Docsify codebase.\r\n\r\n","author":{"url":"https://github.com/jlcastillo","@type":"Person","name":"jlcastillo"},"datePublished":"2023-04-02T09:40:33Z","url":"https://github.com/docsifyjs/docsify/issues/2011"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7d13ac8b-d44d-7eb1-7213-f1401a8e2150
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9D0C:1DF231:2799A:35545:6AFD36F8
html-safe-nonce3180a471d7738eb974c0ffcf4c8d7cff672ed56f82059de4dfa4db79f76d3f64
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDBDOjFERjIzMToyNzk5QTozNTU0NTo2QUZEMzZGOCIsInZpc2l0b3JfaWQiOiI0NDg0Nzk0ODgzNjU5MDg1NTYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb78bc6b36566ec39828548a36728f6db9a8339039c363a32a2398a19cab711f1
hovercard-subject-tagissue:1650879278
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/docsifyjs/docsify/2011/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3c581a477bcfc386bcd9624ce0a9c8ff5b3e9c5b44276e99694716d37223e662/docsifyjs/docsify/issues/2011
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3c581a477bcfc386bcd9624ce0a9c8ff5b3e9c5b44276e99694716d37223e662/docsifyjs/docsify/issues/2011
og:image:altFeature request Protect docsify static pages with user authentication from any 3rd party identity provider (i.e. Github Auth). What problem does this feature solve? Store and serve static docs in f...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejlcastillo
hostnamegithub.com
expected-hostnamegithub.com
None065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19
turbo-cache-controlno-preview
go-importgithub.com/docsifyjs/docsify git https://github.com/docsifyjs/docsify.git
octolytics-dimension-user_id40133106
octolytics-dimension-user_logindocsifyjs
octolytics-dimension-repository_id74260508
octolytics-dimension-repository_nwodocsifyjs/docsify
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id74260508
octolytics-dimension-repository_network_root_nwodocsifyjs/docsify
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release941021edf0c2ec58298f4a2c8f27ae507d129c92
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/docsifyjs/docsify/issues/2011#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocsifyjs%2Fdocsify%2Fissues%2F2011
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocsifyjs%2Fdocsify%2Fissues%2F2011
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=docsifyjs%2Fdocsify
Reloadhttps://github.com/docsifyjs/docsify/issues/2011
Reloadhttps://github.com/docsifyjs/docsify/issues/2011
Reloadhttps://github.com/docsifyjs/docsify/issues/2011
docsifyjshttps://github.com/docsifyjs
docsifyhttps://github.com/docsifyjs/docsify
Codehttps://github.com/docsifyjs/docsify
Issues60 (60)https://github.com/docsifyjs/docsify/issues
Pull requests27 (27)https://github.com/docsifyjs/docsify/pulls
Discussionshttps://github.com/docsifyjs/docsify/discussions
Actionshttps://github.com/docsifyjs/docsify/actions
Projectshttps://github.com/docsifyjs/docsify/projects
Wikihttps://github.com/docsifyjs/docsify/wiki
Security and qualityhttps://github.com/docsifyjs/docsify/security
Insightshttps://github.com/docsifyjs/docsify/insights
https://github.com/docsifyjs/docsify
New issuehttps://github.com/login?return_to=https://github.com/docsifyjs/docsify/issues/2011
New issuehttps://github.com/login?return_to=https://github.com/docsifyjs/docsify/issues/2011
Proposal: protect docs with user authenticationhttps://github.com/docsifyjs/docsify/issues/2011#top
Futurehttps://github.com/docsifyjs/docsify/milestone/5
https://github.com/jlcastillo
jlcastillohttps://github.com/jlcastillo
on Apr 2, 2023https://github.com/docsifyjs/docsify/issues/2011#issue-1650879278
Koooooo-7https://github.com/Koooooo-7
Futurehttps://github.com/docsifyjs/docsify/milestone/5
on Mar 4, 2024https://github.com/docsifyjs/docsify/issues/2011#event-11997028638
https://github.com/masum-mollik
masum-mollikhttps://github.com/masum-mollik
on Mar 31, 2026https://github.com/docsifyjs/docsify/issues/2011#issuecomment-4159740302
@Koooooo-7https://github.com/Koooooo-7
https://github.com/Koooooo-7
Koooooo-7https://github.com/Koooooo-7
on Apr 3, 2026https://github.com/docsifyjs/docsify/issues/2011#issuecomment-4182388798
Sign up for freehttps://github.com/signup?return_to=https://github.com/docsifyjs/docsify/issues/2011
Sign in to commenthttps://github.com/login?return_to=https://github.com/docsifyjs/docsify/issues/2011
FutureNo due datehttps://github.com/docsifyjs/docsify/milestone/5
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.