mirror of
https://github.com/JonasunderscoreJones/docs.jonasjones.dev.git
synced 2025-10-25 20:09:18 +02:00
Compare commits
No commits in common. "d0dfda22a2d7a04b02a6e670fdab65cbb0c4ff8f" and "0a9689d5e3dd39eef1b9011a200e13d477b8eb0e" have entirely different histories.
d0dfda22a2
...
0a9689d5e3
5 changed files with 1 additions and 55 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -44,7 +44,4 @@ website/i18n/**/*
|
|||
#!website/i18n/fr
|
||||
#!website/i18n/fr/**/*
|
||||
|
||||
.netlify
|
||||
|
||||
.env
|
||||
.env
|
||||
.netlify
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
---
|
||||
sidebar_position: 8
|
||||
slug: /fileshare.jonasjones.dev/
|
||||
---
|
||||
|
||||
# Fileshare Service
|
||||
|
||||
A simple cloudflare worker to upload and download files. This service is available at [fileshare.jonasjones.dev](https://fileshare.jonasjones.dev). The source code is available on [Github](https://github.com/JonasunderscoreJones/fileshare.jonasjones.dev).
|
||||
|
||||
## Dashboard usage
|
||||
|
||||
The dashboard allows for easy file upload, download and deletion. To upload and delete, a password is required. It is set with a cloudflare wrangler secret.
|
||||
|
||||
### Upload
|
||||
|
||||
Uploading is done by selecting a file by clicking on the `Browse` button, then selecting the checkbox for 7 day expiry or selecting a custom expiry date. After entering the password, the file can be uploaded.
|
||||
|
||||
### Download
|
||||
|
||||
Dowloading is as simple as clicking on the file ID in the list of files or clicking on a direct link you might have received.
|
||||
|
||||
### Delete
|
||||
|
||||
Deleting a file can be done by using the dropdown to select a file and entering the password. After clicking the `delete` button, the file will be removed from the server.
|
||||
|
||||
## API usage
|
||||
|
||||
|
||||
|
|
@ -54,27 +54,6 @@ const config = {
|
|||
themeConfig:
|
||||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
||||
({
|
||||
algolia: {
|
||||
// The application ID provided by Algolia
|
||||
appId: '59JHI8GRGH',
|
||||
|
||||
// Public API key: it is safe to commit it
|
||||
apiKey: '87a26fafb2fb30c39503a44b80fad4cf',
|
||||
|
||||
indexName: 'jonasjones',
|
||||
|
||||
// Optional: see doc section below
|
||||
contextualSearch: true,
|
||||
|
||||
// Optional: Specify domains where the navigation should occur through window.location instead on history.push. Useful when our Algolia config crawls multiple documentation sites and we want to navigate with window.location.href to them.
|
||||
//externalUrlRegex: 'external\\.com|domain\\.com',
|
||||
|
||||
// Optional: Replace parts of the item URLs from Algolia. Useful when using the same search index for multiple deployments using a different baseUrl. You can use regexp or string in the `from` param. For example: localhost:3000 vs myCompany.com/docs
|
||||
//replaceSearchResultPathname: {
|
||||
// from: '/docs/', // or as RegExp: /\/docs\//
|
||||
// to: '/',
|
||||
//},
|
||||
},
|
||||
prism: {
|
||||
additionalLanguages: ['properties', 'ini', 'powershell', 'bash', 'yaml'],
|
||||
},
|
||||
|
|
|
|||
|
|
@ -14,11 +14,9 @@
|
|||
"write-heading-ids": "docusaurus write-heading-ids"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docsearch/js": "^3.8.2",
|
||||
"@docusaurus/core": "3.5.2",
|
||||
"@docusaurus/preset-classic": "3.5.2",
|
||||
"@mdx-js/react": "^3.0.0",
|
||||
"cheerio": "^1.0.0-rc.12",
|
||||
"clsx": "^2.0.0",
|
||||
"prism-react-renderer": "^2.3.0",
|
||||
"react": "^18.0.0",
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 87 KiB |
Loading…
Add table
Add a link
Reference in a new issue