yosup/web
2022-11-12 13:34:02 -08:00
..
css Merge remote-tracking branch 'thomas/main' 2022-11-12 11:14:54 -08:00
img web: move webv2 to web 2022-11-11 12:10:39 -08:00
js web: fix threads not getting expanded 2022-11-12 13:34:02 -08:00
.gitignore web: move webv2 to web 2022-11-11 12:10:39 -08:00
COPYING add license 2022-11-11 17:41:38 -08:00
index.html web: focus reply box when replying 2022-11-12 12:38:09 -08:00
Makefile update ctags command 2022-11-12 13:13:20 -08:00
README.md web: Updated contribution guide. 2022-11-12 12:54:24 -08:00

Damus Web

Here lies the code for the Damus web app, a client for the Nostr protocol. The goal of this client is to be a better version of Twitter, but not to reproduce all of it's functionality.

Contribution Guide

There are rules to contributing to this client. Please ensure you read them before making changes and supplying patch notes.

  • No transpilers. All source code should work out of the box.
  • Keep source code organised. Refer to the folder structure. If you have a question, ask it.
  • Do not include your personal tools in the source code. Use your own scripts
  • outside of the project. This does not include build tools such as Make.
  • Use tabs.
  • Write methods in snake_case.
  • Do not include binary files.
  • No NPM (and kin) environments. If you need a file from an external resource mark the location in the "sources" file and add it to the repo.
  • No frameworks. Learn the browser tools and write good code.
  • No experimental browser APIs.
  • Do not write animations in JavaScript, CSS only. Keep them short and snappy. Animations should not be a forefront, but an enjoyable addition.
  • All new & modified code should be properly documented.
  • Source code should be readable in the browser.

These rules are subject to discussion.

Style Guide

TODO Write about the style guide.

Terminology

  • Sign Out - Not "log out", "logout", "log off", etc.
  • Sign In - Not "login", "log in", "signin", "sign-in", etc.