Skip to content

The swiss army knife of lossless video/audio editing

Docs and website: review fixes for the FAQ, Getting started and homepage changes

Claude7e899582013a
diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml
index e7420204..28e4de36 100644
--- a/.github/workflows/website.yml
+++ b/.github/workflows/website.yml
@@ -36,5 +36,5 @@ jobs:
# also fails on links in the docs that point to a missing page or heading
- run: yarn build
env:
- # for the homepage's GitHub star count (website/src/githubStars.ts), so it isn't rate limited
+ # for the homepage's GitHub star count and latest version (website/src/githubStars.ts, latestRelease.ts), so they aren't rate limited
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/docs/faq.md b/docs/faq.md
index db11f531..d2634e11 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -6,13 +6,13 @@ Frequently asked questions. See also [πŸ€” Troubleshooting](troubleshooting.md)
### Is LosslessCut free? What's the difference between the app store and GitHub versions?
-LosslessCut is free and open source, and you can download it for free from [GitHub](https://github.com/mifi/lossless-cut/releases). The versions in the Mac App Store and Microsoft Store cost a little, which supports my work on LosslessCut. They're signed, so you don't get warnings when installing them, and they update automatically.
+LosslessCut is free and open source, and you can download it for free from [GitHub](https://github.com/mifi/lossless-cut/releases). The versions in the Mac App Store and Microsoft Store cost a little, which supports my work on LosslessCut. They update automatically, and on Windows they're signed, so you don't get warnings when installing them.
-The app store versions are often a few versions behind the latest GitHub version, because I want to be sure that a new version works well before releasing it there. Consider the newest GitHub versions a public "beta". The app store and GitHub versions have the same features, except for a few platform limitations: Apple doesn't allow app store apps to open VOB files, and Mac App Store apps run in a sandbox, so they need to ask for an output folder before they can write files.
+The app store versions are often a few versions behind the latest GitHub version, because I want to be sure that a new version works well before releasing it there. The GitHub versions contain new, untested features and may contain some bugs (even in existing functionality): I consider the newest GitHub versions to be a public "beta". The app store and GitHub versions have the same features, except for a few platform limitations: Apple doesn't allow app store apps to open VOB files, and Mac App Store apps run in a sandbox, so they need to ask for an output folder before they can write files.
### Is LosslessCut safe?
-Yes, if you get it from an [official source](#can-i-download-losslesscut-from-other-websites-or-package-managers). LosslessCut is open source, so anyone can read its code, and the GitHub releases are built from that code by GitHub Actions. The app store versions are also reviewed by Apple and Microsoft. The Windows version on GitHub isn't code signed, so Windows and antivirus software may warn about it. LosslessCut has no ads or tracking, see the [privacy policy](https://losslesscut.app/privacy-policy).
+Yes, if you get it from an [official source](#can-i-download-losslesscut-from-other-websites-or-package-managers). LosslessCut is open source, so anyone can read its code, and the GitHub releases are built from that code by GitHub Actions. The Windows version on GitHub isn't code signed, so Windows and antivirus software may warn about it. LosslessCut has no ads or tracking, see the [privacy policy](https://losslesscut.app/privacy-policy).
### Can I download LosslessCut from other websites or package managers?
@@ -20,7 +20,7 @@ Only the [official sources](../README.md#download) (losslesscut.app, GitHub and
### Which operating systems does it run on?
-Windows 10 and 11, macOS 12 or newer, and Linux (x64 and arm64). See [Supported OS versions](requirements.md).
+Windows, macOS and Linux. See [Supported OS versions](requirements.md) for which versions.
### How do I update LosslessCut?
@@ -28,7 +28,7 @@ The app store versions update automatically. The GitHub version checks for new v
### How does LosslessCut compare to other video editors?
-LosslessCut only does what it can without re-encoding, which makes it very fast and keeps the original quality. Video editors like DaVinci Resolve, Premiere or Shotcut, and converters like HandBrake, re-encode the video, which is slow and loses some quality each time, but they can do much more, like effects, transitions or making the file smaller. See [Commonly requested features](#commonly-requested-features) and the [primer on codecs and formats](index.md#primer-videoaudio-codecs-vs-formats).
+LosslessCut is built around cutting without re-encoding, which makes it very fast and keeps the original quality. Video editors like DaVinci Resolve, Premiere or Shotcut, and converters like HandBrake, re-encode the video, which is slow and loses some quality each time, but they can do much more, like effects, transitions or making the file smaller. See [Commonly requested features](#commonly-requested-features) and the [primer on codecs and formats](index.md#primer-videoaudio-codecs-vs-formats).
### Is LosslessCut a portable app? Where are settings and temporary files stored?
diff --git a/docs/getting-started.md b/docs/getting-started.md
index 12b3f297..c096d2ea 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -2,7 +2,7 @@
## Download and install
-Get LosslessCut from the [Mac App Store, Microsoft Store or Snap Store](https://losslesscut.app/#download), which install and update it automatically, or download it from [GitHub](../README.md#download). The GitHub version has no installer: see [Installation and files](installation.md). LosslessCut runs on Windows 10 and 11, macOS 12 or newer and Linux, see [Supported OS versions](requirements.md).
+Get LosslessCut from the [Mac App Store, Microsoft Store or Snap Store](https://losslesscut.app/#download), which install and update it automatically, or download it from [GitHub](../README.md#download). The GitHub version has no installer: see [Installation and files](installation.md). It runs on Windows, macOS and Linux, see [Supported OS versions](requirements.md).
## Your first cut
diff --git a/docs/index.md b/docs/index.md
index ce3d1826..834985d4 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -10,7 +10,7 @@ See the [❓ FAQ](faq.md), for example [is LosslessCut free?](faq.md#is-lossless
If you have a problem with the app or with a file, please see the [πŸ€” Troubleshooting, known issues and limitations](troubleshooting.md).
-## Usage
+## Usage: Typical workflow
New to LosslessCut? See [πŸš€ Getting started](getting-started.md) for a typical workflow.
diff --git a/docs/requirements.md b/docs/requirements.md
index c70981b1..6444c702 100644
--- a/docs/requirements.md
+++ b/docs/requirements.md
@@ -1,5 +1,7 @@
# Supported OS versions
+The current version runs on Windows 10 and 11 (x64), macOS 12 or newer (Intel and Apple Silicon), and Linux (x64, arm64, and armv7l without FFmpeg).
+
LosslessCut is based on Electron which routinely drops support for old OS versions, and therefore LosslessCut will also do so. [More info](https://github.com/mifi/lossless-cut/discussions/1476#discussioncomment-5012521). Note that older versions of LosslessCut still work on older operating systems.
- v3.66 [dropped support](https://www.electronjs.org/blog/electron-38-0#removed-macos-11-support) for MacOS 11.
diff --git a/website/README.md b/website/README.md
index 83d07589..4686ab5e 100644
--- a/website/README.md
+++ b/website/README.md
@@ -43,6 +43,6 @@ Build settings:
- Preview command (non-production branches): `npx wrangler preview`
- Branch control: production branch `master`, with builds for non-production branches enabled
- Build watch paths: include `website/*`, `docs/*`, `src/common/websiteUrls.ts`, `src/common/links.ts`, `src/renderer/src/icon.svg` and `*.svg` (the store badges in the repo root; `*` also matches subfolders, so this also covers other SVGs, which is harmless), so that app-only changes don't trigger a deploy
-- Variables (build): `GITHUB_TOKEN`, a fine-grained personal access token with read-only access to public repositories, so the homepage's star count (`src/githubStars.ts`) isn't rate limited. Optional: without it, the last known count may be shown
+- Variables (build): `GITHUB_TOKEN`, a fine-grained personal access token with read-only access to public repositories, so the homepage's star count (`src/githubStars.ts`) and latest version (`src/latestRelease.ts`) aren't rate limited. Optional: without it, the last known star count may be shown, and the version left out
The Worker itself (name, static assets in `dist/`, URL handling) is configured in `wrangler.jsonc`, the Node.js version in `.node-version`, and the Wrangler version used for deploys and previews (4.135.0 or later for previews) by `wrangler` in `package.json`.
diff --git a/website/src/components/DocsSocialIcons.astro b/website/src/components/DocsSocialIcons.astro
index df6863a8..3a9e2ccc 100644
--- a/website/src/components/DocsSocialIcons.astro
+++ b/website/src/components/DocsSocialIcons.astro
@@ -18,6 +18,12 @@ import Default from '@astrojs/starlight/components/SocialIcons.astro';
text-decoration: none;
white-space: nowrap;
}
+ /* the header is too narrow for it there: it would push the theme picker off the screen (below 50rem it's in the menu) */
+ @media (min-width: 50rem) and (max-width: 56rem) {
+ .docs-download {
+ display: none;
+ }
+ }
.docs-download:hover {
background-color: #166b75;
color: white;
diff --git a/website/src/components/Home.tsx b/website/src/components/Home.tsx
index cfc09a5d..7081ef8a 100644
--- a/website/src/components/Home.tsx
+++ b/website/src/components/Home.tsx
@@ -55,6 +55,9 @@ const usageScenarios = [
'Cut a file by its MP4/MKV chapters',
];
+// as in docs/requirements.md
+const supportedOs = 'Windows 10 and 11, macOS 12 or newer, Linux';
+
// A few from docs/faq.md, shortened
const faqs: { question: string, answer: ReactNode }[] = [
{
@@ -63,11 +66,11 @@ const faqs: { question: string, answer: ReactNode }[] = [
},
{
question: 'Is LosslessCut safe?',
- answer: <>Yes, if you get it from this website, GitHub or the app stores. It&apos;s open source, and it has no ads or tracking (see the <a href="/privacy-policy">privacy policy</a>). The app store versions are also reviewed by Apple and Microsoft.</>,
+ answer: <>Yes, if you get it from this website, GitHub or the app stores. It&apos;s open source, and it has no ads or tracking (see the <a href="/privacy-policy">privacy policy</a>).</>,
},
{
question: 'Which operating systems does it run on?',
- answer: <>Windows 10 and 11, macOS 12 or newer, and Linux (x64 and arm64). See <a href="/docs/requirements">supported OS versions</a>.</>,
+ answer: <>{supportedOs}. See <a href="/docs/requirements">supported OS versions</a>.</>,
},
];
@@ -293,7 +296,7 @@ export default function Home({ stars, release }: { stars: number, release: Relea
<ul className="download-facts">
{release && <li>Latest version {release.version} ({release.date.toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric', timeZone: 'UTC' })})</li>}
- <li><a href="/docs/requirements">Windows 10 and 11, macOS 12 or newer, Linux</a></li>
+ <li><a href="/docs/requirements">{supportedOs}</a></li>
<li><a href="/docs/faq#is-losslesscut-safe">Is it safe?</a></li>
</ul>
diff --git a/website/src/lib/docs.ts b/website/src/lib/docs.ts
index 47e27f37..f9c2a503 100644
--- a/website/src/lib/docs.ts
+++ b/website/src/lib/docs.ts
@@ -17,7 +17,8 @@ export const docsDir = path.join(repoDir, 'docs');
// Meta descriptions for pages whose first paragraph doesn't describe the page well.
const descriptionOverrides: Record<string, string> = {
- 'index.md': 'How to use LosslessCut: FAQ, typical workflow, segments, markers, tracks and importing/exporting projects in the lossless video and audio cutter.',
+ 'index.md': 'How LosslessCut works: codecs and formats, segments, markers, tracks and importing/exporting projects in the lossless video and audio cutter.',
+ 'faq.md': 'Answers to common questions about LosslessCut: free vs app store versions, safety, supported operating systems, updating, and features it doesn\'t have.',
};
/** Site URL of a doc, by its path relative to docs/: `cli.md` -> `/docs/cli`, `index.md` -> `/docs` */
diff --git a/website/src/pages/index.astro b/website/src/pages/index.astro
index 65dec503..0d9319eb 100644
--- a/website/src/pages/index.astro
+++ b/website/src/pages/index.astro
@@ -10,7 +10,7 @@ import '../styles/home.css';
const stars = await getGithubStars();
const release = await getLatestRelease();
-const title = 'LosslessCut – Free Lossless Video Cutter. Download for Windows, Mac & Linux';
+const title = 'LosslessCut – Free Lossless Video Cutter | Download';
const description = 'LosslessCut - Official downloads - free or paid version. Edit video, audio without quality loss. Cut, trim, merge on macOS, Windows and Linux.';
---
diff --git a/website/src/styles/home.css b/website/src/styles/home.css
index a1739ac6..f4a174a6 100644
--- a/website/src/styles/home.css
+++ b/website/src/styles/home.css
@@ -562,6 +562,9 @@ h2 {
margin-bottom: 0;
max-width: 800px;
}
+.faq-answer a {
+ color: inherit;
+}
.faq-answer {
max-width: 800px;
font-size: 85%;