Add MkDocs
@ -1 +0,0 @@
|
||||
ofdl.tools
|
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 59 KiB |
@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkof_dl=self.webpackChunkof_dl||[]).push([[655],{416:e=>{e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"generatedSidebar":[{"type":"category","label":"Installation","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Windows","href":"/OF-DL/docs/installation/windows","docId":"installation/windows","unlisted":false},{"type":"link","label":"Docker","href":"/OF-DL/docs/installation/docker","docId":"installation/docker","unlisted":false},{"type":"link","label":"Linux","href":"/OF-DL/docs/installation/linux","docId":"installation/linux","unlisted":false},{"type":"link","label":"macOS","href":"/OF-DL/docs/installation/macos","docId":"installation/macos","unlisted":false}],"href":"/OF-DL/docs/category/installation"},{"type":"category","label":"Configuration","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Authentication","href":"/OF-DL/docs/config/auth","docId":"config/auth","unlisted":false},{"type":"link","label":"Configuration","href":"/OF-DL/docs/config/configuration","docId":"config/configuration","unlisted":false},{"type":"link","label":"Custom Filename Formats","href":"/OF-DL/docs/config/custom-filename-formats","docId":"config/custom-filename-formats","unlisted":false},{"type":"link","label":"CDM (optional, but recommended)","href":"/OF-DL/docs/config/cdm","docId":"config/cdm","unlisted":false}],"href":"/OF-DL/docs/category/configuration"},{"type":"link","label":"Running the Program","href":"/OF-DL/docs/running-the-program","docId":"running-the-program","unlisted":false}]},"docs":{"config/auth":{"id":"config/auth","title":"Authentication","description":"Current Method (versions >= 1.9.0)","sidebar":"generatedSidebar"},"config/cdm":{"id":"config/cdm","title":"CDM (optional, but recommended)","description":"Without Widevine/CDM keys, OF DL uses the 3rd party website cdrm-project.org for decrypting DRM videos. With keys, OF DL directly communicates with OnlyFans. It is highly recommended to use keys, both in case the cdrm-project site is having issues (which occur frequently, in our experience) and it will result in faster download speeds, too. However, this is optional, as things will work as long as cdrm-project is functional.","sidebar":"generatedSidebar"},"config/configuration":{"id":"config/configuration","title":"Configuration","description":"The config.conf file contains all the options you can change, these options are listed below:","sidebar":"generatedSidebar"},"config/custom-filename-formats":{"id":"config/custom-filename-formats","title":"Custom Filename Formats","description":"In the config.conf file you can now specify some custom filename formats that will be used when downloading files. I have had to add 4 new fields to the auth.json file, these are:","sidebar":"generatedSidebar"},"installation/docker":{"id":"installation/docker","title":"Docker","description":"Running OF-DL","sidebar":"generatedSidebar"},"installation/linux":{"id":"installation/linux","title":"Linux","description":"A Linux release of OF-DL is not available at this time, however you can run OF-DL on Linux using Docker.","sidebar":"generatedSidebar"},"installation/macos":{"id":"installation/macos","title":"macOS","description":"macOS releases of OF-DL are not available at this time, however you can run OF-DL on macOS using Docker.","sidebar":"generatedSidebar"},"installation/windows":{"id":"installation/windows","title":"Windows","description":"Requirements","sidebar":"generatedSidebar"},"running-the-program":{"id":"running-the-program","title":"Running the Program","description":"Once you are happy you have filled everything in auth.json correctly, you can double click OF-DL.exe and you should see a command prompt window appear, it should look something like this:","sidebar":"generatedSidebar"}}}}')}}]);
|
@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkof_dl=self.webpackChunkof_dl||[]).push([[237],{2237:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});n(6540);var i=n(1312),o=n(1003),s=n(781),r=n(3363),a=n(4848);function l(){const e=(0,i.T)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.be,{title:e}),(0,a.jsx)(s.A,{children:(0,a.jsx)(r.A,{})})]})}},3363:(e,t,n)=>{n.d(t,{A:()=>a});n(6540);var i=n(4164),o=n(1312),s=n(1107),r=n(4848);function a(e){let{className:t}=e;return(0,r.jsx)("main",{className:(0,i.A)("container margin-vert--xl",t),children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(s.A,{as:"h1",className:"hero__title",children:(0,r.jsx)(o.A,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,r.jsx)("p",{children:(0,r.jsx)(o.A,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,r.jsx)("p",{children:(0,r.jsx)(o.A,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}}}]);
|
@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkof_dl=self.webpackChunkof_dl||[]).push([[348],{4971:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>i,default:()=>u,frontMatter:()=>s,metadata:()=>r,toc:()=>l});var o=t(4848),a=t(8453);const s={sidebar_position:4},i="macOS",r={id:"installation/macos",title:"macOS",description:"macOS releases of OF-DL are not available at this time, however you can run OF-DL on macOS using Docker.",source:"@site/docs/installation/macos.md",sourceDirName:"installation",slug:"/installation/macos",permalink:"/OF-DL/docs/installation/macos",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"generatedSidebar",previous:{title:"Linux",permalink:"/OF-DL/docs/installation/linux"},next:{title:"Configuration",permalink:"/OF-DL/docs/category/configuration"}},c={},l=[];function d(e){const n={a:"a",h1:"h1",p:"p",...(0,a.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"macos",children:"macOS"}),"\n",(0,o.jsxs)(n.p,{children:["macOS releases of OF-DL are not available at this time, however you can run OF-DL on macOS using Docker.\nPlease refer to the ",(0,o.jsx)(n.a,{href:"/docs/installation/docker",children:"Docker"})," page for instructions on how to run OF-DL in a Docker container.\nIf you do not have Docker installed, you can download it from ",(0,o.jsx)(n.a,{href:"https://docs.docker.com/desktop/install/mac-install/",children:"here"}),"."]})]})}function u(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},8453:(e,n,t)=>{t.d(n,{R:()=>i,x:()=>r});var o=t(6540);const a={},s=o.createContext(a);function i(e){const n=o.useContext(s);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function r(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),o.createElement(s.Provider,{value:n},e.children)}}}]);
|
@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkof_dl=self.webpackChunkof_dl||[]).push([[647],{7121:(e,s,r)=>{r.r(s),r.d(s,{default:()=>t});r(6540);var u=r(4164),a=r(1003),c=r(7559),l=r(2831),d=r(781),n=r(4848);function t(e){return(0,n.jsx)(a.e3,{className:(0,u.A)(c.G.wrapper.docsPages),children:(0,n.jsx)(d.A,{children:(0,l.v)(e.route.routes)})})}}}]);
|
@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkof_dl=self.webpackChunkof_dl||[]).push([[196],{5499:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>r,contentTitle:()=>s,default:()=>h,frontMatter:()=>l,metadata:()=>d,toc:()=>a});var i=o(4848),t=o(8453);const l={sidebar_position:1},s="Windows",d={id:"installation/windows",title:"Windows",description:"Requirements",source:"@site/docs/installation/windows.md",sourceDirName:"installation",slug:"/installation/windows",permalink:"/OF-DL/docs/installation/windows",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"generatedSidebar",previous:{title:"Installation",permalink:"/OF-DL/docs/category/installation"},next:{title:"Docker",permalink:"/OF-DL/docs/installation/docker"}},r={},a=[{value:"Requirements",id:"requirements",level:2},{value:"FFmpeg",id:"ffmpeg",level:3},{value:"Installation",id:"installation",level:2}];function c(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",ul:"ul",...(0,t.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"windows",children:"Windows"}),"\n",(0,i.jsx)(n.h2,{id:"requirements",children:"Requirements"}),"\n",(0,i.jsx)(n.h3,{id:"ffmpeg",children:"FFmpeg"}),"\n",(0,i.jsxs)(n.p,{children:["You will need to download FFmpeg. You can download it from ",(0,i.jsx)(n.a,{href:"https://www.gyan.dev/ffmpeg/builds/",children:"here"}),".\nMake sure you download ",(0,i.jsx)(n.code,{children:"ffmpeg-release-essentials.zip"}),". Unzip it anywhere on your computer. You only need ",(0,i.jsx)(n.code,{children:"ffmpeg.exe"}),", and you can ignore the rest.\nMove ",(0,i.jsx)(n.code,{children:"ffmpeg.exe"})," to the same folder as ",(0,i.jsx)(n.code,{children:"OF DL.exe"})," (downloaded in the installation steps below). If you choose to move ",(0,i.jsx)(n.code,{children:"ffmpeg.exe"})," to a different folder,\nyou will need to specify the path to ",(0,i.jsx)(n.code,{children:"ffmpeg.exe"})," in the config file (see the ",(0,i.jsx)(n.code,{children:"FFmpegPath"})," ",(0,i.jsx)(n.a,{href:"/docs/config/configuration#ffmpegpath",children:"config option"}),")."]}),"\n",(0,i.jsx)(n.h2,{id:"installation",children:"Installation"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["Navigate to the OF-DL ",(0,i.jsx)(n.a,{href:"https://git.ofdl.tools/sim0n00ps/OF-DL/releases",children:"releases page"}),", and download the latest release zip file. The zip file will be named ",(0,i.jsx)(n.code,{children:"OFDLVx.x.x.zip"})," where ",(0,i.jsx)(n.code,{children:"x.x.x"})," is the version number."]}),"\n",(0,i.jsx)(n.li,{children:"Unzip the downloaded file. The destination folder can be anywhere on your computer, preferably somewhere where you want to download content to/already have content downloaded."}),"\n",(0,i.jsxs)(n.li,{children:["Your folder should contain a folder named ",(0,i.jsx)(n.code,{children:"cdm"})," as well as the following files:","\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"OF DL.exe"}),"\n",(0,i.jsx)(n.li,{children:"config.json"}),"\n",(0,i.jsx)(n.li,{children:"rules.json"}),"\n",(0,i.jsx)(n.li,{children:"e_sqlite3.dll"}),"\n",(0,i.jsx)(n.li,{children:"ffmpeg.exe"}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.li,{children:"Once you have done this, run OF DL.exe"}),"\n"]})]})}function h(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},8453:(e,n,o)=>{o.d(n,{R:()=>s,x:()=>d});var i=o(6540);const t={},l=i.createContext(t);function s(e){const n=i.useContext(l);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:s(e.components),i.createElement(l.Provider,{value:n},e.children)}}}]);
|
@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkof_dl=self.webpackChunkof_dl||[]).push([[235],{8552:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]);
|
@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkof_dl=self.webpackChunkof_dl||[]).push([[98],{4532:(n,e,s)=>{s.r(e),s.d(e,{default:()=>d});s(6540);var r=s(1003),o=s(2967),t=s(2252),i=s(2831),c=s(1463),l=s(4848);function u(n){const{version:e}=n;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.A,{version:e.version,tag:(0,o.tU)(e.pluginId,e.version)}),(0,l.jsx)(r.be,{children:e.noIndex&&(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function a(n){const{version:e,route:s}=n;return(0,l.jsx)(r.e3,{className:e.className,children:(0,l.jsx)(t.n,{version:e,children:(0,i.v)(s.routes)})})}function d(n){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u,{...n}),(0,l.jsx)(a,{...n})]})}}}]);
|
@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkof_dl=self.webpackChunkof_dl||[]).push([[742],{7093:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]);
|
@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkof_dl=self.webpackChunkof_dl||[]).push([[11],{8453:(n,e,i)=>{i.d(e,{R:()=>o,x:()=>r});var s=i(6540);const l={},t=s.createContext(l);function o(n){const e=s.useContext(t);return s.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function r(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(l):n.components||l:o(n.components),s.createElement(t.Provider,{value:e},n.children)}},9972:(n,e,i)=>{i.r(e),i.d(e,{assets:()=>c,contentTitle:()=>o,default:()=>u,frontMatter:()=>t,metadata:()=>r,toc:()=>a});var s=i(4848),l=i(8453);const t={sidebar_position:3},o="Linux",r={id:"installation/linux",title:"Linux",description:"A Linux release of OF-DL is not available at this time, however you can run OF-DL on Linux using Docker.",source:"@site/docs/installation/linux.md",sourceDirName:"installation",slug:"/installation/linux",permalink:"/OF-DL/docs/installation/linux",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"generatedSidebar",previous:{title:"Docker",permalink:"/OF-DL/docs/installation/docker"},next:{title:"macOS",permalink:"/OF-DL/docs/installation/macos"}},c={},a=[{value:"Building from source",id:"building-from-source",level:2}];function d(n){const e={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,l.R)(),...n.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(e.h1,{id:"linux",children:"Linux"}),"\n",(0,s.jsxs)(e.p,{children:["A Linux release of OF-DL is not available at this time, however you can run OF-DL on Linux using Docker.\nPlease refer to the ",(0,s.jsx)(e.a,{href:"/docs/installation/docker",children:"Docker"})," page for instructions on how to run OF-DL in a Docker container.\nIf you do not have Docker installed, you can download it from ",(0,s.jsx)(e.a,{href:"https://docs.docker.com/desktop/install/linux-install/",children:"here"}),".\nIf you would like to run OF-DL natively on Linux, you can build it from source by following the instructions below."]}),"\n",(0,s.jsx)(e.h2,{id:"building-from-source",children:"Building from source"}),"\n",(0,s.jsxs)(e.ul,{children:["\n",(0,s.jsx)(e.li,{children:"Install the libicu library"}),"\n"]}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-bash",children:"sudo apt-get install libicu-dev\n"})}),"\n",(0,s.jsxs)(e.ul,{children:["\n",(0,s.jsx)(e.li,{children:"Install .NET version 8"}),"\n"]}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-bash",children:" wget https://dot.net/v1/dotnet-install.sh\n sudo bash dotnet-install.sh --architecture x64 --install-dir /usr/share/dotnet/ --runtime dotnet --version 8.0.7\n"})}),"\n",(0,s.jsxs)(e.ul,{children:["\n",(0,s.jsx)(e.li,{children:"Clone the repo"}),"\n"]}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-bash",children:"git clone https://git.ofdl.tools/sim0n00ps/OF-DL.git\ncd 'OF-DL'\n"})}),"\n",(0,s.jsxs)(e.ul,{children:["\n",(0,s.jsxs)(e.li,{children:["Build the project. Replace ",(0,s.jsx)(e.code,{children:"%VERSION%"})," with the current version number of OF-DL (e.g. ",(0,s.jsx)(e.code,{children:"1.7.68"}),")."]}),"\n"]}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-bash",children:"dotnet publish -p:Version=%VERSION% -c Release\ncd 'OF DL/bin/Release/net8.0'\n"})}),"\n",(0,s.jsxs)(e.ul,{children:["\n",(0,s.jsxs)(e.li,{children:["\n",(0,s.jsxs)(e.p,{children:["Download the windows release as described on ",(0,s.jsx)(e.a,{href:"/docs/installation/windows#installation",children:"here"}),"."]}),"\n"]}),"\n",(0,s.jsxs)(e.li,{children:["\n",(0,s.jsxs)(e.p,{children:["Add the ",(0,s.jsx)(e.code,{children:"config.json"})," and ",(0,s.jsx)(e.code,{children:"rules.json"})," files as well as the ",(0,s.jsx)(e.code,{children:"cdm"})," folder to the ",(0,s.jsx)(e.code,{children:"OF DL/bin/Release/net8.0"})," folder."]}),"\n"]}),"\n",(0,s.jsxs)(e.li,{children:["\n",(0,s.jsx)(e.p,{children:"Run the application"}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-bash",children:"DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 ./'OF DL'\n"})})]})}function u(n={}){const{wrapper:e}={...(0,l.R)(),...n.components};return e?(0,s.jsx)(e,{...n,children:(0,s.jsx)(d,{...n})}):d(n)}}}]);
|
@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkof_dl=self.webpackChunkof_dl||[]).push([[634],{1459:(e,n,t)=>{t.r(n),t.d(n,{default:()=>h});var s=t(4164),a=t(8774),i=t(4586),l=t(781),o=t(1107);const r={heroBanner:"heroBanner_qdFl",buttons:"buttons_AeoN"};var c=t(4848);function d(){const{siteConfig:e}=(0,i.A)();return(0,c.jsx)("header",{className:(0,s.A)("hero hero--primary",r.heroBanner),children:(0,c.jsxs)("div",{className:"container",children:[(0,c.jsx)(o.A,{as:"h1",className:"hero__title",children:e.title}),(0,c.jsx)("p",{className:"hero__subtitle",children:e.tagline}),(0,c.jsx)("div",{className:r.buttons,children:(0,c.jsx)(a.A,{className:"button button--secondary button--lg",to:"docs/installation/windows",children:"Installation"})})]})})}function h(){const{siteConfig:e}=(0,i.A)();return(0,c.jsx)(l.A,{title:e.title,description:e.tagline,children:(0,c.jsx)(d,{})})}}}]);
|
@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkof_dl=self.webpackChunkof_dl||[]).push([[612],{6015:t=>{t.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Installation","description":"Installation instructions for OF-DL","slug":"/category/installation","permalink":"/OF-DL/docs/category/installation","sidebar":"generatedSidebar","navigation":{"next":{"title":"Windows","permalink":"/OF-DL/docs/installation/windows"}}}}')}}]);
|
@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkof_dl=self.webpackChunkof_dl||[]).push([[234],{9033:i=>{i.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Configuration","description":"Configuration options and information for OF-DL","slug":"/category/configuration","permalink":"/OF-DL/docs/category/configuration","sidebar":"generatedSidebar","navigation":{"previous":{"title":"macOS","permalink":"/OF-DL/docs/installation/macos"},"next":{"title":"Authentication","permalink":"/OF-DL/docs/config/auth"}}}}')}}]);
|
@ -1,64 +0,0 @@
|
||||
/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
||||
* @license MIT */
|
||||
|
||||
/*! Bundled license information:
|
||||
|
||||
prismjs/prism.js:
|
||||
(**
|
||||
* Prism: Lightweight, robust, elegant syntax highlighting
|
||||
*
|
||||
* @license MIT <https://opensource.org/licenses/MIT>
|
||||
* @author Lea Verou <https://lea.verou.me>
|
||||
* @namespace
|
||||
* @public
|
||||
*)
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react-jsx-runtime.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license React v16.13.1
|
||||
* react-is.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
@ -1 +0,0 @@
|
||||
(()=>{"use strict";var e,t,r,a,o,n={},c={};function d(e){var t=c[e];if(void 0!==t)return t.exports;var r=c[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,d),r.loaded=!0,r.exports}d.m=n,d.c=c,e=[],d.O=(t,r,a,o)=>{if(!r){var n=1/0;for(l=0;l<e.length;l++){r=e[l][0],a=e[l][1],o=e[l][2];for(var c=!0,f=0;f<r.length;f++)(!1&o||n>=o)&&Object.keys(d.O).every((e=>d.O[e](r[f])))?r.splice(f--,1):(c=!1,o<n&&(n=o));if(c){e.splice(l--,1);var i=a();void 0!==i&&(t=i)}}return t}o=o||0;for(var l=e.length;l>0&&e[l-1][2]>o;l--)e[l]=e[l-1];e[l]=[r,a,o]},d.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return d.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,d.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);d.r(o);var n={};t=t||[null,r({}),r([]),r(r)];for(var c=2&a&&e;"object"==typeof c&&!~t.indexOf(c);c=r(c))Object.getOwnPropertyNames(c).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,d.d(o,n),o},d.d=(e,t)=>{for(var r in t)d.o(t,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce(((t,r)=>(d.f[r](e,t),t)),[])),d.u=e=>"assets/js/"+({11:"b59d577e",32:"e5885c1b",48:"a94703ab",74:"49a805ee",98:"a7bd4aaa",196:"975c1e12",234:"dfff54f2",235:"a7456010",348:"37ed60ec",401:"17896441",424:"d934d03b",430:"6c05a1e8",612:"cc26a626",634:"c4f5d8e4",647:"5e95c892",655:"1995c067",739:"e9287672",742:"aba21aa0",962:"ac07380c",969:"14eb3368"}[e]||e)+"."+{11:"5f90a6f9",32:"045847e9",48:"557c0add",74:"98d92a63",98:"0e79bfc8",196:"ff38e011",234:"0a716613",235:"8cec1008",237:"2b5d8634",348:"fd3a7996",401:"203f2010",424:"d19cbe79",430:"a6ce43b4",612:"ea1afee1",634:"b6d73582",647:"bc00a61b",655:"614c3fa5",739:"aea5465f",742:"a011aa8c",962:"d2bc10a2",969:"9938e64b"}[e]+".js",d.miniCssF=e=>{},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o="of-dl:",d.l=(e,t,r,n)=>{if(a[e])a[e].push(t);else{var c,f;if(void 0!==r)for(var i=document.getElementsByTagName("script"),l=0;l<i.length;l++){var u=i[l];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==o+r){c=u;break}}c||(f=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,d.nc&&c.setAttribute("nonce",d.nc),c.setAttribute("data-webpack",o+r),c.src=e),a[e]=[t];var s=(t,r)=>{c.onerror=c.onload=null,clearTimeout(b);var o=a[e];if(delete a[e],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((e=>e(r))),t)return t(r)},b=setTimeout(s.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=s.bind(null,c.onerror),c.onload=s.bind(null,c.onload),f&&document.head.appendChild(c)}},d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.p="/OF-DL/",d.gca=function(e){return e={17896441:"401",b59d577e:"11",e5885c1b:"32",a94703ab:"48","49a805ee":"74",a7bd4aaa:"98","975c1e12":"196",dfff54f2:"234",a7456010:"235","37ed60ec":"348",d934d03b:"424","6c05a1e8":"430",cc26a626:"612",c4f5d8e4:"634","5e95c892":"647","1995c067":"655",e9287672:"739",aba21aa0:"742",ac07380c:"962","14eb3368":"969"}[e]||e,d.p+d.u(e)},(()=>{var e={354:0,869:0};d.f.j=(t,r)=>{var a=d.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(354|869)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>a=e[t]=[r,o]));r.push(a[2]=o);var n=d.p+d.u(t),c=new Error;d.l(n,(r=>{if(d.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+n+")",c.name="ChunkLoadError",c.type=o,c.request=n,a[1](c)}}),"chunk-"+t,t)}},d.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,n=r[0],c=r[1],f=r[2],i=0;if(n.some((t=>0!==e[t]))){for(a in c)d.o(c,a)&&(d.m[a]=c[a]);if(f)var l=f(d)}for(t&&t(r);i<n.length;i++)o=n[i],d.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return d.O(l)},r=self.webpackChunkof_dl=self.webpackChunkof_dl||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})();
|
Before Width: | Height: | Size: 769 B |
@ -1 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://sim0n00ps.github.io/OF-DL/docs/category/configuration</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://sim0n00ps.github.io/OF-DL/docs/category/installation</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://sim0n00ps.github.io/OF-DL/docs/config/auth</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://sim0n00ps.github.io/OF-DL/docs/config/cdm</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://sim0n00ps.github.io/OF-DL/docs/config/configuration</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://sim0n00ps.github.io/OF-DL/docs/config/custom-filename-formats</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://sim0n00ps.github.io/OF-DL/docs/installation/docker</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://sim0n00ps.github.io/OF-DL/docs/installation/linux</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://sim0n00ps.github.io/OF-DL/docs/installation/macos</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://sim0n00ps.github.io/OF-DL/docs/installation/windows</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://sim0n00ps.github.io/OF-DL/docs/running-the-program</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://sim0n00ps.github.io/OF-DL/</loc><changefreq>weekly</changefreq><priority>0.5</priority></url></urlset>
|
5
.gitignore
vendored
@ -367,4 +367,7 @@ FodyWeavers.xsd
|
||||
/OF DL/device_private_key
|
||||
|
||||
# Allow node_modules inside custom actions
|
||||
!.gitea-actions/**/node_modules/
|
||||
!.gitea-actions/**/node_modules/
|
||||
|
||||
# venv
|
||||
venv/
|
2
docs/.gitignore
vendored
@ -18,3 +18,5 @@
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
venv/
|
@ -1 +0,0 @@
|
||||
20.16.0
|
@ -1,41 +0,0 @@
|
||||
# Website
|
||||
|
||||
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
|
||||
|
||||
### Installation
|
||||
|
||||
```
|
||||
$ yarn
|
||||
```
|
||||
|
||||
### Local Development
|
||||
|
||||
```
|
||||
$ yarn start
|
||||
```
|
||||
|
||||
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
|
||||
|
||||
### Build
|
||||
|
||||
```
|
||||
$ yarn build
|
||||
```
|
||||
|
||||
This command generates static content into the `build` directory and can be served using any static contents hosting service.
|
||||
|
||||
### Deployment
|
||||
|
||||
Using SSH:
|
||||
|
||||
```
|
||||
$ USE_SSH=true yarn deploy
|
||||
```
|
||||
|
||||
Not using SSH:
|
||||
|
||||
```
|
||||
$ GIT_USER=<Your GitHub username> yarn deploy
|
||||
```
|
||||
|
||||
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
|
@ -1,3 +0,0 @@
|
||||
module.exports = {
|
||||
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
|
||||
};
|
@ -19,7 +19,7 @@ If you use the Google sign-in option to log into your OnlyFans account, use one
|
||||
|
||||
:::info
|
||||
|
||||
If you are using docker, follow the special [authentication instructions documented](/docs/installation/docker) to authenticate OF-DL
|
||||
If you are using docker, follow the special [authentication instructions documented](/installation/docker) to authenticate OF-DL
|
||||
|
||||
:::
|
||||
|
@ -265,7 +265,7 @@ Default: `""`
|
||||
|
||||
Allowed values: Any valid string
|
||||
|
||||
Description: Please refer to [custom filename formats](/docs/config/custom-filename-formats#paidpostfilenameformat) page to see what fields you can use.
|
||||
Description: Please refer to [custom filename formats](/config/custom-filename-formats#paidpostfilenameformat) page to see what fields you can use.
|
||||
|
||||
## PostFileNameFormat
|
||||
|
||||
@ -275,7 +275,7 @@ Default: `""`
|
||||
|
||||
Allowed values: Any valid string
|
||||
|
||||
Description: Please refer to the [custom filename formats](/docs/config/custom-filename-formats#postfilenameformat) page to see what fields you can use.
|
||||
Description: Please refer to the [custom filename formats](/config/custom-filename-formats#postfilenameformat) page to see what fields you can use.
|
||||
|
||||
## PaidMessageFileNameFormat
|
||||
|
||||
@ -285,7 +285,7 @@ Default: `""`
|
||||
|
||||
Allowed values: Any valid string
|
||||
|
||||
Description: Please refer to [custom filename formats](/docs/config/custom-filename-formats#paidmessagefilenameformat) page to see what fields you can use.
|
||||
Description: Please refer to [custom filename formats](/config/custom-filename-formats#paidmessagefilenameformat) page to see what fields you can use.
|
||||
|
||||
## MessageFileNameFormat
|
||||
|
||||
@ -295,7 +295,7 @@ Default: `""`
|
||||
|
||||
Allowed values: Any valid string
|
||||
|
||||
Description: Please refer to [custom filename formats](/docs/config/custom-filename-formats#messagefilenameformat) page to see what fields you can use.
|
||||
Description: Please refer to [custom filename formats](/config/custom-filename-formats#messagefilenameformat) page to see what fields you can use.
|
||||
|
||||
## RenameExistingFilesWhenCustomFormatIsSelected
|
||||
|
||||
@ -322,7 +322,7 @@ Description: This configuration options allows you to set file name formats for
|
||||
This is useful if you want to have different file name formats for different creators. The values set here will override the global values set in the config file
|
||||
(see [PaidPostFileNameFormat](#paidpostfilenameformat), [PostFileNameFormat](#postfilenameformat),
|
||||
[PaidMessageFileNAmeFormat](#paidmessagefilenameformat), and [MessageFileNameFormat](#messagefilenameformat)).
|
||||
For more information on the file name formats, see the [custom filename formats](/docs/config/custom-filename-formats) page.
|
||||
For more information on the file name formats, see the [custom filename formats](/config/custom-filename-formats) page.
|
||||
|
||||
Example:
|
||||
```
|
||||
@ -441,7 +441,7 @@ If NonInteractiveMode is enabled, you will be unable to authenticate OF-DL using
|
||||
Before you can run OF-DL in NonInteractiveMode, you must either
|
||||
|
||||
1. Generate an auth.json file by running OF-DL with NonInteractiveMode disabled and authenticating OF-DL using the standard method **OR**
|
||||
2. Generate an auth.json file by using a [legacy authentication method](/docs/config/auth#legacy-methods)
|
||||
2. Generate an auth.json file by using a [legacy authentication method](/config/auth#legacy-methods)
|
||||
|
||||
:::
|
||||
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"label": "Configuration",
|
||||
"position": 2,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "Configuration options and information for OF-DL"
|
||||
}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"label": "Installation",
|
||||
"position": 1,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "Installation instructions for OF-DL"
|
||||
}
|
||||
}
|
@ -1,123 +0,0 @@
|
||||
// @ts-check
|
||||
// `@type` JSDoc annotations allow editor autocompletion and type checking
|
||||
// (when paired with `@ts-check`).
|
||||
// There are various equivalent ways to declare your Docusaurus config.
|
||||
// See: https://docusaurus.io/docs/api/docusaurus-config
|
||||
|
||||
import {themes as prismThemes} from 'prism-react-renderer';
|
||||
|
||||
/** @type {import('@docusaurus/types').Config} */
|
||||
const config = {
|
||||
title: 'OF-DL',
|
||||
tagline: 'A media scraper for OnlyFans with DRM video support',
|
||||
favicon: 'img/logo.png',
|
||||
|
||||
// Set the production url of your site here
|
||||
url: 'https://sim0n00ps.github.io',
|
||||
// Set the /<baseUrl>/ pathname under which your site is served
|
||||
// For GitHub pages deployment, it is often '/<projectName>/'
|
||||
baseUrl: '/OF-DL/',
|
||||
|
||||
// GitHub pages deployment config.
|
||||
// If you aren't using GitHub pages, you don't need these.
|
||||
organizationName: 'sim0n00ps', // Usually your GitHub org/user name.
|
||||
projectName: 'OF-DL', // Usually your repo name.
|
||||
|
||||
onBrokenLinks: 'throw',
|
||||
onBrokenMarkdownLinks: 'warn',
|
||||
|
||||
// Even if you don't use internationalization, you can use this field to set
|
||||
// useful metadata like html lang. For example, if your site is Chinese, you
|
||||
// may want to replace "en" with "zh-Hans".
|
||||
i18n: {
|
||||
defaultLocale: 'en',
|
||||
locales: ['en'],
|
||||
},
|
||||
|
||||
presets: [
|
||||
[
|
||||
'@docusaurus/preset-classic',
|
||||
/** @type {import('@docusaurus/preset-classic').Options} */
|
||||
({
|
||||
docs: {
|
||||
sidebarPath: './sidebars.js',
|
||||
},
|
||||
blog: false,
|
||||
}),
|
||||
],
|
||||
],
|
||||
|
||||
themeConfig:
|
||||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
||||
({
|
||||
colorMode: {
|
||||
respectPrefersColorScheme: true,
|
||||
},
|
||||
navbar: {
|
||||
title: 'OF-DL',
|
||||
logo: {
|
||||
alt: 'OF-DL Logo',
|
||||
src: 'img/logo.png',
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: 'docSidebar',
|
||||
sidebarId: 'generatedSidebar',
|
||||
position: 'left',
|
||||
label: 'Docs',
|
||||
},
|
||||
{
|
||||
href: 'https://github.com/sim0n00ps/OF-DL',
|
||||
label: 'GitHub',
|
||||
position: 'right',
|
||||
},
|
||||
],
|
||||
},
|
||||
footer: {
|
||||
style: 'dark',
|
||||
links: [
|
||||
{
|
||||
title: 'Docs',
|
||||
items: [
|
||||
{
|
||||
label: 'Installation',
|
||||
to: '/docs/installation/windows',
|
||||
},
|
||||
{
|
||||
label: 'Configuration',
|
||||
to: '/docs/config/auth',
|
||||
},
|
||||
{
|
||||
label: 'Running the Program',
|
||||
to: '/docs/running-the-program',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Community',
|
||||
items: [
|
||||
{
|
||||
label: 'Discord',
|
||||
href: 'https://discord.com/invite/6bUW8EJ53j',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'More',
|
||||
items: [
|
||||
{
|
||||
label: 'GitHub',
|
||||
href: 'https://github.com/sim0n00ps/OF-DL',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
prism: {
|
||||
theme: prismThemes.github,
|
||||
darkTheme: prismThemes.dracula,
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
||||
export default config;
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
BIN
docs/img/logo.ico
Normal file
After Width: | Height: | Size: 109 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
3
docs/index.md
Normal file
@ -0,0 +1,3 @@
|
||||
# Welcome to OF-DL
|
||||
|
||||
C# console app to download all of the media from Onlyfans accounts with DRM video downloading support.
|
@ -5,7 +5,7 @@ sidebar_position: 3
|
||||
# Linux
|
||||
|
||||
A Linux release of OF-DL is not available at this time, however you can run OF-DL on Linux using Docker.
|
||||
Please refer to the [Docker](/docs/installation/docker) page for instructions on how to run OF-DL in a Docker container.
|
||||
Please refer to the [Docker](/installation/docker) page for instructions on how to run OF-DL in a Docker container.
|
||||
If you do not have Docker installed, you can download it from [here](https://docs.docker.com/desktop/install/linux-install/).
|
||||
If you would like to run OF-DL natively on Linux, you can build it from source by following the instructions below.
|
||||
|
@ -5,5 +5,5 @@ sidebar_position: 4
|
||||
# macOS
|
||||
|
||||
macOS releases of OF-DL are not available at this time, however you can run OF-DL on macOS using Docker.
|
||||
Please refer to the [Docker](/docs/installation/docker) page for instructions on how to run OF-DL in a Docker container.
|
||||
Please refer to the [Docker](/installation/docker) page for instructions on how to run OF-DL in a Docker container.
|
||||
If you do not have Docker installed, you can download it from [here](https://docs.docker.com/desktop/install/mac-install/).
|
@ -11,7 +11,7 @@ sidebar_position: 1
|
||||
You will need to download FFmpeg. You can download it from [here](https://www.gyan.dev/ffmpeg/builds/).
|
||||
Make sure you download `ffmpeg-release-essentials.zip`. Unzip it anywhere on your computer. You only need `ffmpeg.exe`, and you can ignore the rest.
|
||||
Move `ffmpeg.exe` to the same folder as `OF DL.exe` (downloaded in the installation steps below). If you choose to move `ffmpeg.exe` to a different folder,
|
||||
you will need to specify the path to `ffmpeg.exe` in the config file (see the `FFmpegPath` [config option](/docs/config/configuration#ffmpegpath)).
|
||||
you will need to specify the path to `ffmpeg.exe` in the config file (see the `FFmpegPath` [config option](/config/configuration#ffmpegpath)).
|
||||
|
||||
## Installation
|
||||
|
15550
docs/package-lock.json
generated
@ -1,44 +0,0 @@
|
||||
{
|
||||
"name": "of-dl",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"docusaurus": "docusaurus",
|
||||
"start": "docusaurus start",
|
||||
"build": "docusaurus build",
|
||||
"swizzle": "docusaurus swizzle",
|
||||
"deploy": "docusaurus deploy",
|
||||
"clear": "docusaurus clear",
|
||||
"serve": "docusaurus serve",
|
||||
"write-translations": "docusaurus write-translations",
|
||||
"write-heading-ids": "docusaurus write-heading-ids"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "3.4.0",
|
||||
"@docusaurus/preset-classic": "3.4.0",
|
||||
"@mdx-js/react": "^3.0.0",
|
||||
"clsx": "^2.0.0",
|
||||
"prism-react-renderer": "^2.3.0",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@docusaurus/module-type-aliases": "3.4.0",
|
||||
"@docusaurus/types": "3.4.0"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
">0.5%",
|
||||
"not dead",
|
||||
"not op_mini all"
|
||||
],
|
||||
"development": [
|
||||
"last 3 chrome version",
|
||||
"last 3 firefox version",
|
||||
"last 5 safari version"
|
||||
]
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0"
|
||||
}
|
||||
}
|
@ -4,7 +4,7 @@ sidebar_position: 3
|
||||
|
||||
# Running the Program
|
||||
|
||||
Once you are happy you have filled everything in [auth.json](/docs/config/auth) correctly, you can double click OF-DL.exe and you should see a command prompt window appear, it should look something like this:
|
||||
Once you are happy you have filled everything in [auth.json](/config/auth) correctly, you can double click OF-DL.exe and you should see a command prompt window appear, it should look something like this:
|
||||
|
||||

|
||||
|
@ -1,33 +0,0 @@
|
||||
/**
|
||||
* Creating a sidebar enables you to:
|
||||
- create an ordered group of docs
|
||||
- render a sidebar for each doc of that group
|
||||
- provide next/previous navigation
|
||||
|
||||
The sidebars can be generated from the filesystem, or explicitly defined here.
|
||||
|
||||
Create as many sidebars as you want.
|
||||
*/
|
||||
|
||||
// @ts-check
|
||||
|
||||
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
|
||||
const sidebars = {
|
||||
// By default, Docusaurus generates a sidebar from the docs folder structure
|
||||
generatedSidebar: [{type: 'autogenerated', dirName: '.'}],
|
||||
|
||||
// But you can create a sidebar manually
|
||||
/*
|
||||
tutorialSidebar: [
|
||||
'intro',
|
||||
'hello',
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Tutorial',
|
||||
items: ['tutorial-basics/create-a-document'],
|
||||
},
|
||||
],
|
||||
*/
|
||||
};
|
||||
|
||||
export default sidebars;
|
@ -1,39 +0,0 @@
|
||||
import clsx from 'clsx';
|
||||
import Link from '@docusaurus/Link';
|
||||
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
||||
import Layout from '@theme/Layout';
|
||||
|
||||
import Heading from '@theme/Heading';
|
||||
import styles from './index.module.css';
|
||||
|
||||
function HomepageHeader() {
|
||||
const {siteConfig} = useDocusaurusContext();
|
||||
return (
|
||||
<header className={clsx('hero hero--primary', styles.heroBanner)}>
|
||||
<div className="container">
|
||||
<Heading as="h1" className="hero__title">
|
||||
{siteConfig.title}
|
||||
</Heading>
|
||||
<p className="hero__subtitle">{siteConfig.tagline}</p>
|
||||
<div className={styles.buttons}>
|
||||
<Link
|
||||
className="button button--secondary button--lg"
|
||||
to="docs/installation/windows">
|
||||
Installation
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
);
|
||||
}
|
||||
|
||||
export default function Home() {
|
||||
const {siteConfig} = useDocusaurusContext();
|
||||
return (
|
||||
<Layout
|
||||
title={siteConfig.title}
|
||||
description={siteConfig.tagline}>
|
||||
<HomepageHeader />
|
||||
</Layout>
|
||||
);
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
/**
|
||||
* CSS files with the .module.css suffix will be treated as CSS modules
|
||||
* and scoped locally.
|
||||
*/
|
||||
|
||||
.heroBanner {
|
||||
padding: 4rem 0;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 996px) {
|
||||
.heroBanner {
|
||||
padding: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.buttons {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
0
docs/static/.nojekyll
vendored
BIN
docs/static/img/cli_menu.png
vendored
Before Width: | Height: | Size: 22 KiB |
BIN
docs/static/img/logo.png
vendored
Before Width: | Height: | Size: 769 B |
BIN
docs/static/img/network_tab.png
vendored
Before Width: | Height: | Size: 18 KiB |
BIN
docs/static/img/request_headers.png
vendored
Before Width: | Height: | Size: 59 KiB |
BIN
docs/static/img/welcome_banner.png
vendored
Before Width: | Height: | Size: 1.7 KiB |
36
mkdocs.yml
Normal file
@ -0,0 +1,36 @@
|
||||
site_name: OF-DL Docs
|
||||
theme:
|
||||
name: material
|
||||
features:
|
||||
- navigation.tabs
|
||||
- navigation.top
|
||||
- navigation.instant
|
||||
- navigation.expand
|
||||
- navigation.sections
|
||||
- navigation.tracking
|
||||
- navigation.search.highlight
|
||||
- navigation.search.suggest
|
||||
- navigation.search.share
|
||||
- navigation.search.suggest
|
||||
- navigation.search.share
|
||||
- navigation.search.suggest
|
||||
- navigation.search.share
|
||||
language: en
|
||||
palette:
|
||||
- scheme: default
|
||||
toggle:
|
||||
icon: material/toggle-switch-off-outline
|
||||
name: Switch to dark mode
|
||||
primary: teal
|
||||
accent: purple
|
||||
- scheme: slate
|
||||
toggle:
|
||||
icon: material/toggle-switch
|
||||
name: Switch to light mode
|
||||
primary: teal
|
||||
accent: lime
|
||||
font:
|
||||
text: Roboto
|
||||
code: Roboto Mono
|
||||
logo: img/logo.ico
|
||||
favicon: img/logo.ico
|