malley

Malley is a X-like social media platform.

https://github.com/afcms/malley

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.6%) to scientific vocabulary

Keywords

github-actions react studies supabase tailwindcss typescript vite vitest
Last synced: 4 months ago · JSON representation ·

Repository

Malley is a X-like social media platform.

Basic Info
  • Host: GitHub
  • Owner: AFCMS
  • License: gpl-3.0
  • Language: TypeScript
  • Default Branch: master
  • Homepage: https://malley.afcms.dev
  • Size: 3.26 MB
Statistics
  • Stars: 10
  • Watchers: 1
  • Forks: 1
  • Open Issues: 20
  • Releases: 0
Topics
github-actions react studies supabase tailwindcss typescript vite vitest
Created 11 months ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Citation

README.md

Malley

Malley is a X-like social media platform.

Tech Stack

Vite React React Router

TailwindCSS daisyUI

NodeJS TypeScript

Vercel Supabase GitHub Actions

Documentation

Prerequisites

[!NOTE] For Docker Desktop users, you need to enable Expose deamon on tcp://localhost:2375 without TLS in the Docker settings.

More informations here.

Run project

You can use the Supabase CLI (recommended) or you own cloud instance of Supabase for development.

```sh pnpm install

pnpm run supabase start ```

Populate the .env.local file with data from the supabase start output.

properties VITE_SUPABASE_URL="http://127.0.0.1:54321" VITE_SUPABASE_ANON_KEY="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" VITE_GOOGLE_SITE_VERIFICATION=""

```sh pnpm run dev

Afterwards you may want to stop the supabase containers

pnpm run supabase stop ```

Finally, start the edge functions

sh pnpm run supabase functions serve

Create Migrations

Database documentation is here.

Modify the database from Supabase Studio and export the DB diff to a file, then refine it (formating, comments, etc):

sh pnpm run --silent supabase db diff --schema public > my_file.sql

Create a new migration file in supabase/migrations and fill the given file with the content of the diff file:

sh pnpm run supabase migration new migration_name

Update the TypeScript definitions:

sh pnpm run --silent supabase gen types typescript --local > src/contexts/supabase/database.d.ts

Reset DB (or apply the migration if possible):

```sh pnpm run supabase db reset

or if your local edits can be reapplied without errors

pnpm run supabase migration up ```

Run tests

Vitest is used for tests. Use environment variables to determine test targets. Available targets are :

sh TEST_ALL=1 // run every test TEST_SUPABASE=1 // run supabase tests // DESTRUCTIVE

Note that some tests, like those of supabase, are destructive. To run these, confirm it is what you want to do by additionally setting DESTRUCTIVE_TARGET :

sh DESTRUCTIVE_ALL=1 DESTRUCTIVE_SUPABASE=1

Update Logo

The logo source file is an Inkscape SVG, which needs to be exported to a standard SVG file after modification.

```sh inkscape --export-type=svg --export-plain-svg --export-overwrite --export-filename=./public/favicon.svg ./src/logo.svg

or

flatpak run org.inkscape.Inkscape --export-type=svg --export-plain-svg --export-overwrite --export-filename=./public/favicon.svg ./src/logo.svg

then update derivated icons

pnpm run generate-pwa-assets ```


Made with ❤️ by:

Ecole Hexagone 🇫🇷 - Class of 2024/2025

Owner

  • Login: AFCMS
  • Kind: user
  • Location: France

👨‍🎓 16 years old french student

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: Malley
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - email: afcm.contact@gmail.com
    given-names: AFCMS
    orcid: "https://orcid.org/0009-0005-4161-6228"
  - given-names: AKArien0
    email: emilien.dessarps@gmail.com
  - given-names: Roceann
    email: raphael.malet2005@gmail.com
repository-code: "https://github.com/AFCMS/malley"
url: "https://malley.afcms.dev"
abstract: Malley is a X-like social media platform.
keywords:
  - Supabase
  - React
  - Vercel
  - TailwindCSS
  - Vite
  - GitHub
  - GitHub Actions
  - daisyUI
license: GPL-3.0-or-later

GitHub Events

Total
  • Create event: 106
  • Commit comment event: 12
  • Issues event: 61
  • Watch event: 11
  • Delete event: 99
  • Issue comment event: 209
  • Member event: 3
  • Push event: 279
  • Pull request review comment event: 33
  • Pull request review event: 44
  • Pull request event: 200
  • Fork event: 1
Last Year
  • Create event: 106
  • Commit comment event: 12
  • Issues event: 61
  • Watch event: 11
  • Delete event: 99
  • Issue comment event: 209
  • Member event: 3
  • Push event: 279
  • Pull request review comment event: 33
  • Pull request review event: 44
  • Pull request event: 200
  • Fork event: 1

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 40
  • Total pull requests: 182
  • Average time to close issues: 26 days
  • Average time to close pull requests: 4 days
  • Total issue authors: 3
  • Total pull request authors: 3
  • Average comments per issue: 0.48
  • Average comments per pull request: 1.58
  • Merged pull requests: 14
  • Bot issues: 0
  • Bot pull requests: 159
Past Year
  • Issues: 40
  • Pull requests: 182
  • Average time to close issues: 26 days
  • Average time to close pull requests: 4 days
  • Issue authors: 3
  • Pull request authors: 3
  • Average comments per issue: 0.48
  • Average comments per pull request: 1.58
  • Merged pull requests: 14
  • Bot issues: 0
  • Bot pull requests: 159
Top Authors
Issue Authors
  • AFCMS (34)
  • AKArien0 (5)
  • Roceann (1)
Pull Request Authors
  • dependabot[bot] (158)
  • AFCMS (16)
  • AKArien0 (7)
Top Labels
Issue Labels
enhancement (25) bug (7) documentation (6)
Pull Request Labels
dependencies (158) javascript (158) enhancement (8)

Dependencies

.github/workflows/ci.yml actions
  • actions/checkout v4 composite
  • actions/setup-node v4 composite
  • pnpm/action-setup v4 composite
package.json npm
  • @eslint/js ^9.19.0
  • @supabase/supabase-js ^2.48.1
  • @tailwindcss/vite ^4.0.1
  • @types/react ^19.0.8
  • @types/react-dom ^19.0.3
  • @vercel/analytics ^1.4.1
  • @vercel/speed-insights ^1.1.0
  • @vitejs/plugin-react-swc ^3.7.2
  • daisyui 5.0.0-beta.6
  • eslint ^9.19.0
  • eslint-plugin-react ^7.37.4
  • eslint-plugin-react-hooks ^5.1.0
  • eslint-plugin-react-refresh ^0.4.18
  • globals ^15.14.0
  • prettier ^3.4.2
  • prettier-plugin-tailwindcss ^0.6.11
  • react ^19.0.0
  • react-dom ^19.0.0
  • react-router ^7.1.4
  • supabase ^2.9.6
  • tailwindcss ^4.0.1
  • typescript ~5.7.3
  • typescript-eslint ^8.22.0
  • vite ^6.0.11
pnpm-lock.yaml npm
  • 116 dependencies