Live version: https://browsercp.tk
pnpm i
pnpm dev
Runs a development server on http://localhost:3000.
pnpm build
Builds the project into the build
folder.
pnpm preview
Runs the built project on http://localhost:3000.
/src/routes/_data/ --> The folder where the pastas are located.
All other directories should be in the SvelteKit docs.
"slug" is the link your pasta will be on ex: https://example.com/copypastas/example.
"title" should be self explanatory.
"name" is the pasta's title in capitals.
"published" is a boolean. If true the pasta will display otherwise it will stay unpublished and not accessible anywhere outside the source code.
"browser" is a boolean. If false the pasta card will display a tooltip that says "extra" to signify that it isn't a browser.
"icon" contains an icon id respective to your browser obtained from https://icon-sets.iconify.design/.
Adding a copypasta is really simple as of v3. On this revision we handle the pastas in markdown files and thus make it really easy for the average user to add one.
Make a .md file in the src/routes/_data/
directory (preferably with your browser's name as a name for the file).
Open the file in your text editor and add the following (see Pasta metadata)
---
slug: example
title: Example Browser
name: EXAMPLE BROWSER
published: true
browser: true
icon: icon-park-outline:h
for me its the <b name="insert">{name}</b>
---
<b name="insert">{name}</b>
You put this piece of html where you want the browser's name in capitals to be editable with the input GUI.
master
branch.This project is licensed under the MIT license.