A clean frontend for Parasite - Built with Fresh.
Edit settings.ts
:
// General settings for the frontend go here.
export const caterpillarSettings = {
"siteName": "Parasite Instance",
"apiURL": "http://localhost:8080",
};
Make sure these match:
siteName
, andsitePort
in Parasite'ssettings.ts
.
Start the project:
deno task start
This will watch the project directory and restart as necessary.
All of these routes present in the default Parasite API work the same in Caterpillar:
/t/[id]
- Retrive torrent.
/u/[id]
- Retrive torrent.
/i/[id]
- Get list of tagged items
/s
- Search
/u/[id]/
- Get user profile
followers
- Accounts that follow userfollowing
- Accounts user is followinglikes
- User likesoutbox
- Posts by user
/login
- Login to an account
/register
- Register an account
/a/
- Admin routes
delete
- Delete postsfederate
- Pool/Block instancesroles
- Modify user roles
For uploading, updating, and some other methods, things get a little different:
upload/
torrent
- Upload Torrentlist
- Upload list
update/
t/[id]
- Update torrentl/[id]
- Update list
/logout
- Clear data of currently logged in user
That is all. Settings can be modified in settings.ts
.
0BSD