chore(web): Update Github links/references and use git repo icon (#364)

Fixes #362

Reviewed-on: https://codeberg.org/munshkr/flok/pulls/364
Co-authored-by: Damián Silvani <munshkr@gmail.com>
Co-committed-by: Damián Silvani <munshkr@gmail.com>
This commit is contained in:
Damián Silvani 2025-10-24 14:06:15 +02:00 committed by Damián Silvani
parent 6cf31c27eb
commit 1d48c6f82b
9 changed files with 21 additions and 21 deletions

View file

@ -14,14 +14,14 @@ Web-based P2P collaborative editor for live coding music and graphics
- [Renardo](https://renardo.org/)
- [Mercury](#mercury)
- [Sardine](https://sardine.raphaelforment.fr)
- [SonicPi](https://sonic-pi.net/) (_not implemented yet_, see [#29](https://github.com/munshkr/flok/issues/29))
- [SonicPi](https://sonic-pi.net/) (_not implemented yet_, see [#29](https://codeberg.org/munshkr/flok/issues/29))
- ... any interpreter with a REPL (Python, Ruby, etc.)
- Web Plugins, for languages embedded in editor:
- [Hydra](https://github.com/ojack/hydra)
- [p5.js](https://p5js.org/)
- [Strudel](https://strudel.cc/)
- [Mercury Web](https://www.timohoogland.com/mercury-livecoding/)
- [VEDA.js](https://github.com/fand/vedajs) (_not implemented yet_, see [#82](https://github.com/munshkr/flok/pull/82))
- [VEDA.js](https://github.com/fand/vedajs) (_not implemented yet_, see [#82](https://codeberg.org/munshkr/flok/pulls/82))
## Usage
@ -505,7 +505,7 @@ the code.
## Contributing
Bug reports and pull requests are welcome on GitHub at the [issues
page](https://github.com/munshkr/flok). This project is intended to be a safe,
page](https://codeberg.org/munshkr/flok/issues). This project is intended to be a safe,
welcoming space for collaboration, and contributors are expected to adhere to
the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

11
package-lock.json generated
View file

@ -12371,12 +12371,13 @@
"optional": true
},
"node_modules/lucide-react": {
"version": "0.128.0",
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.128.0.tgz",
"integrity": "sha512-m7a6vJm7yX1c5RIad6Ff7BWNL1JQf1Nwz18/Qd1sH9KntRzmAFb+KHGSGcIYN1JdoWR2+Uquxv0aHzEb7rxS2Q==",
"version": "0.547.0",
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.547.0.tgz",
"integrity": "sha512-YLChGBWKq8ynr1UWP8WWRPhHhyuBAXfSBnHSgfoj51L//9TU3d0zvxpigf5C1IJ4vnEoTzthl5awPK55PiZhdA==",
"dev": true,
"license": "ISC",
"peerDependencies": {
"react": "^16.5.1 || ^17.0.0 || ^18.0.0"
"react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
"node_modules/magic-string": {
@ -19701,7 +19702,7 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"hydra-synth": "^1.4.0",
"lucide-react": "^0.128.0",
"lucide-react": "^0.547.0",
"mercury-engine": "^1.3.1",
"p5": "^2.0.5",
"postcss": "^8.4.21",

View file

@ -4,7 +4,7 @@
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/munshkr/flok.git"
"url": "git+https://codeberg.org/munshkr/flok.git"
},
"scripts": {
"build": "lerna run build",
@ -22,9 +22,9 @@
"author": "Damián Silvani <munshkr@gmail.com>",
"license": "GPL-3.0+",
"bugs": {
"url": "https://github.com/munshkr/flok/issues"
"url": "https://codeberg.org/munshkr/flok/issues"
},
"homepage": "https://github.com/munshkr/flok#readme",
"homepage": "https://codeberg.org/munshkr/flok#readme",
"devDependencies": {
"lerna": "^6.5.1"
},

View file

@ -46,8 +46,7 @@ class TidalREPL extends CommandREPL {
} catch (err) {
debug(`Failed to get tidal data dir`);
debug(
`You will need to specify the location of your TidalCycles bootloading script.\n` +
`Read more: https://github.com/munshkr/flok/wiki/Failed-to-get-tidal-data-dir`,
`You will need to specify the location of your TidalCycles bootloading script.`,
);
throw err;
}

View file

@ -61,13 +61,13 @@
"@strudel/core": "^1.2.4",
"@strudel/midi": "^1.2.5",
"@strudel/mini": "^1.2.4",
"@strudel/mondo": "^1.1.4",
"@strudel/osc": "^1.2.10",
"@strudel/serial": "^1.2.4",
"@strudel/soundfonts": "^1.2.5",
"@strudel/tonal": "^1.2.4",
"@strudel/transpiler": "^1.2.4",
"@strudel/webaudio": "^1.2.5",
"@strudel/mondo": "^1.1.4",
"@types/express": "^4.17.21",
"@types/p5": "^1.7.6",
"@types/react": "^18.2.43",
@ -87,7 +87,7 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"hydra-synth": "^1.4.0",
"lucide-react": "^0.128.0",
"lucide-react": "^0.547.0",
"mercury-engine": "^1.3.1",
"p5": "^2.0.5",
"postcss": "^8.4.21",

View file

@ -1,6 +1,6 @@
import { Laptop, Moon, SunMedium, type Icon as LucideIcon } from "lucide-react";
export type Icon = LucideIcon;
export type Icon = typeof LucideIcon;
export const Icons = {
sun: SunMedium,

View file

@ -64,7 +64,7 @@ export function ReplsInfo({
<p className="text-sm text-slate-500 dark:text-slate-400">
For more information, read{" "}
<Link
to="https://github.com/munshkr/flok#connect-repls-to-flok"
to="https://codeberg.org/munshkr/flok#connect-repls-to-flok"
reloadDocument
target="_blank"
>

View file

@ -21,7 +21,7 @@ import {
Edit2,
FileDigit,
FilePlus,
Github,
FolderGit2,
Minus,
Monitor,
Palette,
@ -257,8 +257,8 @@ export default function SessionCommandDialog({
</Link>
<Link to={repoUrl} reloadDocument target="_blank">
<CommandItem>
<Github className="mr-2 h-4 w-4" />
<span>Go to GitHub</span>
<FolderGit2 className="mr-2 h-4 w-4" />
<span>Go to Repository</span>
</CommandItem>
</Link>
</CommandGroup>

View file

@ -38,7 +38,7 @@ export function WelcomeDialog({
Read more{" "}
<a
className="text-gray-300 font-bold"
href="https://github.com/munshkr/flok"
href="https://codeberg.org/munshkr/flok"
target="_blank"
>
here