Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Apr 12, 2023
1 parent bb2e870 commit a28ac40
Show file tree
Hide file tree
Showing 17 changed files with 284 additions and 170 deletions.
File renamed without changes.
339 changes: 204 additions & 135 deletions package-lock.json

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"private": true,
"type": "module",
"engines": {
"node": ">=14.16"
},
Expand All @@ -12,20 +13,20 @@
},
"devDependencies": {
"@astrojs/image": "^0.16.1",
"@astrojs/rss": "^2.3.0",
"@astrojs/rss": "^2.3.1",
"@astrojs/sitemap": "^1.2.1",
"@astrojs/tailwind": "^3.1.1",
"@astrolib/seo": "^0.3.0",
"@tailwindcss/forms": "^0.5.3",
"@tailwindcss/typography": "^0.5.9",
"@typescript-eslint/parser": "^5.55.0",
"astro": "^2.1.3",
"@typescript-eslint/parser": "^5.57.0",
"astro": "^2.1.8",
"astro-iconify": "^1.2.0",
"eslint-plugin-astro": "^0.24.0",
"eslint-plugin-astro": "^0.26.1",
"limax": "^v3.0.0",
"reading-time": "^1.5.0",
"remark-custom-heading-id": "^1.0.0",
"tailwindcss": "^3.2.7",
"tailwindcss": "^3.3.0",
"typescript": "^4.9.5",
"xo": "^0.53.1"
},
Expand Down
14 changes: 14 additions & 0 deletions public/apps/quickgpt/appcast.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" standalone="yes"?>
<rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" version="2.0">
<channel>
<title>QuickGPT</title>
<item>
<title>1.0.0</title>
<pubDate>Wed, 12 Apr 2023 01:35:34 +0800</pubDate>
<sparkle:version>1</sparkle:version>
<sparkle:shortVersionString>1.0.0</sparkle:shortVersionString>
<sparkle:minimumSystemVersion>13.3</sparkle:minimumSystemVersion>
<enclosure url="https://files.gumroad.com/attachments/5119799167221/812a86707ec14a658df66850876576f2/original/QuickGPT.app.zip?response-content-disposition=attachment&amp;cache_key=bdc2&amp;verify=1681276331-6NqlQAioCyxIfLCAN5XtT0PFJHJdFlea16wQp3UkroI%3D" length="4680190" type="application/octet-stream" sparkle:edSignature="zSzy0B4fZZP0TNT9DR5XHdcDeJs8yq8sJQBot/31YOvJ5vn6cXT1l+ljU0IwCD2BKyzJ6B4YinnSkuTJxPoFCA=="/>
</item>
</channel>
</rss>
Binary file added public/apps/quickgpt/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/apps/quickgpt/screenshot1.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion source/components/widgets/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ html {
}
</style>

<header class="sticky top-0 z-40 flex-none mx-auto w-full bg-white md:bg-white/90 dark:bg-slate-900 dark:md:bg-slate-900/90 md:backdrop-blur-sm border-b dark:border-b-0">
<header class="sticky top-0 z-40 flex-none mx-auto w-full bg-white md:bg-white/90 dark:bg-slate-950 dark:md:bg-slate-950/90 md:backdrop-blur-sm border-b dark:border-b-0">
<div class="py-3 px-3 mx-auto w-full md:flex md:justify-between max-w-6xl md:px-4">
<div class="flex justify-between">
<a class="flex items-center" href="/">
Expand Down Expand Up @@ -47,6 +47,8 @@ html {
aria-label="RSS Feed"
class="text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-2.5 inline-flex items-center"
href="/rss.xml"
rel="noreferrer"
target="_blank"
>
<Icon name="tabler:rss" class="w-5 h-5"/>
</a>
Expand Down
2 changes: 1 addition & 1 deletion source/content/apps/aiko.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ Workaround for macOS:
4. Select “AAC” as output format and tap the convert button.
5. Save the converted file and open it with Aiko.

*I would also recommend sending feedack to Telegram that they should support M4A for voice notes.*
*I would also recommend sending feedback to Telegram that they should support M4A for voice notes.*

#### Is the app native?

Expand Down
8 changes: 6 additions & 2 deletions source/content/apps/dato.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Dato supports all the locales and languages that macOS supports for the menu bar

[MacStories review of Dato.](https://www.macstories.net/reviews/dato-review-calendar-events-and-time-zones-from-your-macs-menu-bar/)

Dato requires macOS 13.1 or later.
Dato requires macOS 13 or later.

#### Features

Expand Down Expand Up @@ -48,7 +48,7 @@ Dato requires macOS 13.1 or later.

### Trial

There's a fully functional trial available [here](https://dsc.cloud/sindresorhus/Dato-4.5.1-trial-1677138279.zip). The only limitation is that it will prompt you to buy Dato every 12 hours and it will not receive updates. If you decide to buy Dato on the App Store, all data and settings from the trial version will be preserved (they share the same storage).
There's a fully functional trial available [here](https://dsc.cloud/sindresorhus/Dato-4.5.3-trial-1680577654.zip). The only limitation is that it will prompt you to buy Dato every 12 hours and it will not receive updates. If you decide to buy Dato on the App Store, all data and settings from the trial version will be preserved (they share the same storage).

You can also [try it on Setapp](https://go.setapp.com/stp181?_target=https://setapp.com/apps/dato&utm_medium=vendor_program&utm_source=Sindre+Sorhus&utm_content=link) for 7 days for free.

Expand Down Expand Up @@ -448,6 +448,10 @@ Dato integrates with the Reminders app only. However, you can use the Shortcuts

The Shortcuts app does not yet support automation, so to have the shown todo stay in sync with Things, we need to use the [Shortery](https://apps.apple.com/us/app/shortery/id1594183810) app to run the shortcut. Choose the “Application” trigger type and make it trigger when Things becomes “Inactive”. Alternatively, place the shortcut in the menu bar and run it manually.

#### Can Dato support Focus Filters? {#focus-filters}

This is planned. However, it's unfortunately not possible until Apple fixes a certain bug with the feature. As a workaround, you could use the [Shortery](https://apps.apple.com/app/id1594183810) app to run a shortcut on focus changes that uses the “Set Fullscreen Notification State” shortcut action provided by Dato.

#### How can I export, import, sync, or back up the settings?

[See this guide.](https://github.com/sindresorhus/guides/blob/main/backup-app-settings.md)
Expand Down
8 changes: 2 additions & 6 deletions source/content/apps/one-thing.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ platforms:
appStoreId: 1604176982
---

---

**You may also like [my similar app](/any-text) for the iOS Lock Screen.**

---

This can be a useful tool to help you focus on a single task.

Some examples of what you could write:
Expand All @@ -35,6 +29,8 @@ However, what you use this space for is really up to you.
<br>

**You may also like [my similar app](/any-text) for the iOS Lock Screen.**

### Tips

- Press <kbd>return</kbd>/<kbd>esc</kbd> or click the menu bar item to close the edit window.
Expand Down
8 changes: 8 additions & 0 deletions source/content/apps/quickgpt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: QuickGPT
subtitle: Easy access to ChatGPT
pubDate: 2023-04-12
platforms:
- macOS
redirectUrl: https://sindresorhus.gumroad.com/l/quickgpt
---
16 changes: 15 additions & 1 deletion source/content/apps/speediness.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@ appStoreId: 1596706466

<br>

### Tips

#### Show the current internet speed in the menu bar {#menu-bar-output}

<img src="https://dsc.cloud/sindresorhus/Speediness-menu-bar-1680845399.png" alt="Speediness output in the menu bar" width="230">

You will need the [One Thing](https://sindresorhus.com/one-thing) and [Shortery](https://apps.apple.com/app/id1594183810) app.

Add [this shortcut](https://www.icloud.com/shortcuts/d073ad4fd89f4c9cb110795780ed2377) and then create a new time trigger in Shortery. I would recommend an interval higher than 10 minutes.

Tip: If you have limited space in the menu bar, you could switch the info shown in One Thing at an interval too. For example, you could show the internet speed for 10 minutes and then the weather for the next 10 minutes.

<br>

### Frequently Asked Questions {#faq}

#### I have a feature request, bug report, or some feedback
Expand Down Expand Up @@ -55,7 +69,7 @@ Open the Shortcuts app, create a new shortcut, and then drag the “Get Internet

#### How can I run the speed test automatically every hour? {#scheduled}

Open the Shortcuts app, create a new shortcut, and then drag the “Get Internet Speed” action into the shortcut editor. You may want to enable the “Add to History” action setting. [Get the Shortery app](https://apps.apple.com/no/app/shortery/id1594183810?mt=12) and set it to run this shortcut every hour or at an interval of your choosing. (The Shortery app is only needed this year. It's almost certain that Apple will introduce automation for Shortcuts in macOS 13)
Open the Shortcuts app, create a new shortcut, and then drag the “Get Internet Speed” action into the shortcut editor. You may want to enable the “Add to History” action setting. [Get the Shortery app](https://apps.apple.com/no/app/shortery/id1594183810?mt=12) and set it to run this shortcut every hour or at an interval of your choosing. (The Shortery app is only needed this year. It's almost certain that Apple will introduce automation for Shortcuts in macOS 14)

#### Can you add support for iOS? {#ios}

Expand Down
1 change: 1 addition & 0 deletions source/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const appsCollection = defineCollection({
isPaid: z.boolean().optional(),
links: z.record(z.string().url()).optional(),
showSupportLink: z.boolean().optional(),
redirectUrl: z.string().url().optional(),
}).strict(),
});

Expand Down
2 changes: 1 addition & 1 deletion source/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const {meta = {}} = Astro.props;
<head>
<MetaTags {...meta}/>
</head>
<body class="antialiased text-gray-900 dark:text-slate-300 tracking-tight bg-white dark:bg-slate-900">
<body class="antialiased text-gray-900 dark:text-slate-300 tracking-tight bg-white dark:bg-slate-950">
<slot/>
<BasicScripts/>
<style is:global>
Expand Down
3 changes: 2 additions & 1 deletion source/utils/apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ const normalizeApps = async app => {
...data,
pubDate,
slug: data.slug ?? slug,
url: `/${slug}`,
url: data.redirectUrl ?? `/${slug}`,
isRedirect: data.redirectUrl !== undefined,
iconUrl: `/apps/${slug}/icon.png`,
hasIOSAppIcon: (data.platforms.includes('iOS') || data.platforms.includes('watchOS')) && !data.platforms.includes('macOS'),
isNew: pubDate > date30DaysAgo,
Expand Down
17 changes: 0 additions & 17 deletions tailwind.config.cjs

This file was deleted.

21 changes: 21 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import colors from 'tailwindcss/colors.js';
import typography from '@tailwindcss/typography';
import forms from '@tailwindcss/forms';

const config = {
content: ['./source/**/*.{astro,html,js,jsx,md,svelte,ts,tsx,vue}'],
theme: {
extend: {
colors: {
primary: colors.blue,
secondary: colors.pink,
},
},
},
plugins: [
typography,
forms,
],
};

export default config;

0 comments on commit a28ac40

Please sign in to comment.