Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put the data source in a separate repo (and in a more language independent format) #2

Open
zachleat opened this issue Nov 21, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@zachleat
Copy link
Contributor

Idea from https://fediverse.zachleat.com/@dominik@nona.social/109382540011847100

it might be a good idea to separate the implementation from the database. This way other implementations in other languages can use the same canonical list.

@zachleat zachleat added the enhancement New feature or request label Nov 21, 2022
@nhoizey
Copy link
Contributor

nhoizey commented Jan 13, 2023

@zachleat should the implementation part move to tweetback and we could keep this repo for the mapping file?

@zachleat
Copy link
Contributor Author

Ah, I hope not! I use this as a dependency on a few standalone web sites too (11ty.dev).

I think it can be as simple as using a JSON file instead, though I would acknowledge that in my experience the strictness of JSON creates more friction with pull requests that have syntax errors.

Maybe generating the JSON file with a GitHub action or as part of the release process?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants