autonomous.contact/README.md

105 lines
3.7 KiB
Markdown
Raw Normal View History

# autonomous.contact
Bringing the BBS back.
2025-06-24 15:51:02 -07:00
2025-06-24 15:44:58 -07:00
## TODO
2025-07-04 15:21:32 -07:00
These are in no particular order. Pull requests updating this section welcome for
feature discussions.
- [ ] should everything be an event in a room?
2025-07-11 19:21:47 -07:00
- [X] get a first-pass podman/docker setup up
2025-07-01 16:08:53 -07:00
- [X] sign up
- [X] check for logged in user session
- [X] log in
2025-07-04 15:21:32 -07:00
- [X] refactor login/sessions/totp
2025-07-25 17:26:59 -07:00
- [ ] media uploads
- [ ] local upload support (keep it simple for small instances)
- [ ] S3 support (then self-host with your friends: https://garagehq.deuxfleurs.fr/)
- [X] user profile page
- [X] logout button
- [ ] profile editing
- [ ] avatar uploads
2025-07-01 16:08:53 -07:00
- [X] chat rooms
2025-07-04 15:25:38 -07:00
- [X] chat messages
- [ ] clean up after initial implementation
- [X] split the monolithic talk.html up
- [ ] chat message processing
- [X] auto-link urls
- [X] use this regex: `(?:(?<protocol>[a-zA-Z]+):\/\/)?(?:(?<auth>(?<username>\S.+)\:(?<password>.+))\@)?(?<host>(?:(?<hostname>[-a-zA-Z0-9\.]+)\.)?(?<domain>[-a-zA-Z0-9]+?\.(?<tld>[-a-zA-Z0-9]{2,64}))(?:\:(?<port>[0-9]{1,6}))?)\b(?<path>[-a-zA-Z0-9@:%_{}\[\]<>\(\)\+.~&\/="]*)(?:\?(?<query>[a-zA-Z0-9!$%&<>()*+,-\.\/\:\;\=\?\@_~"]+))?(?:#(?<hash>[a-zA-Z0-9!$&'()*+,-\.\/\:\;\=\?\@_~"]*?))?`
- [ ] :emoji: replacements
- [ ] preview cards for links
2025-07-25 17:26:59 -07:00
- [ ] add a button to allow for loading a preview
- we want to do this loading client-side, and so should only do it if they ask us to
- [ ] parse head meta, eg: https://github.com/AndrejGajdos/link-preview-generator/blob/master/index.js
- [ ] embedded video for
- [X] youtube
2025-07-25 17:26:59 -07:00
- [X] vimeo
- [ ] tiktok
- [ ] embedded audio or audio cards for:
- [X] tidal
2025-07-25 17:26:59 -07:00
- [X] spotify
- [ ] youtube (any way to differentiate for yt music?)
- [ ] add action buttons to embeds
- [ ] copy original link (hopefully just a button with some onclick we can slap next to the iframe and style?)
- [ ] toggle embed (toggle between showing the embed and the original link)
- [X] punycode urls before url extraction? (see: https://stackoverflow.com/a/26618995)
- [ ] gif support
2025-07-25 20:26:13 -07:00
- [X] gif embeds
- [ ] start/stop gif control
- [ ] hide control
- [ ] inline image support
2025-07-25 20:26:13 -07:00
- [X] inline images
- [ ] hide control
- [ ] custom emoji support
- [ ] upload custom gif emoji
- [X] try to select immediate sibling messages from the same user and hide mulitple avatars
2025-07-25 20:26:13 -07:00
- [ ] Notifications
- [ ] if web notifications are not enabled, show a button to turn them on
- [ ] if web notifications are enabled, emit on events
- [ ] admin panel
2025-07-04 15:25:38 -07:00
- [ ] add invite code generation
- [ ] AC_REQUIRE_INVITE_CODE: boolean env var/setting
- [ ] AC_DIRECTORY_SERVERS: |-separated list of directory servers to report to
these central servers could be distributed directories - your town might run one,
your state, your country, or you could publish to a public one that is organized
around interests
- [ ] combined "bulletin board" instead of exchange/work?
2025-07-04 15:25:38 -07:00
- [ ] post-it style notes with tag and keyword filtering?
2025-06-24 15:44:58 -07:00
- [ ] simple wiki for resources
- [ ] simple calendar with public/private event tracking
2025-07-04 15:25:38 -07:00
- [ ] caldav support
2025-07-04 15:21:32 -07:00
- [X] smart forms
2025-07-04 15:25:38 -07:00
- [X] use the api for forms so requests will be authenticated
- [X] support multiple methods
- [X] add `on_parsed` to allow injecting additional data
- [X] refine `on_response`/`on_reply`
## Getting Started Developing
1) Install Deno
Run their shell script (note: as yourself, not root)
```
curl -fsSL https://deno.land/install.sh | sh
```
Or using Nix:
```
nix-shell -p deno
```
2) Clone the repo:
`git clone https://andyburke.dev/andyburke/autonomous.contact.git`
3) Start the server:
`deno run task serve`
4) Navigate to http://localhost:8000
5) Edit some code and check it out.