-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Kutt v3 is under development #754
Comments
Make the bullet points a checklist! better-sqlite3 is the best pure SQLite npm library for node, BUT node recently added builtin SQLite: https://nodejs.org/api/sqlite.html |
I've made a Kanban board and put everything I could think of.
Nice! I'll try it out. |
I am pleasantly surprised! This is awesome! I have been using Kutt for a long time, and I am very satisfied with everything that exists. I hope that V3 won't break the existing data or that there will be a recommended data migration guide. If possible, I would love to see the UI incorporate i18n! |
Data migration should be fully supported |
Yeahhhhh we're so back with this one! |
IMO the project is already very well polished and you have done great work. Installation with docker is super simple already and getting the .env setup is also already simple. The only minor pain points I see are: Thank you |
We can not thank enough for the effort you put into this. Do you plan to write MySQL wrappers for Postgres-only functions to support them both? For example MySQL also supports UUID fields, you can generate them inside JS instead of using postgres internal UUID function. Wish I know JS, I'd be so happy to contribute into this project. |
@kenarsuleyman It should be easy to add support for MySQL as well. I'll make sure to include it in the v3 release. |
Support for SQLite and MySQL has been added to version 3 now. You can test them in the version 3 branch and see if everything works fine for you. |
I noticed that if you're not planning to use React and switch to htmx, it seems that adding i18n is not as easy? But that's okay, once v3 stabilizes and you release the official version, I'll try to fork and localize it locally. |
The admin page is really important. Managing links gets complicated and I sometimes get abuse reports of my instance being used for phishing. Glad to see progress is being made |
It should be even easier. It will be handled on the server side. |
The v3 branch looks very good! |
@ThomasBaruzier Thanks! I'm already using it in production for Kutt. Although, it's not always up to date with the latest commit. You can use it for personal use, but beware that some bugs might have crawled up here and there. |
@poeti8 How do we build v3? |
@ThomasBaruzier There is no build step anymore! Just start the app. |
@poeti8 Thanks! |
@ThomasBaruzier I have a plan to create an admin account when you start Kutt for the first time so there would be no need to manually set anything. However, it's not implemented yet. So what you can for now is to enable the mail functionality temporarily and perform the old trick. |
@poeti8 Thank you for the answer. Unfortuantely, I cannot perform the old trick, as this new version does not let me input a code: npm run dev
> kutt@2.7.4 dev
> npm run migrate && node --watch-path=./server server/server.js
> kutt@2.7.4 migrate
> knex migrate:latest
Already up to date
> Ready on http://localhost:3002
Error: connect ECONNREFUSED ::1:6293
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
errno: -111,
code: 'ESOCKET',
syscall: 'connect',
address: '::1',
port: 6293,
command: 'CONN'
} |
@ThomasBaruzier The error is for the email, so the user should already be created in the database and you can verified it from there. |
To try v3 are the manual setup instructions accurate with only changing to clone or download v3 code, not previous? Are the requirements continuing to be same? "You need to have Node.js, PostgreSQL and Redis installed." https://github.com/thedevs-network/kutt?tab=readme-ov-file#manual I also see there is a dockerfile at https://github.com/thedevs-network/kutt/blob/v3/Dockerfile so I tried building the docker images and hit an error with the v3 branch. Is there something else that needs to be performed to do a docker build process?
|
@chrislawso The documentation and the docker image are still reflecting the version two, I'll update them after I'm done with the code for the version 3. No the requirements are not the same, you'd only need Node.js, the other ones are optional. |
Are the data structures for the database going to remain backwards compatible with v2 databases? At the very least include migrations to upgrade to v3? |
@Fireant456 Yes of course, there are migrations scripts that should make the transition smooth. |
Yes, the day has come.
I decided to devote my time to this project again. I'm humbled by all the stars, the count of forks, the amount of users, and bittersweetly, by the number of issues, and I want to make sure it's as easy and simple to use as it could be for everyone.
Yesterday, I read about goo.gl and how they are killing all its links. So I understand how important it is for users to own their own links, and I made a reliable and easy self-hosted Kutt as my main goal for the next version.
Here are the key things I've planned for the version 3:
There are much more to add. I'll hopefully work on them once I've completed the important ones listed above. If you think I'm missing something, let me know.
This is not short and quick, and it would probably make some time to finish. You can follow the progress on the v3 branch.
The text was updated successfully, but these errors were encountered: