pronouns.cc rewrite twenty billion
sam
b47ed7b699
the /users/{id} prefix contains most API routes so it's not a good idea to put a single rate limit on *all* of them combined. the rate limiter will now ignore the /users/{id} prefix *if* there's a second {id} parameter in the URL. also, X-RateLimit-Bucket is no longer hashed, so it can be directly decoded by clients to get the actual bucket name. i'm not sure if this will actually be useful, but it's nice to have the option. |
||
---|---|---|
.config | ||
.husky | ||
.idea/.idea.Foxnouns.NET/.idea | ||
docker | ||
Foxnouns.Backend | ||
Foxnouns.Frontend | ||
migrators | ||
rate | ||
.dockerignore | ||
.editorconfig | ||
.gitignore | ||
.noai | ||
build_info.sh | ||
docker-compose.yml | ||
DOCKER.md | ||
Dockerfile.backend | ||
ENDPOINTS.md | ||
Foxnouns.NET.sln | ||
Foxnouns.NET.sln.DotSettings | ||
LICENSE | ||
package.json | ||
pnpm-lock.yaml | ||
README.md | ||
STYLE.md |
Foxnouns.NET
Rewrite of pronouns.cc's codebase in C#, using SvelteKit for the frontend. Still very work-in-progress, but a large portion of the backend is functional.
License
Copyright (C) 2024 sam <u1f320>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Acknowledgements
Codebases I've used for inspiration/figuring things out:
Code taken entirely or almost entirely from external sources:
- The functions in the
AddSids
migration, taken from PluralKit Foxnouns.Backend/Database/prune-designer-cs-files.sh
, taken from Iceshrimp.NET