A nimble Mastodon web client
 
 
 
 
 
Go to file
Duy 371a996624
feat(i18n): Update vi-VN.json (#3099)
2024-12-21 13:08:17 +00:00
.github chore: bump and patch dependencies to augment `vue` (#2918) 2024-08-16 13:31:43 +00:00
.stackblitz
.vscode chore: bump to eslint-config `v2.8.0` (#2651) 2024-03-05 14:48:58 +00:00
components feat: show pinned posts on individual account page (#2779) 2024-12-19 04:19:20 +00:00
composables chore(deps): update lint (#3082) 2024-12-09 03:50:20 +00:00
config chore(deps): update lint (#3082) 2024-12-09 03:50:20 +00:00
constants chore: change default theme color and fix color contrast (#3062) 2024-11-30 14:41:33 +00:00
docs docs: add primary light theme to fix color contrast (#3070) 2024-11-30 14:42:17 +00:00
https-dev-config feat: added a profile settings and settings nav (#432) 2022-12-26 09:50:11 +01:00
images docs: fix images in readme 2023-01-02 18:06:06 +01:00
layouts chore: unify script setup lang order (#2943) 2024-09-07 07:38:18 +00:00
locales feat(i18n): Update vi-VN.json (#3099) 2024-12-21 13:08:17 +00:00
middleware chore: update nuxt to 3.10.3 (#2610) 2024-02-24 16:46:14 +00:00
mocks fix: fix emoji placement (#2626) (#2645) 2024-03-04 19:56:59 +00:00
modules chore(deps): update lint (#3082) 2024-12-09 03:50:20 +00:00
pages feat: show pinned posts on individual account page (#2779) 2024-12-19 04:19:20 +00:00
patches chore: update @nuxtjs/i18n to 9.1.1 (#3078) 2024-12-08 08:14:32 +00:00
plugins chore(deps): update lint (#3082) 2024-12-09 03:50:20 +00:00
public fix: add new service worker (#2971) 2024-09-23 12:45:46 +00: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 (#3082) 2024-12-09 03:50:20 +00:00
server chore(deps): update lint (#3082) 2024-12-09 03:50:20 +00:00
service-worker chore(deps): update dependency @antfu/eslint-config to v3 (#2984) 2024-09-30 08:11:56 +00:00
styles feat: support wider emoji (#3028) 2024-10-29 02:26:41 +08:00
tests chore(deps): update lint (#3082) 2024-12-09 03:50:20 +00:00
types chore(deps): update dependency @antfu/eslint-config to v3 (#2984) 2024-09-30 08:11:56 +00:00
utils chore(deps): update dependency @antfu/eslint-config to v3 (#2984) 2024-09-30 08:11:56 +00:00
.dockerignore refactor: migrate from shiki to shikiji (#2520) 2023-12-20 18:54:40 +00:00
.env.example feat: add Vercel KV (#2533) 2024-01-02 10:58:37 +00:00
.env.mock
.gitattributes chore: include `.gitattributes` for eol (#2606) 2024-02-23 13:32:51 +00:00
.gitignore
.npmrc chore: set package-manager-strict to false (#2873) 2024-05-28 14:23:45 +02:00
.nvmrc
.stackblitzrc
CODE_OF_CONDUCT.md
CONTRIBUTING.md chore: use latest i18n v9 (#3059) 2024-11-24 13:36:16 +00:00
Dockerfile
LICENSE
README.md docs: add crab.bumscode.com to list of community elk deployments (#2887) 2024-06-17 17:34:59 +00:00
app.vue chore: update nuxt to 3.10.3 (#2610) 2024-02-24 16:46:14 +00:00
docker-compose.yaml
elk.svg
emoji-mart-traslation.d.ts chore: update nuxt to 3.10.3 (#2610) 2024-02-24 16:46:14 +00:00
error.vue chore: update nuxt to 3.10.3 (#2610) 2024-02-24 16:46:14 +00:00
eslint.config.js chore: bump to eslint-config `v2.8.0` (#2651) 2024-03-05 14:48:58 +00:00
netlify.toml chore: use latest i18n v9 (#3059) 2024-11-24 13:36:16 +00:00
nuxt.config.ts chore: update @nuxtjs/i18n to 9.1.1 (#3078) 2024-12-08 08:14:32 +00:00
package.json fix(deps): update dependencies (#3094) 2024-12-16 15:10:18 +00:00
page-lifecycle.d.ts chore: update nuxt to 3.10.3 (#2610) 2024-02-24 16:46:14 +00:00
pnpm-lock.yaml fix(deps): update dependencies (#3094) 2024-12-16 15:10:18 +00:00
pnpm-workspace.yaml
shims.d.ts
tsconfig.json
unocss.config.ts chore(deps): update dependency @antfu/eslint-config to v3 (#2984) 2024-09-30 08:11:56 +00:00
vitest.config.ts chore(tests): fix vitest can't terminate worker (#2644) 2024-03-04 16:41:38 +00:00
vue-compiler-options.d.ts

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 yet powerful syntax highlighter
  • vite-plugin-pwa - Prompt for update, Web Push Notifications and Web Share Target API

👨‍💻 Contributors

📄 License

MIT © 2022-PRESENT Elk contributors