1
0
Fork
You've already forked LibRate
0
forked from mjh/LibRate
Libre media rating website for the fediverse
Go 64.9%
Svelte 16.9%
TypeScript 12.4%
Rust 1.9%
JavaScript 1.7%
Other 2.2%
2023年09月22日 07:17:38 +02:00
cfg No cgo dependency for thumbnailing, book addition, automated migrations, Docker fixes ( #32 ) 2023年09月21日 03:10:08 +00:00
controllers No cgo dependency for thumbnailing, book addition, automated migrations, Docker fixes ( #32 ) 2023年09月21日 03:10:08 +00:00
db Improved containers support ( #33 ) 2023年09月22日 05:10:42 +00:00
deps feat(db): add pguint initalization to main 2023年06月21日 23:01:24 +02:00
fe Improved containers support ( #33 ) 2023年09月22日 05:10:42 +00:00
internal No cgo dependency for thumbnailing, book addition, automated migrations, Docker fixes ( #32 ) 2023年09月21日 03:10:08 +00:00
middleware fix(auth): JWT verification 2023年09月13日 07:03:11 +02:00
models No cgo dependency for thumbnailing, book addition, automated migrations, Docker fixes ( #32 ) 2023年09月21日 03:10:08 +00:00
recommendation chore: remove broken federation 2023年05月31日 03:42:30 +02:00
routes Improved containers support ( #33 ) 2023年09月22日 05:10:42 +00:00
static feat: basic django noscript frontend templates 2023年09月13日 07:03:14 +02:00
tests No cgo dependency for thumbnailing, book addition, automated migrations, Docker fixes ( #32 ) 2023年09月21日 03:10:08 +00:00
views feat: basic django noscript frontend templates 2023年09月13日 07:03:14 +02:00
.dockerignore No cgo dependency for thumbnailing, book addition, automated migrations, Docker fixes ( #32 ) 2023年09月21日 03:10:08 +00:00
.gitignore refactor(fe): add global svelte aliases 2023年09月13日 07:03:13 +02:00
.gitmodules feat(db): add pguint submodule 2023年06月21日 22:30:27 +02:00
.golangci.yaml Film cards fixes (1st batch) ( #24 ) 2023年09月17日 19:54:29 +00:00
CONTRIBUTING.md docs(CONTRIBUTING): minor update 2023年09月22日 07:17:38 +02:00
docker-compose.yml fix merge conflict #33 2023年09月22日 07:10:16 +02:00
Dockerfile fix merge conflict #33 2023年09月22日 07:10:16 +02:00
example_config.yml Improved containers support ( #33 ) 2023年09月22日 05:10:42 +00:00
go.mod fix merge conflict #33 2023年09月22日 07:10:16 +02:00
go.sum Improved containers support ( #33 ) 2023年09月22日 05:10:42 +00:00
LICENSE chore: add license 2023年05月04日 02:07:07 +02:00
main.go Improved containers support ( #33 ) 2023年09月22日 05:10:42 +00:00
noscript.go No cgo dependency for thumbnailing, book addition, automated migrations, Docker fixes ( #32 ) 2023年09月21日 03:10:08 +00:00
README.md No cgo dependency for thumbnailing, book addition, automated migrations, Docker fixes ( #32 ) 2023年09月21日 03:10:08 +00:00

LibRate

This project aims to bring a website combining the functionality of such projects as Bookwyrm, RateYourMusic/Sonemic, IMDB and similar to the #fediverse.

This project is currently in early alpha stage, bugs are expected and PRs are very welcome.

The first public beta instance is expected to launch by the end of September 2023.

NOTE: we're using the term member to stress inclusivity and openness, as opposed to the term user which is controversial, because it was borrowed from the term drug dealers use to refer to their customers.

Roadmap:

Social features:

  • Basic registration support
  • Member cards with profile info
  • (WIP)Full member profile pages
  • Tagging and mentions
  • Advanced profile and UI customization
  • Groups
  • Direct messages (E2EE)
  • Group chats, more group-friendly design, like Lemmy or Kbin
  • (WIP) Member-generated content tagging and categorization
  • (WIP) Following
  • Sharing
  • (WIP) ActivityPub support, with selective federation

Media features

  • Album cards
  • Carousels showing random media
  • Relevant DB setup
  • Film and series cards
    • Trailers and stills support
  • Release notifications
    • Sending them as DMs to federated service accounts
  • Content filters
  • Book cards and pages
    • Bookwyrm federation
  • Anime and manga cards/pages
  • Games support
  • Customizable, shareable media collections and logging
  • (WIP) Convenient submission form, with decentralized deduplication and POW-based anti-spam (a bit similar to Bookwyrm)
  • Automated imports from 3rd party sources
  • DRM-free audio hosting and streaming, federation with Funkwhale
  • Artwork galleries for visual artists(?)

Reviews

  • Basic review form
  • [?] Backend logic for submission and fetching of reviews
  • (WIP) Review feed
  • Commenting and voting on reviews and media items
  • Importing from 3rd party sources

Recommendations

  • Prototype logic
  • Actual working implementation
    • Personalized feeds
    • Advanced algorithm powered by ML and graph-like database structure - already implemented

Other

  • Extended configurability
  • Signed builds and security mechanisms preventing federation with modified versions of LibRate
  • Admin panel
  • Events, federating with Mobilizon
  • Federated merch and works marketplace, possibly an alternative to Bandcamp
  • Mobile app (although the frontend is and will be mobile friendly, but also never at the expense of desktop experience. We'll also try to make it work with Fedilab, though the number of distinctive features may make it difficult)

Prerequisites:

  • pnpm, yarn or npm, for building the frontend
  • Python 3 for setting up the uint Postgres extension
  • working Postgres and Redis instances. You'll also need to install the development files package since LibRate uses Postgres extensions

Development prerequisites

To develop the recommendations feature, you'll need:

  • protoc and protoc-gen-go for generating code from the protocol buffers files.
  • Rust and Go toolchains

Building and installing

go mod tidy && \
cd fe && pnpm install \
&& pnpm run build && \
go run . -init 

For subsequent runs of course you shouldn't use the init flag.

Additionally, for now you'll also have to run each of the migrations in the db/migrations folder.

You can then test your instance at http://127.0.0.1:3000

Testing

In order to test the database code, you should create a librate_test database.

If you set the $CLEANUP_TEST_DB variable to 0, the test database will not be cleaned up by the deferred function in the database initialization unit test.

All images included in this repository are assumed to be fair use.

If you are the copyright holder of an image which you want to be removed, please contact the maintaner.