update links

This commit is contained in:
plebeius
2026-02-11 21:27:18 +08:00
parent df9278237a
commit 9c1879045d
10 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ Bitsocial communities can require users to solve one or more anti-spam challenge
### Build ### Build
The Linux/Windows/macOS/Android build scripts are in [.github/workflows/release.yml](https://github.com/plebbit/5chan/blob/master/.github/workflows/release.yml) The Linux/Windows/macOS/Android build scripts are in [.github/workflows/release.yml](https://github.com/bitsocialhq/5chan/blob/master/.github/workflows/release.yml)
## License ## License
+1 -1
View File
@@ -24,7 +24,7 @@ SCRIPT="
cd ~ cd ~
rm $FIVECHAN_HTML_NAME.zip rm $FIVECHAN_HTML_NAME.zip
rm -fr $FIVECHAN_HTML_NAME rm -fr $FIVECHAN_HTML_NAME
wget https://github.com/plebbit/5chan/releases/download/v$FIVECHAN_VERSION/$FIVECHAN_HTML_NAME.zip || exit wget https://github.com/bitsocialhq/5chan/releases/download/v$FIVECHAN_VERSION/$FIVECHAN_HTML_NAME.zip || exit
# extract html # extract html
unzip $FIVECHAN_HTML_NAME.zip || exit unzip $FIVECHAN_HTML_NAME.zip || exit
+1 -1
View File
@@ -49,7 +49,7 @@ if (remoteFiles.length) {
files = remoteFiles; files = remoteFiles;
} }
const linkTo = (file) => `https://github.com/plebbit/5chan/releases/download/v${version}/${file}`; const linkTo = (file) => `https://github.com/bitsocialhq/5chan/releases/download/v${version}/${file}`;
const has = (s, sub) => s.toLowerCase().includes(sub); const has = (s, sub) => s.toLowerCase().includes(sub);
const isArm = (s) => has(s, 'arm64') || has(s, 'aarch64'); const isArm = (s) => has(s, 'arm64') || has(s, 'aarch64');
const isX64 = (s) => has(s, 'x64') || has(s, 'x86_64') || !isArm(s); const isX64 = (s) => has(s, 'x64') || has(s, 'x86_64') || !isArm(s);
@@ -30,7 +30,7 @@ const CreateBoardModal = () => {
Seedit GUI client Seedit GUI client
</a>{' '} </a>{' '}
or{' '} or{' '}
<a href='https://github.com/plebbit/plebbit-cli' target='_blank' rel='noopener noreferrer'> <a href='https://github.com/bitsocialhq/bitsocial-cli' target='_blank' rel='noopener noreferrer'>
plebbit-cli plebbit-cli
</a> </a>
. <strong>Build a following:</strong> Users can subscribe to your board via the &quot;[Subscribe]&quot; button, which adds it to their top bar. You can gain . <strong>Build a following:</strong> Users can subscribe to your board via the &quot;[Subscribe]&quot; button, which adds it to their top bar. You can gain
@@ -42,7 +42,7 @@ const CreateBoardModal = () => {
<h3>Submitting to a Directory</h3> <h3>Submitting to a Directory</h3>
<p> <p>
Open a PR editing{' '} Open a PR editing{' '}
<a href='https://github.com/plebbit/lists/blob/master/5chan-directories.json' target='_blank' rel='noopener noreferrer'> <a href='https://github.com/bitsocialhq/lists/blob/master/5chan-directories.json' target='_blank' rel='noopener noreferrer'>
5chan-directories.json 5chan-directories.json
</a>{' '} </a>{' '}
with your board&apos;s title, address, and NSFW status. Devs will review and merge if approved. 99% uptime is required. with your board&apos;s title, address, and NSFW status. Devs will review and merge if approved. 99% uptime is required.
@@ -37,7 +37,7 @@ const DirectoryModal = () => {
Seedit GUI client Seedit GUI client
</a>{' '} </a>{' '}
or{' '} or{' '}
<a href='https://github.com/plebbit/plebbit-cli' target='_blank' rel='noopener noreferrer'> <a href='https://github.com/bitsocialhq/bitsocial-cli' target='_blank' rel='noopener noreferrer'>
plebbit-cli plebbit-cli
</a> </a>
. Users can access it anytime via the search bar, direct links, or by subscribing with the &quot;[Subscribe]&quot; button . Users can access it anytime via the search bar, direct links, or by subscribing with the &quot;[Subscribe]&quot; button
@@ -50,7 +50,7 @@ const DirectoryModal = () => {
<h3>Directory Submission</h3> <h3>Directory Submission</h3>
<p> <p>
To submit your board, open a PR editing{' '} To submit your board, open a PR editing{' '}
<a href='https://github.com/plebbit/lists/blob/master/5chan-directories.json' target='_blank' rel='noopener noreferrer'> <a href='https://github.com/bitsocialhq/lists/blob/master/5chan-directories.json' target='_blank' rel='noopener noreferrer'>
5chan-directories.json 5chan-directories.json
</a>{' '} </a>{' '}
with your board&apos;s title, address, and NSFW status. Requirements: 99% uptime (they&apos;re P2P nodes), active, well-moderated, and relevant to the with your board&apos;s title, address, and NSFW status. Requirements: 99% uptime (they&apos;re P2P nodes), active, well-moderated, and relevant to the
@@ -22,21 +22,21 @@ const CheckForUpdates = () => {
const checkForUpdates = async () => { const checkForUpdates = async () => {
try { try {
setLoading(true); setLoading(true);
const packageRes = await fetch('https://raw.githubusercontent.com/plebbit/5chan/master/package.json', { cache: 'no-cache' }); const packageRes = await fetch('https://raw.githubusercontent.com/bitsocialhq/5chan/master/package.json', { cache: 'no-cache' });
const packageData = await packageRes.json(); const packageData = await packageRes.json();
let updateAvailable = false; let updateAvailable = false;
if (packageJson.version !== packageData.version) { if (packageJson.version !== packageData.version) {
const newVersionText = t('new_stable_version', { newVersion: packageData.version, oldVersion: packageJson.version }); const newVersionText = t('new_stable_version', { newVersion: packageData.version, oldVersion: packageJson.version });
const updateActionText = isElectron const updateActionText = isElectron
? t('download_latest_desktop', { link: 'https://github.com/plebbit/5chan/releases/latest', interpolation: { escapeValue: false } }) ? t('download_latest_desktop', { link: 'https://github.com/bitsocialhq/5chan/releases/latest', interpolation: { escapeValue: false } })
: t('refresh_to_update'); : t('refresh_to_update');
alert(newVersionText + ' ' + updateActionText); alert(newVersionText + ' ' + updateActionText);
updateAvailable = true; updateAvailable = true;
} }
if (commitRef && commitRef.length > 0) { if (commitRef && commitRef.length > 0) {
const commitRes = await fetch('https://api.github.com/repos/plebbit/5chan/commits?per_page=1&sha=development', { cache: 'no-cache' }); const commitRes = await fetch('https://api.github.com/repos/bitsocialhq/5chan/commits?per_page=1&sha=development', { cache: 'no-cache' });
const commitData = await commitRes.json(); const commitData = await commitRes.json();
const latestCommitHash = commitData[0].sha; const latestCommitHash = commitData[0].sha;
+1 -1
View File
@@ -10,7 +10,7 @@ const Version = () => {
return ( return (
<> <>
<a <a
href={commitRef ? `https://github.com/plebbit/5chan/commit/${commitRef}` : `https://github.com/plebbit/5chan/releases/tag/v${version}`} href={commitRef ? `https://github.com/bitsocialhq/5chan/commit/${commitRef}` : `https://github.com/bitsocialhq/5chan/releases/tag/v${version}`}
target='_blank' target='_blank'
rel='noopener noreferrer' rel='noopener noreferrer'
> >
+1 -1
View File
@@ -28,7 +28,7 @@ export interface DirectoriesState {
error: Error | null; error: Error | null;
} }
const GITHUB_URL = 'https://raw.githubusercontent.com/plebbit/lists/master/5chan-directories.json'; const GITHUB_URL = 'https://raw.githubusercontent.com/bitsocialhq/lists/master/5chan-directories.json';
const LOCALSTORAGE_KEY = '5chan-directories-cache'; const LOCALSTORAGE_KEY = '5chan-directories-cache';
const LOCALSTORAGE_TIMESTAMP_KEY = '5chan-directories-cache-timestamp'; const LOCALSTORAGE_TIMESTAMP_KEY = '5chan-directories-cache-timestamp';
const CACHE_MAX_AGE_MS = 60 * 60 * 1000; // 1 hour const CACHE_MAX_AGE_MS = 60 * 60 * 1000; // 1 hour
+2 -2
View File
@@ -132,8 +132,8 @@ const FAQ = () => {
</dd> </dd>
<dt id='uploadimage'>Can I upload an image?</dt> <dt id='uploadimage'>Can I upload an image?</dt>
<dd> <dd>
Yes, but only in the Android app, which you can download on <a href='https://github.com/plebbit/5chan/releases/latest'>GitHub</a>. The app is able to Yes, but only in the Android app, which you can download on <a href='https://github.com/bitsocialhq/5chan/releases/latest'>GitHub</a>. The app is able
automatically upload media to image hosting services, like Imgur or catbox.moe, sharing your IP address with the image hosting service. This is not to automatically upload media to image hosting services, like Imgur or catbox.moe, sharing your IP address with the image hosting service. This is not
possible in the browser, which can't make backend requests. possible in the browser, which can't make backend requests.
<br /> <br />
<br /> <br />
+5 -5
View File
@@ -14,7 +14,7 @@ import DirectoryModal from '../../components/directory-modal';
import { getBoardPath } from '../../lib/utils/route-utils'; import { getBoardPath } from '../../lib/utils/route-utils';
import { lowerCase } from 'lodash'; import { lowerCase } from 'lodash';
// https://github.com/plebbit/lists/blob/master/5chan-directories.json // https://github.com/bitsocialhq/lists/blob/master/5chan-directories.json
const SearchBar = () => { const SearchBar = () => {
const searchInputRef = useRef<HTMLInputElement>(null); const searchInputRef = useRef<HTMLInputElement>(null);
@@ -126,7 +126,7 @@ export const Footer = () => {
<> <>
<ul className={styles.footer}> <ul className={styles.footer}>
<li> <li>
<a href='https://github.com/plebbit/5chan/blob/master/README.md' target='_blank' rel='noopener noreferrer'> <a href='https://github.com/bitsocialhq/5chan/blob/master/README.md' target='_blank' rel='noopener noreferrer'>
{t('about')} {t('about')}
</a> </a>
</li> </li>
@@ -147,7 +147,7 @@ export const Footer = () => {
</a> </a>
</li> </li>
<li> <li>
<a href='https://github.com/plebbit/5chan' target='_blank' rel='noopener noreferrer'> <a href='https://github.com/bitsocialhq/5chan' target='_blank' rel='noopener noreferrer'>
GitHub GitHub
</a> </a>
</li> </li>
@@ -165,11 +165,11 @@ export const Footer = () => {
<div className={styles.footerInfo}> <div className={styles.footerInfo}>
<br /> <br />
<Version /> {' '} <Version /> {' '}
<a href='https://github.com/plebbit/5chan/issues/new' target='_blank' rel='noopener noreferrer'> <a href='https://github.com/bitsocialhq/5chan/issues/new' target='_blank' rel='noopener noreferrer'>
Feedback Feedback
</a>{' '} </a>{' '}
{' '} {' '}
<a href='https://github.com/plebbit/5chan/graphs/contributors' target='_blank' rel='noopener noreferrer'> <a href='https://github.com/bitsocialhq/5chan/graphs/contributors' target='_blank' rel='noopener noreferrer'>
Contact Contact
</a> </a>
<br /> <br />