1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-23 22:56:09 +09:00
A nimble Mastodon web client
Go to file
2023-05-05 17:40:09 +02:00
.github chore: ignore vue and vue-tsc dependencies for now 2023-05-02 10:59:44 +01:00
.stackblitz chore: make Codeflow bot comment every issue (#984) 2023-01-12 10:26:46 +01:00
.vscode chore(i18n): en as source language (#1597) 2023-02-18 12:21:09 +01:00
components fix: image preview should justify-center (#2062) 2023-05-05 10:22:41 +02:00
composables fix: respect always expand content warnings 2023-05-04 22:29:47 +02:00
config feat(i18n): add Tagalog translation (#2019) 2023-05-01 11:55:49 +02:00
constants fix: handle frozen page lifecycle state (#1658) 2023-02-06 14:22:56 -08:00
docs chore: upgrade to nuxt v3.4.3 (#2046) 2023-05-02 11:48:33 +02: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 fix(default): update layout to use dynamic vh (#1817) 2023-04-28 19:44:58 +02:00
locales feat(i18n): update Japanese localization (#2061) 2023-05-05 17:40:09 +02:00
middleware refactor: move single instance config to runtime (#1664) 2023-02-07 04:10:43 -08:00
mocks perf: tree-shake dependencies from server (#1647) 2023-02-06 10:34:50 +01:00
modules fix: use purpose: any for normal pwa icon (#1981) 2023-04-15 17:16:20 +01:00
pages fix: refresh status after edit (#2032) 2023-04-30 17:19:14 +02:00
patches fix(deps): update dependencies (#1908) 2023-03-24 00:12:42 +00:00
plugins fix: respect zenMode preference default 2023-05-02 14:13:53 +02:00
public fix: syntax for robots.txt disallow rules (#1925) 2023-03-26 17:11:22 +02:00
public-dev style: Change logo files with added left/right padding (#1896) 2023-03-21 12:59:24 +01:00
public-staging style: Change logo files with added left/right padding (#1896) 2023-03-21 12:59:24 +01:00
scripts chore: fix lint 2023-04-16 21:25:55 +02:00
server chore(deps): update lint (#2011) 2023-05-02 11:03:49 +01:00
service-worker chore(deps): update lint (#1928) 2023-03-30 19:01:24 +00:00
styles fix: emoji sizing (#2007) 2023-04-24 07:19:29 +02:00
tests chore: upgrade deps 2023-03-20 23:11:04 +08:00
types refactor: get short commit 2023-02-23 19:17:28 +08:00
utils feat(i18n): ca-valencia language detection in Edge browser (#1828) 2023-02-28 22:36:05 +01:00
.dockerignore feat: add docker support (#1052) 2023-01-17 18:37:07 +08:00
.env.example refactor: move single instance config to runtime (#1664) 2023-02-07 04:10:43 -08:00
.env.mock fix: key current instance on user server, not user id (#466) 2022-12-20 01:16:15 +01:00
.eslintignore feat: add translation status to language settings (#1717) 2023-02-11 21:42:55 +01:00
.eslintrc fix: replace a tag with NuxtLink (#906) 2023-01-09 14:22:19 +01:00
.gitignore feat: add translation status to language settings (#1717) 2023-02-11 21:42:55 +01:00
.npmrc chore: ignore pnpm ignore-workspace-root-check 2023-01-12 10:45:11 +01:00
.nvmrc chore: add .nvmrc to ensure node v18 (#1579) 2023-02-08 10:23:07 +01:00
.stackblitzrc feat: mock user in dev (#221) 2022-11-29 10:43:01 +01:00
app.vue refactor: use head script instead of cookie 2023-01-14 10:55:16 +01:00
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
docker-compose.yaml fix: extended docker-compose.yml to addres Bug #1696 (#1701) 2023-03-01 08:17:34 +01:00
Dockerfile fix: unswap uid/gid in dockerfile (#1810) 2023-02-23 05:27:50 -08:00
elk.svg refactor: compress svg files 2023-01-09 17:25:48 +08:00
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
LICENSE chore: add license 2022-11-24 11:53:23 +01:00
netlify.toml chore: move docs redirect into _redirects (#895) 2023-01-08 23:04:55 +00:00
nuxt.config.ts chore(deps): update lint (#2011) 2023-05-02 11:03:49 +01:00
package.json chore: release v0.9.4 2023-05-04 22:58:24 +02:00
page-lifecycle.d.ts fix: handle frozen state (#1792) 2023-02-25 12:09:24 +01:00
pnpm-lock.yaml fix: notification templates for admin reports (#2045) 2023-05-03 15:01:35 +00:00
pnpm-workspace.yaml docs: add initial documentation (#842) 2023-01-08 22:42:59 +01:00
README.md chore: update ecosytem link (#1900) 2023-03-16 20:23:31 +01:00
shims.d.ts refactor: inject pwa client plugin from module (#1758) 2023-02-16 10:23:26 +01:00
tsconfig.json refactor: switch nuxt module of vue macros (#27) 2022-11-23 09:07:28 +01:00
unocss.config.ts fix(default): update layout to use dynamic vh (#1817) 2023-04-28 19:44:58 +02:00
vitest.config.mjs chore: migrate to nuxt-vitest 2023-01-29 14:20:48 +01:00

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 of 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