From a1361e846219eda90a3bd78b10cdc855302d4fdd Mon Sep 17 00:00:00 2001 From: dumbmoron Date: Tue, 17 Sep 2024 18:54:28 +0000 Subject: [PATCH] web/about: convert pages to translatable markdown --- web/i18n/en/about/credits.md | 29 +++++++ web/i18n/en/about/general.md | 63 ++++++++++++++ web/i18n/en/about/privacy.md | 59 +++++++++++++ web/i18n/en/about/terms.md | 32 +++++++ .../components/misc/AboutPageWrapper.svelte | 9 ++ web/src/routes/about/[page]/+page.svelte | 10 +++ web/src/routes/about/credits/+page.svelte | 41 --------- web/src/routes/about/general/+page.svelte | 87 ------------------- web/src/routes/about/privacy/+page.svelte | 81 ----------------- web/src/routes/about/terms/+page.svelte | 37 -------- web/svelte.config.js | 14 ++- 11 files changed, 212 insertions(+), 250 deletions(-) create mode 100644 web/i18n/en/about/credits.md create mode 100644 web/i18n/en/about/general.md create mode 100644 web/i18n/en/about/privacy.md create mode 100644 web/i18n/en/about/terms.md create mode 100644 web/src/components/misc/AboutPageWrapper.svelte create mode 100644 web/src/routes/about/[page]/+page.svelte delete mode 100644 web/src/routes/about/credits/+page.svelte delete mode 100644 web/src/routes/about/general/+page.svelte delete mode 100644 web/src/routes/about/privacy/+page.svelte delete mode 100644 web/src/routes/about/terms/+page.svelte diff --git a/web/i18n/en/about/credits.md b/web/i18n/en/about/credits.md new file mode 100644 index 00000000..4002806a --- /dev/null +++ b/web/i18n/en/about/credits.md @@ -0,0 +1,29 @@ + + +
+ +### meowbalt +meowbalt is cobalt's speedy mascot. he is an extremely expressive cat that loves fast internet. + +all amazing drawings of meowbalt that you see in cobalt were made by [GlitchyPSI](https://glitchypsi.xyz/). +he is also the original designer of the character. + +you cannot use or modify GlitchyPSI's artworks of meowbalt without his explicit permission. + +you cannot use or modify the meowbalt character design commercially or in any form that isn't fan art. + +
+
+ +### cobalt licenses +cobalt processing server is open source and licensed under [AGPL-3.0]({docs.apiLicense}). + +cobalt frontend is [source first](https://sourcefirst.com/) and licensed under [CC-BY-NC-SA 4.0]({docs.webLicense}). +we decided to use this license to stop grifters from profiting off our work & from creating malicious clones that deceive people and hurt our public identity. + +we rely on many open source libraries, create & distribute our own. +you can see the full list of dependencies on [github]({contacts.github}). + +
diff --git a/web/i18n/en/about/general.md b/web/i18n/en/about/general.md new file mode 100644 index 00000000..5bdea833 --- /dev/null +++ b/web/i18n/en/about/general.md @@ -0,0 +1,63 @@ + + +
+ +### best way to save what you love +cobalt lets you save anything from your favorite websites: video, audio, photos or gifs — cobalt can do it all! + +no ads, trackers, or paywalls, no nonsense. just a convenient web app that works everywhere. + +
+ +
+ +### leading privacy +all requests to backend are anonymous and all tunnels are encrypted. +we have a strict zero log policy and don't track *anything* about individual people. + +to avoid caching or storing downloaded files, cobalt processes them on-the-fly, sending processed pieces directly to client. +this technology is used when your request needs additional processing, such as when source service stores video & audio in separate files. + +for even higher level of protection, you can [ask cobalt to always tunnel everything](/settings/privacy#tunnel). +when enabled, cobalt will proxy everything through itself. no one will know what you download, even your network provider/admin. +all they'll see is that you're using cobalt. + +
+ +
+ +### blazing speed +since we don't rely on any existing downloaders and develop our own from ground up, +cobalt is extremely efficient and a processing server can run on basically any hardware. + +main processing instances are hosted on several dedicated servers in several countries, +to reduce latency and distribute the traffic. + +we constantly improve our infrastructure along with our long-standing partner, [royalehosting.net]({partners.royalehosting})! +you're in good hands, and will get what you need within seconds. + +
+
+ +### open community +cobalt is used by countless artists, educators, and content creators to do what they love. +we're always on the line with our community and work together to create even more useful tools for them. +feel free to [join the conversation](/about/community)! + +we believe that the future of the internet is open, which is why cobalt is [source first](https://sourcefirst.com/) and [easily self-hostable]({docs.instanceHosting}). you can [check the source code & contribute to cobalt]({contacts.github}) +at any time, we welcome all contributions and suggestions. + +you can use any processing instances hosted by the community, including your own. +if your friend hosts one, just ask them for a domain and [add it in instance settings](/settings/instances#community). + +
+
+ +### on-device processing +new features, such as [remuxing](/remux), work on-device. +on-device processing is efficient and never sends anything over the internet. +it perfectly aligns with our future goal of moving as much processing as possible to client. + +
diff --git a/web/i18n/en/about/privacy.md b/web/i18n/en/about/privacy.md new file mode 100644 index 00000000..4a3d8b76 --- /dev/null +++ b/web/i18n/en/about/privacy.md @@ -0,0 +1,59 @@ + + +
+ +### general terms +cobalt's privacy policy is simple: we don't collect or store anything about you. what you do is solely your business, not ours or anyone else's. + +these terms are applicable only when using the official cobalt instance. in other cases, you may need to contact the hoster for accurate info. + +
+
+ +### on-device processing +tools that use on-device processing work offline, locally, and never send any data anywhere. they are explicitly marked as such whenever applicable. + +
+
+ +### saving +when using saving functionality, in some cases cobalt will encrypt & temporarily store information needed for tunneling. it's stored in processing server's RAM for 90 seconds and irreversibly purged afterwards. no one has access to it, even instance owners, as long as they don't modify the official cobalt image. + +processed/tunneled files are never cached anywhere. everything is tunneled live. cobalt's saving functionality is essentially a fancy proxy service. + +
+
+ +### encryption +temporarily stored tunnel data is encrypted using the AES-256 standard. decryption keys are only included in the access link and never logged/cached/stored anywhere. only the end user has access to the link & encryption keys. keys are generated uniquely for each requested tunnel. + +
+ +{#if env.PLAUSIBLE_ENABLED} +
+ +### anonymous traffic analytics +for sake of privacy, we use [plausible's anonymous traffic analytics](https://plausible.io/) to get an approximate number of active cobalt users. no identifiable information about you or your requests is ever stored. all data is anonymized and aggregated. the plausible instance we use is hosted & managed by us. + +plausible doesn't use cookies and is fully compliant with GDPR, CCPA, and PECR. + +[learn more about plausible's dedication to privacy.](https://plausible.io/privacy-focused-web-analytics) + +if you wish to opt out of anonymous analytics, you can do it in privacy settings. + +
+ +{/if} + +
+ +### web privacy & security +we use cloudflare services for ddos & bot protection. we also use cloudflare pages for deploying & hosting the static web app. all of these are required to provide the best experience for everyone. it's the most private & reliable provider that we know of. + +cloudflare is fully compliant with GDPR and HIPAA. + +[learn more about cloudflare's dedication to privacy.](https://www.cloudflare.com/trust-hub/privacy-and-data-protection/) + +
diff --git a/web/i18n/en/about/terms.md b/web/i18n/en/about/terms.md new file mode 100644 index 00000000..1c82124c --- /dev/null +++ b/web/i18n/en/about/terms.md @@ -0,0 +1,32 @@ +
+ +### general terms +these terms are applicable only when using the official cobalt instance. in other cases, you may need to contact the hoster for accurate info. + +
+ +
+ +### saving +saving functionality simplifies downloading content from the internet and takes zero liability for what the saved content is used for. processing servers work like advanced proxies and don't ever write any content to disk. everything is handled in RAM and permanently purged once the tunnel is done. we have no downloading logs and can't identify anyone. + +[you can read more about how tunnels work in our privacy policy.](/about/privacy) + +
+ +
+ +### responsibilities +you (end user) are responsible for what you do with our tools, how you use and distribute resulting content. please be mindful when using content of others and always credit original creators. make sure you don't violate any terms or licenses. + +when used in educational purposes, always cite sources and credit original creators. + +fair use and credits benefit everyone. + +
+
+ +### reporting abuse +we have no way of detecting abusive behavior automatically, as cobalt is 100% anonymous. however, you can report such activities to us and we will do our best to comply manually: [safety@imput.net](mailto:safety@imput.net) + +
diff --git a/web/src/components/misc/AboutPageWrapper.svelte b/web/src/components/misc/AboutPageWrapper.svelte new file mode 100644 index 00000000..eb46647b --- /dev/null +++ b/web/src/components/misc/AboutPageWrapper.svelte @@ -0,0 +1,9 @@ + + + +
+ +
diff --git a/web/src/routes/about/[page]/+page.svelte b/web/src/routes/about/[page]/+page.svelte new file mode 100644 index 00000000..01b94fe0 --- /dev/null +++ b/web/src/routes/about/[page]/+page.svelte @@ -0,0 +1,10 @@ + + +{#await component then component} + +{/await} diff --git a/web/src/routes/about/credits/+page.svelte b/web/src/routes/about/credits/+page.svelte deleted file mode 100644 index a9148275..00000000 --- a/web/src/routes/about/credits/+page.svelte +++ /dev/null @@ -1,41 +0,0 @@ - - -
-
-

meowbalt

-

- meowbalt is cobalt's speedy mascot. he is an extremely expressive cat that loves fast internet. -

-

- all amazing drawings of meowbalt that you see in cobalt were made by - GlitchyPSI. - he is also the original designer of the character. -

-

- you cannot use or modify GlitchyPSI's artworks of meowbalt without his explicit permission. -

-

- you cannot use or modify the meowbalt character design commercially or in any form that isn't fan art. -

-
-
-

cobalt licenses

-

- cobalt processing server is open source and licensed under AGPL-3.0. -

-

- cobalt frontend is - source first - and licensed under - CC-BY-NC-SA 4.0. - we decided to use this license to stop grifters from profiting off our work & from creating malicious clones that deceive people and hurt our public identity. -

-

- we rely on many open source libraries, create & distribute our own. - you can see the full list of dependencies on github. -

-
-
diff --git a/web/src/routes/about/general/+page.svelte b/web/src/routes/about/general/+page.svelte deleted file mode 100644 index a7ecacdf..00000000 --- a/web/src/routes/about/general/+page.svelte +++ /dev/null @@ -1,87 +0,0 @@ - - -
-
-

best way to save what you love

-

- cobalt lets you save anything from your favorite websites: video, audio, photos or gifs — cobalt can do it all! -

-

- no ads, trackers, or paywalls, no nonsense. just a convenient web app that works everywhere. -

-
- -
-

leading privacy

-

- all requests to backend are anonymous and all tunnels are encrypted. - we have a strict zero log policy and don't track anything about individual people. -

-

- to avoid caching or storing downloaded files, cobalt processes them on-fly, sending processed pieces directly to client. - this technology is used when your request needs additional processing, such as when source service stores video & audio in separate files. -

-

- for even higher level of protection, you can ask cobalt to always tunnel everything. - when enabled, cobalt will proxy everything through itself. no one will know what you download, even your network provider/admin. - all they'll see is that you're using cobalt. -

-
- -
-

blazing speed

-

- since we don't rely on any existing downloaders and develop our own from ground up, - cobalt is extremely efficient and a processing server can run on basically any hardware. -

-

- main processing instances are hosted on several dedicated servers in several countries, - to reduce latency and distribute the traffic. -

-

- we constantly improve our infrastructure along with our long-standing partner, - royalehosting.net! - you're in good hands, and will get what you need within seconds. -

-
- -
-

open community

-

- cobalt is used by countless artists, educators, and content creators to do what they love. - we're always on the line with our community and work together to create even more useful tools for them. - feel free to join the conversation! -

-

- we believe that the future of the internet is open, - which is why cobalt is - - source first - - and - - easily self-hostable. - - - you can check the source code & contribute to cobalt - at any time, we welcome all contributions and suggestions. -

-

- you can use any processing instances hosted by the community, including your own. - if your friend hosts one, just ask them for a domain and add it in instance settings. -

-
- -
-

on-device processing

-

- new features, such as remuxing, work on-device. - on-device processing is efficient and never sends anything over the internet. - it perfectly aligns with our future goal of moving as much processing as possible to client. -

-
-
diff --git a/web/src/routes/about/privacy/+page.svelte b/web/src/routes/about/privacy/+page.svelte deleted file mode 100644 index 28bdba59..00000000 --- a/web/src/routes/about/privacy/+page.svelte +++ /dev/null @@ -1,81 +0,0 @@ - - -
-
-

general terms

-

- cobalt's privacy policy is simple: we don't collect or store anything about you. what you do is solely your business, not ours or anyone else's. -

-

- these terms are applicable only when using the official cobalt instance. in other cases, you may need to contact the hoster for accurate info. -

-
- -
-

on-device processing

-

- tools that use on-device processing work offline, locally, and never send any data anywhere. they are explicitly marked as such whenever applicable. -

-
- -
-

saving

-

- when using saving functionality, in some cases cobalt will encrypt & temporarily store information needed for tunneling. it's stored in processing server's RAM for 90 seconds and irreversibly purged afterwards. no one has access to it, even instance owners, as long as they don't modify the official cobalt image. -

-

- processed/tunneled files are never cached anywhere. everything is tunneled live. cobalt's saving functionality is essentially a fancy proxy service. -

-
- -
-

encryption

-

- temporarily stored tunnel data is encrypted using the AES-256 standard. decryption keys are only included in the access link and never logged/cached/stored anywhere. only the end user has access to the link & encryption keys. keys are generated uniquely for each requested tunnel. -

-
- - {#if env.PLAUSIBLE_ENABLED} -
-

anonymous traffic analytics

-

- for sake of privacy, we use - plausible's anonymous traffic analytics - to get an approximate number of active cobalt users. no identifiable information about you or your requests is ever stored. all data is anonymized and aggregated. the plausible instance we use is hosted & managed by us. -

- -

- plausible doesn't use cookies and is fully compliant with GDPR, CCPA, and PECR. -

- -

- - {$t("settings.privacy.analytics.learnmore")} - -

- -

- if you wish to opt out of anonymous analytics, you can do it in privacy settings. -

-
- {/if} - -
-

web privacy & security

-

- we use cloudflare services for ddos & bot protection. we also use cloudflare pages for deploying & hosting the static web app. all of these are required to provide the best experience for everyone. it's the most private & reliable provider that we know of. -

-

- cloudflare is fully compliant with GDPR and HIPAA. -

-

- - learn more about cloudflare's dedication to privacy. - -

-
-
diff --git a/web/src/routes/about/terms/+page.svelte b/web/src/routes/about/terms/+page.svelte deleted file mode 100644 index 016e4539..00000000 --- a/web/src/routes/about/terms/+page.svelte +++ /dev/null @@ -1,37 +0,0 @@ -
-
-
-

general terms

-

- these terms are applicable only when using the official cobalt instance. in other cases, you may need to contact the hoster for accurate info. -

-
-

saving

-

- saving functionality simplifies downloading content from the internet and takes zero liability for what the saved content is used for. processing servers work like advanced proxies and don't ever write any content to disk. everything is handled in RAM and permanently purged once the tunnel is done. we have no downloading logs and can't identify anyone. -

-

- you can read more about how tunnels work in our privacy policy. -

-
- -
-

responsibilities

-

- you (end user) are responsible for what you do with our tools, how you use and distribute resulting content. please be mindful when using content of others and always credit original creators. make sure you don't violate any terms or licenses. -

-

- when used in educational purposes, always cite sources and credit original creators. -

-

- fair use and credits benefit everyone. -

-
- -
-

reporting abuse

-

- we have no way of detecting abusive behavior automatically, as cobalt is 100% anonymous. however, you can report such activities to us and we will do our best to comply manually: safety@imput.net -

-
-
diff --git a/web/svelte.config.js b/web/svelte.config.js index b86956ed..52263871 100644 --- a/web/svelte.config.js +++ b/web/svelte.config.js @@ -24,10 +24,16 @@ const config = { sveltePreprocess(), mdsvex({ extensions: ['.md'], - layout: join( - dirname(fileURLToPath(import.meta.url)), - '/src/components/changelog/ChangelogEntryWrapper.svelte' - ) + layout: { + about: join( + dirname(fileURLToPath(import.meta.url)), + '/src/components/misc/AboutPageWrapper.svelte' + ), + changelogs: join( + dirname(fileURLToPath(import.meta.url)), + '/src/components/changelog/ChangelogEntryWrapper.svelte' + ) + } }) ], kit: {