Commit graph

584 commits

Author SHA1 Message Date
s1idewhist1e
c58ce6c53b Refactor: use rust for native mastodon id conversion (#9786)
This uses [napi-rs](https://napi.rs/) to allow for automatic generation of node bindings for the native code.

I also changed the `isolatedModules` TS flag to false to allow for `static enum` to be shared across modules. It doesn't seem to be necessary for the build system that CK uses.

Currently this method does not work with ID generators with longer IDs. Likely the best solution is to add another key in the database.

Some benchmarks for 1 million conversions:

```
	node, x1_000_000: 2.847s
	rust, x1_000_000: 1.265s
```

There are still optimizations that can be made, but I think this is a good starting point and a good way to bring rust into the CK stack.

Co-authored-by: s1idewhist1e <trombonedude05@gmail.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9786
Co-authored-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
Co-committed-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
2023-03-31 01:58:28 +00:00
ThatOneCalculator
d438deccd2
fix doc link 2023-03-29 14:10:01 -07:00
ThatOneCalculator
1bd70ae19f
docs: 📝 sonic 2023-03-19 01:32:57 -07:00
ThatOneCalculator
d3d9c4830b
docs: 📝 sonic instructions 2023-03-19 01:32:17 -07:00
ThatOneCalculator
c438d2bcb0
docs: changes 2023-03-16 18:17:53 -07:00
ThatOneCalculator
11cae5560a
docs: 📝 accurate update instructions
Closes #9709
2023-03-15 18:29:55 -07:00
ThatOneCalculator
ef509b5138
docs: 📝 accurate update instructions
Closes #9709
2023-03-15 18:28:53 -07:00
ThatOneCalculator
94b9db451e
update readme 2023-02-20 12:20:47 -08:00
ThatOneCalculator
184ea6aa82
docs: 📝 migration from mk 2023-02-20 12:13:55 -08:00
ThatOneCalculator
254a9e8716
docs: 📝 custom assets 2023-02-11 13:16:45 -08:00
ThatOneCalculator
ba18da314f
docs: 📝 branches 2023-02-09 14:53:32 -08:00
Kainoa Kanter
86b4d74f46 Update 'README.md' 2023-02-01 22:18:54 +00:00
ThatOneCalculator
7b51c56169
docs: 📝 clone depth 1
closes #9501
2023-01-21 11:25:31 -08:00
ThatOneCalculator
dc168cd3bc
docs: no tensorflow 2023-01-19 16:56:07 -08:00
ThatOneCalculator
81cd7600f7
lavaforge --> codeberg until lavaforge is ready 2023-01-19 16:18:17 -08:00
Kainoa Kanter
7a9c13c112 docs: 🌋 Lavaforge 2023-01-15 21:07:11 +00:00
janderedev
db865499c0 Fix typo in readme 2023-01-14 21:18:29 +00:00
ThatOneCalculator
7c2dabd047
no more eslint 2023-01-12 20:54:33 -08:00
Kainoa Kanter
f47832b1b4 refactor: 🔨 Use pnpm instead of yarn (#9461)
Reasons:

1. `pnpm` is now an industry standard, being faster and less buggy than `yarn`.
2. Faster build time as builds are concurrent: 63 seconds down to 35 seconds!!
3. Resolves #9412

Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9461
2023-01-13 04:18:16 +00:00
Sly-Little-Fox
c600a1637d Improve port finding script, add a note 2023-01-10 09:31:11 +00:00
Kainoa Kanter
55eabae923 docs: 📝 aur badge 2023-01-09 00:23:48 +00:00
Kainoa Kanter
1227e5b2e7 docs: 📝 aur 2023-01-09 00:09:16 +00:00
Kainoa Kanter
684d8b477a docs: 📝 easy installer images 2023-01-08 23:52:10 +00:00
Kainoa Kanter
ab1bd40c30 docs: 📝 easy installers 2023-01-08 23:49:23 +00:00
ThatOneCalculator
3654e33eea
docs: YunoHost 2023-01-04 20:11:34 -08:00
ThatOneCalculator
ebc8ac76de
release version system 2023-01-03 17:38:07 -08:00
ThatOneCalculator
302b34fc48
docs: node 19 2023-01-03 15:56:32 -08:00
ThatOneCalculator
a6a4015858
even more fixes 2023-01-03 10:42:26 -08:00
Kainoa Kanter
389785e165 Update 'README.md' 2023-01-02 15:59:31 +00:00
ThatOneCalculator
944eadca8f
refactor: new repo link 2022-12-18 10:12:24 -08:00
ThatOneCalculator
386d137066
docs: 📝 weblate 2022-12-17 10:21:17 -08:00
ThatOneCalculator
8d368ac954
feat: weblate! 2022-12-17 10:17:39 -08:00
ThatOneCalculator
eb0f42e53a
docs: 📝 badges [CI Skip] 2022-12-16 13:36:50 -08:00
ThatOneCalculator
6b4425e309
docs: 📝 more badges 2022-12-16 13:30:58 -08:00
ThatOneCalculator
af2f878990
refactor: rm .github folder 2022-12-16 10:44:09 -08:00
Kainoa Kanter
114e1fa371 docs: 📝 fix badge position 2022-12-16 17:35:54 +00:00
cutestnekoaqua
8ba9380743
Add CI Link to Docs 2022-12-16 01:06:30 +01:00
chimiana
a226995589 Moved 'docker for development' stanza from root README.md to docker-README.md 2022-12-15 23:19:04 +00:00
chimiana
5aeda4635f Update to docker-compose for development section of README 2022-12-15 23:19:04 +00:00
chimiana
b7477a26fb Attempting to fix link in docs 2022-12-15 23:19:04 +00:00
chimiana
f8736ebfe0 Updated README.md with link to docker-README.md instead of link to Docker Hub 2022-12-15 23:19:04 +00:00
chimiana
b851ed48ad Corrections to README.md
A spelling mistake and remove a docker command that does not work
2022-12-15 23:19:03 +00:00
cutestnekoaqua
785ace95a4
Add Rebuild Option [CI Skip] 2022-12-14 18:09:58 +01:00
ThatOneCalculator
3374f5946a
docs: 📝 account migration 2022-12-11 17:53:09 -08:00
Kainoa Kanter
45c585e5d8 Nvm, dragonfly needs more work... 2022-12-07 04:42:48 +00:00
Kainoa Kanter
b12227efbf Update 'README.md' 2022-12-07 04:38:21 +00:00
Kainoa Kanter
4a32e407a9 Redis v6 is minimum 2022-12-07 04:37:43 +00:00
Kainoa Kanter
0a81b34584 Update 'README.md' 2022-12-07 04:37:05 +00:00
Kainoa Kanter
b25c904fc3 DragonflyDB 2022-12-07 04:28:56 +00:00
ThatOneCalculator
f71e481806 docs: deps 2022-12-06 15:27:59 -08:00
Kainoa Kanter
aa9ef65768 Feature: Custom locales (#9157) 2022-11-30 19:50:24 +00:00
CherryKitten
20dc59c342
docs: reflect last change in readme 2022-11-30 19:51:12 +01:00
ThatOneCalculator
6e18d753a6 docs: a11y 2022-11-29 18:15:57 -08:00
CherryKitten
efbce8e287
Docs: Add info for custom locale naming 2022-11-29 22:27:08 +01:00
CherryKitten
43961da923
docs: custom locales 2022-11-29 01:15:07 +01:00
ThatOneCalculator
95ce4151e4 docs: 📝 optional deps 2022-11-27 12:04:08 -08:00
ThatOneCalculator
d494451789 docs: 📝 formatting 2022-11-27 11:55:45 -08:00
ThatOneCalculator
686a54746e docs: 📝 improve install instructions 2022-11-27 11:51:57 -08:00
Kainoa Kanter
bec90a9ced docs: another tip 2022-11-24 01:55:38 +00:00
ThatOneCalculator
73e628ccb5 deprecate node < 18 2022-11-21 16:27:32 -08:00
ThatOneCalculator
594d3626b3 New patron list 2022-11-18 23:20:18 -08:00
Kainoa Kanter
3df6b23be6 Add official account and flagship instance 2022-11-17 23:16:16 +00:00
Kainoa Kanter
9386ad9e79 docs: 📝 official account 2022-11-17 23:14:06 +00:00
ThatOneCalculator
259cc21421 docs: 📝 typo 2022-11-17 13:55:48 -08:00
Kainoa Kanter
ddf4a071cf docs: 📝 typo
It's "available". Thank you luke :P
2022-11-16 19:44:25 +01:00
Kainoa Kanter
aac0a3df6a docs: 📝 alt text for calc 2022-11-16 05:25:00 +01:00
ThatOneCalculator
2e3cd5677d docs: 📝 open port tip 2022-11-15 20:19:53 -08:00
ThatOneCalculator
f72412ea81 docs: 📝 tip 2022-11-15 20:18:04 -08:00
ThatOneCalculator
f81492e835 docs: 📝 improve documentation, nginx 2022-11-15 20:16:50 -08:00
ThatOneCalculator
3909812423 use max-width instead of width for dm images 2022-11-15 00:30:35 -08:00
Kainoa Kanter
9b3265f99b Update 'README.md' 2022-11-15 09:23:53 +01:00
Kainoa Kanter
297de984f7 Update 'README.md' 2022-11-15 07:24:36 +01:00
Kainoa Kanter
96a213b72d docs: tips 2022-11-15 07:13:10 +01:00
Kainoa Kanter
33cd0dc84f Update 'README.md' 2022-11-15 01:53:08 +01:00
Kainoa Kanter
9fd89dcc4c Update 'README.md' 2022-11-13 20:32:17 +01:00
Kainoa Kanter
2f7f62c4db docs: fix typo 2022-11-10 04:03:28 +01:00
Kainoa Kanter
dc7b8aa6e4 3000 2022-11-09 22:39:03 +01:00
Kainoa Kanter
f2dc20f7f6 Update 'README.md' 2022-11-09 22:38:27 +01:00
Kainoa Kanter
b38469d91e more tips & tricks 2022-11-09 22:17:39 +01:00
Kainoa Kanter
bfb07d41b3 docs: 📝 tips & tricks 2022-11-09 10:52:23 +01:00
ThatOneCalculator
6b7e55d729 docs: 📝 intro tutorial 2022-11-09 01:04:30 -08:00
ThatOneCalculator
0d030c8c4c fix 2022-11-08 16:50:33 -08:00
ThatOneCalculator
4026bc6fa7 docs: more accessible links 2022-11-06 15:06:44 -08:00
Kainoa Kanter
5288e8d6d1 8121 2022-11-06 03:43:41 +01:00
ThatOneCalculator
41b0530cd1 docs: 📝 pm2 2022-11-04 18:48:45 -07:00
ThatOneCalculator
dcbeea5404 better emoji 2022-11-04 14:56:30 -07:00
ThatOneCalculator
688757f226 docs: 📝 latest 18 2022-11-04 14:49:06 -07:00
ThatOneCalculator
2ab31982be docs: 📝 typo 2022-11-04 14:47:18 -07:00
ThatOneCalculator
63bded53fb docs: 📝 deps 2022-11-04 14:46:51 -07:00
ThatOneCalculator
ed10834820 NGINX 2022-11-04 14:43:00 -07:00
ThatOneCalculator
ea73de78ed refactor readme 2022-11-04 14:38:38 -07:00
ThatOneCalculator
471240b101 a 2022-11-04 13:12:56 -07:00
ThatOneCalculator
f13e19dee1 feat: Managed hosting complete 2022-11-01 18:41:59 -07:00
Kainoa Kanter
6ee562a73c Update 'README.md' 2022-10-31 23:19:22 +01:00
ThatOneCalculator
5a9b8e93e2 OCR is done! 2022-10-27 15:30:26 -07:00
Kainoa Kanter
be683ed931 Install after prep 2022-10-27 10:01:27 +02:00
ThatOneCalculator
127f154b97 docs 📝 🐳 2022-09-21 12:34:42 -07:00
ThatOneCalculator
1ffdf20a52 docs: 📝 Docker instructions 🐋 2022-09-13 21:43:58 -07:00
ThatOneCalculator
bb15e6ccbc docs: 📝 Mention groups 2022-09-13 17:21:23 -07:00
ThatOneCalculator
e1b9406b95 docs: 📝 warning for node 18.6.0 2022-08-10 00:50:50 -07:00