A nimble Mastodon web client
 
 
 
 
 
Go to file
Sebastian Di Luzio f4b0be8aed
feat: make new users signup notifications link to their profile (#2406)
2023-09-20 06:52:05 +00:00
.github ci: add `merge_group` event for merge queue 2023-08-02 12:13:23 +02:00
.stackblitz
.vscode chore(i18n): `en` as source language (#1597) 2023-02-18 12:21:09 +01:00
components feat: make new users signup notifications link to their profile (#2406) 2023-09-20 06:52:05 +00:00
composables feat: filter notifications by type (#2371) 2023-09-06 09:13:16 +00:00
config feat(i18n): Add Hungarian translation (hu-HU) (#2373) 2023-09-15 21:25:34 +00:00
constants feat: filter notifications by type (#2371) 2023-09-06 09:13:16 +00:00
docs chore(deps): update devdependencies (#2310) 2023-09-05 12:55:03 +00:00
https-dev-config
images
layouts feat: search back to the right (#2071) 2023-05-06 17:49:15 +02:00
locales feat(i18n): Add Hungarian translation (hu-HU) (#2373) 2023-09-15 21:25:34 +00:00
middleware fix: installed pwa shortcuts (#2205) 2023-07-07 11:56:06 +01:00
mocks perf: tree-shake dependencies from server (#1647) 2023-02-06 10:34:50 +01:00
modules refactor: upgrade vue-macros 2023-08-08 02:32:35 +08:00
pages feat: unify the format of locale keys (#2380) 2023-09-06 12:51:01 +00:00
patches chore: fix pwa type 2023-07-04 13:32:22 +08:00
plugins fix: don't redirect to generated path 2023-07-06 21:19:01 +01:00
public chore: add generate pwa icons script (#2130) 2023-05-29 16:52:27 +02:00
public-dev chore: add generate pwa icons script (#2130) 2023-05-29 16:52:27 +02:00
public-staging chore: add generate pwa icons script (#2130) 2023-05-29 16:52:27 +02:00
scripts chore(deps): update lint (#2233) 2023-08-02 10:28:18 +00:00
server chore(deps): update devdependencies (#2163) 2023-07-03 01:11:13 +08:00
service-worker chore(deps): update lint (#2233) 2023-08-02 10:28:18 +00:00
styles fix: improve default font family (#2314) 2023-08-09 11:46:26 +00:00
tests chore(deps): update dependency prettier to v3 (#2257) 2023-08-02 10:37:43 +00:00
types feat: poll creation (#2111) 2023-05-20 21:23:41 +02:00
utils feat(i18n): `ca-valencia` language detection in Edge browser (#1828) 2023-02-28 22:36:05 +01:00
.dockerignore
.env.example refactor: move single instance config to runtime (#1664) 2023-02-07 04:10:43 -08:00
.env.mock
.eslintignore chore: add generate pwa icons script (#2130) 2023-05-29 16:52:27 +02:00
.eslintrc chore(deps): update lint (#2233) 2023-08-02 10:28:18 +00:00
.gitignore feat: add translation status to language settings (#1717) 2023-02-11 21:42:55 +01:00
.npmrc chore: remove default npm option 2023-07-04 13:06:17 +08:00
.nvmrc chore(deps): update all non-major dependencies (#2234) 2023-07-31 19:48:59 +01:00
.stackblitzrc
CODE_OF_CONDUCT.md chore: add code of conduct (#1743) 2023-02-13 02:11:06 -08:00
CONTRIBUTING.md docs: update translation guide file to copy (#2017) 2023-04-25 17:41:51 +02:00
Dockerfile chore: copy across `.npmrc` to docker build (#2152) 2023-06-08 10:53:33 +01:00
LICENSE
README.md docs: fix a broken link in README (#2322) 2023-08-10 10:06:52 +00:00
app.vue
docker-compose.yaml fix: extended docker-compose.yml to addres Bug #1696 (#1701) 2023-03-01 08:17:34 +01:00
elk.svg
emoji-mart-traslation.d.ts feat(i18n): Emojimart localization and `fetching` entry at `en` … (#1731) 2023-02-15 20:15:11 +01:00
error.vue chore(deps): update lint (#1928) 2023-03-30 19:01:24 +00:00
netlify.toml
nuxt.config.ts refactor: upgrade vue-macros 2023-08-08 02:32:35 +08:00
package.json chore(deps): update lint (#2390) 2023-09-13 06:34:15 +00:00
page-lifecycle.d.ts fix: handle frozen state (#1792) 2023-02-25 12:09:24 +01:00
pnpm-lock.yaml chore(deps): update lint (#2390) 2023-09-13 06:34:15 +00:00
pnpm-workspace.yaml
shims.d.ts refactor: inject pwa client plugin from module (#1758) 2023-02-16 10:23:26 +01:00
tsconfig.json
unocss.config.ts fix: improve `elk-group-hover` shortcut, close #2386 2023-09-08 17:56:29 +02:00
vitest.config.mjs
vue-compiler-options.d.ts fix: augment vueCompilerOptions in `pkg-types` 2023-07-31 17:15:53 +01:00

README.md

Elk logo

Elk alpha

A nimble Mastodon web client


discord chat Start new PR in StackBlitz Codeflow Open board on Volta


Elk screenshots

⚠️ Elk is in Alpha

It is already quite usable, but it isn't ready for wide adoption yet. We recommend you use it if you would like to help us build it. We appreciate your feedback and contributions. Check out the Open Issues and jump in the action. Join the Elk discord server to chat with us and learn more about the project.

Deployment

Official Deployment

The Elk team maintains a deployment at:

Self-Host Docker Deployment

In order to host Elk yourself you can use the provided Dockerfile to build a container with elk. Be aware, that Elk only loads properly if the connection is done via SSL/TLS. The Docker container itself does not provide any SSL/TLS handling. You'll have to add this bit yourself. One could put Elk behind popular reverse proxies with SSL Handling like Traefik, NGINX etc.

  1. checkout source git clone https://github.com/elk-zone/elk.git
  2. got into new source dir: cd elk
  3. build Docker image: docker build .
  4. create local storage directory for settings: mkdir elk-storage
  5. adjust permissions of storage dir: sudo chown 911:911 ./elk-storage
  6. start container: docker-compose up -d

Note: The provided Dockerfile creates a container which will eventually run Elk as non-root user and create a persistent named Docker volume upon first start (if that volume does not yet exist). This volume is always created with root permission. Failing to change the permissions of /elk/data inside this volume to UID:GID 911 (as specified for Elk in the Dockerfile) will prevent Elk from storing it's config for user accounts. You either have to fix the permission in the created named volume, or mount a directory with the correct permission to /elk/data into the container.

Ecosystem

These are known deployments using Elk as an alternative Web client for Mastodon servers or as a base for other projects in the fediverse:

Note: Community deployments are NOT maintained by the Elk team. It may not be synced with Elk's source code. Please do your own research about the host servers before using them.

💖 Sponsors

We are grateful for the generous sponsorship and help of:

NuxtLabs

StackBlitz

And all the companies and individuals sponsoring Elk Team and the members. If you're enjoying the app, consider sponsoring us:

Or you can sponsor our core team members individually:

We would also appreciate sponsoring other contributors to the Elk project. If someone helps you solve an issue or implement a feature you wanted, supporting them would help make this project and OS more sustainable.

📍 Roadmap

Open board on Volta

🧑‍💻 Contributing

We're really excited that you're interested in contributing to Elk! Before submitting your contribution, please read through the following guide.

Online

You can use StackBlitz Codeflow to fix bugs or implement features. You'll also see a Codeflow button on PRs to review them without a local setup. Once the elk repo has been cloned in Codeflow, the dev server will start automatically and print the URL to open the App. You should receive a prompt in the bottom-right suggesting to open it in the Editor or in another Tab. To learn more, check out the Codeflow docs.

Open in Codeflow

Local Setup

Clone the repository and run on the root folder:

pnpm i
pnpm run dev

Warning: you will need corepack enabled, check out the Elk Contributing Guide for a detailed guide on how to set up the project locally.

We recommend installing ni, that will use the right package manager in each of your projects. If ni is installed, you can instead run:

ni
nr dev

Testing

Elk uses Vitest. You can run the test suite with:

nr test

📲 PWA

You can consult the PWA documentation to learn more about the PWA capabilities on Elk, how to install Elk PWA in your desktop or mobile device and some hints about PWA stuff on Elk.

🦄 Stack

  • Vite - Next Generation Frontend Tooling
  • Nuxt - The Intuitive Web Framework
  • Vue - The Progressive JavaScript Framework
  • VueUse - Collection of Vue Composition Utilities
  • Pinia - The Vue Store that you will enjoy using
  • Vue Macros - More macros and syntax sugar for Vue
  • UnoCSS - The instant on-demand atomic CSS engine
  • Iconify - Iconify icon sets in JSON format
  • Masto.js - Mastodon API client in TypeScript
  • shiki - A beautiful Syntax Highlighter
  • vite-plugin-pwa - Prompt for update, Web Push Notifications and Web Share Target API

👨‍💻 Contributors

📄 License

MIT © 2022-PRESENT Elk contributors