Submit

Back to the channels

#repopack

  1. phaleth was going to try to do some repopack website development but ran into https://repopack.com/project/repopack/tasks/922
  2. blue looking
  3. stagas first time i'm doing a deploy through Codex, all i had to do is change the nameservers, create the repo, run a script and type my sudo server pass, and it's looking like it's finishing it all, a very complex deploy with lots of remote dependencies
  4. blue 922 will likely be solved when we upgrade to primate 0.45, phaleth
  5. stagas i'm impressed
  6. blue I didn't know codex offers deployments, stagas
  7. stagas blue: does repopack have persistent disk storage, or everything needs to be fetched again?
  8. blue apps do have mounts, stagas
  9. blue we're mostly using podman/docker in the background, so we're using their mechanisms
  10. blue the way it works, you create an app with `rp app create`, and then you attach units to them. could be a db, a web server, or anything else, and units may have bind mounts
  11. blue if you type `rp app unit` you'll see the help
  12. stagas maybe you tell the AI to create a skill so then Codex can do that work for me?
  13. blue your codex will generally figure it out on its own if it runs `rp bootstrap` in the project directory
  14. stagas now i am just using Caddy/systemd on a vps
  15. stagas i see
  16. blue you don't even need a skill. all you need is either to tell your agent to run `rp bootstrap`, or add it to your AGENTS.md
  17. blue we will add an MCP server and skills to repopack.com, but it's easiest to just have it run rp bootstrap
  18. blue if you want to get started with a project on repopack, all you need is `rp project create`. you can also import projects from other git repos with `rp project import`
  19. blue repopack doesn't have org/project structure like github. so you just choose a project name, like `textlog`
  20. blue for apps you deploy, you can choose whatever hostname you like. for production you'd probably take `textlog.repopack.app` and for test maybe `textlog-test.repopack.app`, up to you
  21. blue project names, and hostnames, are on a first-come, first-serve basis
  22. blue redeploying apps is as simply as running `rp app deploy <app-name>`
  23. blue as simple as*
  24. blue (within the project directory)
  25. blue but as said. your codex will figure it all on its own. how to create apps, how to deploy them, how to create units and dbs and volumes
  26. stagas and custom domains?
  27. blue they're not supported yet automatically but phaleth will be happy to configure haproxy to route any custom domain you have to the *.repopack.app app. you will need to add the DNS entries yourself though, once
  28. blue we will have automated support for them though, just not yet
  29. phaleth stagas: I can add a domain if you need, but just let me know what it is upfront before you change the public DNS record to let me type in the configuration to haproxy
  30. phaleth we already figured out how to automated the process
  31. phaleth it's just clanker keeps making itself busy with something else all the time
  32. phaleth blue: you think I can just update primate then?
  33. stagas now i've deployed, come it's multiplayer https://berlin.stagas.me
  34. stagas it takes a bit to load i haven't put a spinner yet
  35. blue phaleth: update to what?
  36. blue you mean to .45?
  37. blue I can do it
  38. blue I need to publish a 0.45.2, there's missing capability we need
  39. blue also yes, I verified, 922 is solved in 0.45
  40. blue I'm updating now, will soon redeploy
  41. blue this is something I think lioloc already reported but it wasn't backpotred to 0.44
  42. blue upgrading to 0.45 involves two steps. the first one is the pure, the second one is use the ORM transactions that were introduced there. I'll only be doing the first step for now
  43. blue the pure upgrade*
  44. phaleth blue: yeah, i put a note on that task as I ran into another problem after updating locally to 0.45.1
  45. blue oh ok, hold on then
  46. phaleth sure, no hurry
  47. blue [ERROR] error in config file /home/user/repopack/repopack/web/config/app.ts: SyntaxError: The requested module '@rcompat/error' does not provide an export named 'CodeError'
  48. blue this is an rcompat API breakage issue. the code will need to be ported, the export no longer exists
  49. blue instead, oyu use the default export, and .CodeError. don't worry, I'll fix it as part of the 0.45 port
  50. phaleth I guess there are hunderds of places using that call
  51. phaleth just a guess
  52. blue it's possible. the rcompat exports were standardised
  53. blue some other things changed like @rcompat/fs.create -> .createDirectory
  54. blue clanker is fixing
  55. blue phaleth, regarding 921, I was thinking of pagination instead of infinite scroll
  56. blue we can start with 20 tasks per page, that'll make things load fast
  57. blue phaleth, dreamreal suggested, and I tend to concur, that a body must be submitted on task creation
  58. blue thoughts?
  59. blue he also suggested an --editor flag that will bring up your editor, git commit-style, for human uses of rp, which I also tend to concur with
  60. blue so `rp task create --title <title> --editor`
  61. blue we would have three competing ways, --editor, --file <path> or --text <text>. currently we only have file and text
  62. blue clankers usually use the `--file <path>` flag. they create a task description in /tmp, then refer to it
  63. blue bbiab
  64. phaleth infinite scroll is better for mobile, but of course not easy to implement as the previous elements should be removed at some treshold
  65. phaleth mandatory body can be a project preference I guess, I tend to write short descriptions that fit into the title
  66. phaleth anyway, there are other problems to solve
  67. phaleth as long as the --editor flag uses whatever is git configured to use then I guess that's a good option
  68. blue I can leave the body optional, and add the --editor flag support
  69. blue stagas: I'm in a conundrum. I have 1d 9h left till weekly limit reset, and a full reset. I don't want to "waste it"
  70. blue I think strategically, it's better to hold on to that reset
  71. blue I try only to use full resets if I have 3d or more left until the weekly limit reset
  72. blue otherwise it feels like a waste
  73. stagas xD
  74. blue but maybe it's wrong thinking, because if you're blocking from working, you're blocked and you cannot do much
  75. blue if you're blocked*
  76. stagas i wasted mine i didn't know how to use it
  77. stagas i thought it will be additive
  78. blue yeah, it isn't. and also it resets your weekly limit. so you start from 7d again
  79. blue I only have 2% left though
  80. stagas how often do these free resets are handed out?
  81. blue but it is lasting longer since I switched from 5.6 to 6 and 6.1 completely
  82. blue hard to tell. sometimes they come every 3-4 days, sometimes it's only once a week
  83. blue on average I think four times a month
  84. stagas ah not bad
  85. blue I got one on Nov 13, Nov 2, and Oct 31
  86. blue yeah it's not bad
  87. blue you just need to use it cleverly
  88. blue I will never use a reset under 1d, that's a waste
  89. stagas that's what i did
  90. blue but again, it's a matter of thinking
  91. stagas well now i know
  92. blue because since the reset resets you back to 7d, maybe it doesn't matter
  93. stagas next time i have one i will run 10 jobs in parallel of my weekly so that i can use it effectively
  94. blue with repopack chat coming, I think I will spend my pro 100 too fast. that's the only problem
  95. blue because now my main problem is coordination
  96. blue I have four tmux sessions, each running 3 opencode tabs (implementer, reviewer, then security reviewer)
  97. blue every tmux session is a project. so like repopack, primate, etc.
  98. stagas my new favorite prompt "aggressively optimize more" for the game i'm doing, it's always finding things, and it's benchmarking so it's always gains 1.2 1.5 2x 3x lol
  99. blue yes that's what I did for flog
  100. blue you might want to try flog out, it's faster than pnpm
  101. blue https://flog.run
  102. nevet flog — predictable JavaScript package management
  103. blue it's written in Go
  104. stagas cool!
  105. blue yeah. logo was designed by phaleth
  106. stagas i wrote a tool in Go too, i don't know but i vibe coded it, https://github.com/stagas/livediff
  107. blue it's going to do a lot more than pnpm/npm/yarn. I'm working on `flog format` and `flog lint` to replace eslint/prettier, just much faster
  108. blue oh wow, that's cool stagas, I'm gonna try it out
  109. stagas it prints whatever the llm is doing so you have something to browse and get an idea
  110. stagas while waiting
  111. blue I wonder if we can add a nice functionality like that to repopack
  112. blue that will be very helpful
  113. blue maybe `rp livediff`?
  114. blue I'll think about it... that is a cool idea
  115. stagas yeah
  116. stagas blue: do you have a business entity in Germany?
  117. stagas i'm asking because i looked up ways to get funding for the game, and you can get up to 200K euro but you have to have a business entity there
  118. stagas there are plenty of orgs that offer funding but all of them need you to be there
  119. stagas because what i'm doing is basically cultural preservation, a virtual tour of Berlin
  120. stagas so it would be eligible
  121. stagas a snapshot of the city before it becomes all skyscrapers and offices
  122. blue stagas: I don't, but if you want, I can help you set it up. Just remember that running a UG or GmbH in Germany is expensive.
  123. blue for Repopack, I was planning to set up an estonian OA but after doing some research a British Ltd would be cheaper. but that would not qualify for funding
  124. blue Germany also has the concept of Einzelkaufmann - you do business as a private person. That could be an option for you (still eligible for funding, I believe), but you might need to be based here
  125. blue Einzelkaufmann means "single businessperson"
  126. blue look up what kind of business entity they ask for
  127. stagas maybe it would be wiser to contact some game studio already established probably
  128. blue if Einzelkaufmann is enough, I would try that, it doesn't require a lot of bureaucracy
  129. stagas so it launches under their umbrella
  130. blue yes but make sure you retain the rights and are compensated properly
  131. blue also remember berlin has a tld, so you might want to get a nice tld for that. virtual.berlin or so
  132. blue these things really help :P
  133. blue https://www.united-domains.de/suchergebnis/?domain=virtual.berlin&group%5Bberlin%5D=berlin
  134. nevet Domain registrieren: Preiswert, einfach & schnell | united-domains
  135. blue damn it, that is WAY too expensive :(
  136. blue 2nd year is ok for 59 euro, but 1290 is unacceptable
  137. blue I would maybe include that (or another domain of your choosing) in the concept, and ask for money for that too, as part of marketing
  138. blue I think `virtual.berlin` would be fantastic.
  139. stagas thanks
  140. blue anyway if I can help in some way with anything, tell me. I can at least help with German if you need it
  141. stagas i will thanks a lot
  142. blue np
  143. blue 1% left... I think I'll use the limit buster
  144. blue I realised it doesn't really matter. it's just me thinking about it wrongly

Search posts