Skip to content

Commit

Permalink
tiyo: add info to readme and remove some legacy extension refs
Browse files Browse the repository at this point in the history
  • Loading branch information
xgi committed Jan 17, 2024
1 parent 163bcd1 commit 6ffd21d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 36 deletions.
18 changes: 6 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,21 +62,15 @@ non-shared behavior.
**Storage**: Library data and settings are saved with `localStorage`. Thumbnails are stored in
the user-data path.

**Plugins/Extensions**: See the [houdoku-extensions](https://github.com/xgi/houdoku-extensions) repo. Dynamic loading is handled by [aki-plugin-manager](https://github.com/xgi/aki-plugin-manager).
**Plugins/Extensions**: See the [Tiyo](https://github.com/xgi/tiyo) repo. Dynamic loading is handled by [aki-plugin-manager](https://github.com/xgi/aki-plugin-manager).

## Extensions
## Content Sources

Houdoku does not host any material; it retrieves media from public websites
("content sources"). Support for content sources is provided through
various extensions which can be installed/updated from the Extensions tab
within the client. Houdoku is not affiliated with any content source.
Houdoku allows users to import manga from their filesystem (e.g. as zip files
or folders of images). To read manga from 3rd-party "content sources", the
Tiyo plugin can be installed from the Plugins tab in the client.

There are no "recommended extensions", but you should feel free to
try several and mix-and-match according to which ones work well for you.

If you would like to request support for a website or report an issue with
an existing extension, please go to the
[houdoku-extensions](https://github.com/xgi/houdoku-extensions) repo.
To learn about Tiyo or request a new content source, please go to https://github.com/xgi/tiyo

## License

Expand Down
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import {
queueState,
runningState,
} from './state/downloaderStates';
import { autoCheckForExtensionUpdatesState, autoCheckForUpdatesState } from './state/settingStates';
import { autoCheckForUpdatesState } from './state/settingStates';
import { ErrorBoundary } from './components/general/ErrorBoundary';
import library from './services/library';

Expand Down
15 changes: 0 additions & 15 deletions src/components/settings/GeneralSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { GeneralSetting } from '../../models/types';
import ipcChannels from '../../constants/ipcChannels.json';
import { createBackup, restoreBackup } from '../../util/backup';
import {
autoCheckForExtensionUpdatesState,
autoBackupState,
autoBackupCountState,
autoCheckForUpdatesState,
Expand All @@ -43,9 +42,6 @@ const GeneralSettings: React.FC<Props> = () => {
const [chapterLanguages, setChapterLanguages] = useRecoilState(chapterLanguagesState);
const [refreshOnStart, setRefreshOnStart] = useRecoilState(refreshOnStartState);
const [autoCheckForUpdates, setAutoCheckForUpdates] = useRecoilState(autoCheckForUpdatesState);
const [autoCheckForExtensionUpdates, setAutoCheckForExtensionUpdates] = useRecoilState(
autoCheckForExtensionUpdatesState
);
const [autoBackup, setAutoBackup] = useRecoilState(autoBackupState);
const [autoBackupCount, setAutoBackupCount] = useRecoilState(autoBackupCountState);
const [confirmRemoveSeries, setConfirmRemoveSeries] = useRecoilState(confirmRemoveSeriesState);
Expand All @@ -64,9 +60,6 @@ const GeneralSettings: React.FC<Props> = () => {
case GeneralSetting.AutoCheckForUpdates:
setAutoCheckForUpdates(value);
break;
case GeneralSetting.AutoCheckForExtensionUpdates:
setAutoCheckForExtensionUpdates(value);
break;
case GeneralSetting.ConfirmRemoveSeries:
setConfirmRemoveSeries(value);
break;
Expand Down Expand Up @@ -99,14 +92,6 @@ const GeneralSettings: React.FC<Props> = () => {
updateGeneralSetting(GeneralSetting.AutoCheckForUpdates, e.target.checked)
}
/>
<Checkbox
label="Check for extension updates automatically"
size="md"
checked={autoCheckForExtensionUpdates}
onChange={(e) =>
updateGeneralSetting(GeneralSetting.AutoCheckForExtensionUpdates, e.target.checked)
}
/>
</Stack>

<Text>Library</Text>
Expand Down
8 changes: 4 additions & 4 deletions src/features/library/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -407,16 +407,16 @@ export async function goToSeries(
undefined
) {
openConfirmModal({
title: 'Extension not found',
title: 'Content source not found',
centered: true,
children: (
<>
<Text>
The extension for this series is not loaded. To view the series, please reinstall the
extension. Or, you may remove the series from your library.
The content source for this series was not found. To view the series, please install
or update the Tiyo plugin. Or, you may remove the series from your library.
</Text>
<Text color="dimmed" mt="xs">
(extension: {series.extensionId})
(id: {series.extensionId})
</Text>
</>
),
Expand Down
3 changes: 0 additions & 3 deletions src/models/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ export enum GeneralSetting {
ChapterLanguages = 'ChapterLanguages',
RefreshOnStart = 'RefreshOnStart',
AutoCheckForUpdates = 'AutoCheckForUpdates',
AutoCheckForExtensionUpdates = 'AutoCheckForExtensionUpdates',
autoBackup = 'autoBackup',
autoBackupCount = 'autoBackupCount',
ConfirmRemoveSeries = 'ConfirmRemoveSeries',
Expand Down Expand Up @@ -191,7 +190,6 @@ export const SettingTypes = {
[GeneralSetting.ChapterLanguages]: SettingType.STRING_ARRAY,
[GeneralSetting.RefreshOnStart]: SettingType.BOOLEAN,
[GeneralSetting.AutoCheckForUpdates]: SettingType.BOOLEAN,
[GeneralSetting.AutoCheckForExtensionUpdates]: SettingType.BOOLEAN,
[GeneralSetting.autoBackup]: SettingType.BOOLEAN,
[GeneralSetting.autoBackupCount]: SettingType.NUMBER,
[GeneralSetting.ConfirmRemoveSeries]: SettingType.BOOLEAN,
Expand Down Expand Up @@ -245,7 +243,6 @@ export const DefaultSettings = {
[GeneralSetting.ChapterLanguages]: [],
[GeneralSetting.RefreshOnStart]: true,
[GeneralSetting.AutoCheckForUpdates]: true,
[GeneralSetting.AutoCheckForExtensionUpdates]: true,
[GeneralSetting.autoBackup]: false,
[GeneralSetting.autoBackupCount]: 10,
[GeneralSetting.ConfirmRemoveSeries]: true,
Expand Down
1 change: 0 additions & 1 deletion src/state/settingStates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ function atomFromSetting<T>(
export const chapterLanguagesState = atomFromSetting<LanguageKey[]>(GeneralSetting.ChapterLanguages);
export const autoCheckForUpdatesState = atomFromSetting<boolean>(GeneralSetting.AutoCheckForUpdates);
export const refreshOnStartState = atomFromSetting<boolean>(GeneralSetting.RefreshOnStart);
export const autoCheckForExtensionUpdatesState = atomFromSetting<boolean>(GeneralSetting.AutoCheckForExtensionUpdates);
export const autoBackupState = atomFromSetting<boolean>(GeneralSetting.autoBackup);
export const autoBackupCountState = atomFromSetting<number>(GeneralSetting.autoBackupCount);
export const confirmRemoveSeriesState = atomFromSetting<boolean>(GeneralSetting.ConfirmRemoveSeries);
Expand Down

0 comments on commit 6ffd21d

Please sign in to comment.