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

move to self hosting #62

Open
3 tasks
devhindo opened this issue Nov 8, 2024 · 9 comments
Open
3 tasks

move to self hosting #62

devhindo opened this issue Nov 8, 2024 · 9 comments

Comments

@devhindo
Copy link
Owner

devhindo commented Nov 8, 2024

fully self hosted - no db - no authentication server
every user should create an app and use it.

due to 17 requests per day per app dummy pricing API plan

  • provide documentations for self-hosting
  • I imagine something like x init and starts a TUI operation to start the initial operations
  • ability to change the default location of the config file - make it in JSON format .x.json
@devhindo devhindo pinned this issue Nov 8, 2024
@mesb1
Copy link

mesb1 commented Feb 27, 2025

17 requests?

I do remember we were discussing 50 isn't it?

@devhindo
Copy link
Owner Author

@mesb1 Elon keeps reducing it, that's why I suggested a self-hosting solution. For every user they would register their X app and manage their own hosting and have their own plan. But that would require creating a new project lol cause the current one was built counter the idea of self-hosting and it was never been considered while coding it.

@devhindo
Copy link
Owner Author

devhindo commented Feb 27, 2025

it's also fairly easy if you know enough about OAuth 2.0
just a few REST operations

@mesb1
Copy link

mesb1 commented Feb 27, 2025

Elon keeps reducing it

Huh, i will try to reduce my posting via your app.

@mesb1
Copy link

mesb1 commented Feb 27, 2025

For every user they would register their X app and manage their own hosting and have their own plan. But that would require creating a new project lol cause the current one was built counter the idea of self-hosting and it was never been considered while coding it.

Using own vps isn't big deal, if your app self contain everything and just needs to be started for x86\x86-64\arm machines.
Mostly i am worried about steps related for all this steps related to registrations etc.

@mesb1
Copy link

mesb1 commented Feb 27, 2025

require creating a new project

So do you have any plans?

@devhindo
Copy link
Owner Author

It doesn't really need a vps. it's just a program that executes when you try to post a tweet. making a request to the API and the Access token is stored locally somewhere in the config files. But it just needs some work and I'm not currently free.

@devhindo
Copy link
Owner Author

I have plans for later yeah.

@devhindo
Copy link
Owner Author

yeah it's mostly the registration part the requires that OAuth 2.0 knowledge and after that it's just 2-3 requests to the X API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants