I've been building an app for some time and I'm interested in open sourcing it. I've searched the net but I haven't found a good thorough guide on how to open source an app. So, besides choosing a place to put my code (github etc), what are some other advice you can give me in order to do it right? Thanks in advance

all 18 comments

sorted by: hot top controversial new old
[–] 15 points 7 months ago* (last edited 7 months ago) (2 children)

You should check out .gitignore templates and .gitignore file in other open source Android apps to see what needs to be published, what doesn't need to be published, and most importantly what you should not publish. You should get a couple of results when you search "gitignore android studio".

  • source
  • hideshow 2 child comments
  • [–] 9 points 7 months ago (4 children)

    Codeberg or gitlab as a source forge. Depending on how private you are, you can start a fresh git repository, then your private history won't be exposed.

    Otherwise, a license and gitignore file and you're done. Maybe a README if you fancy. And if you want to go overboard, add the apk or request for it to be put on F-Droid

  • source
  • hideshow 4 child comments
  • [–] [S] 2 points 7 months ago (2 children)

    Do I have to sign the apk? I haven't found any clear answer on that.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 8 points 7 months ago (3 children)

    @ByteMe Look at publishing it on #fdroid @fdroidorg may be of help.

  • source
  • hideshow 3 child comments
  • [–] [S] 2 points 7 months ago (2 children)

    I'm thinking about fdroid, just later

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 7 months ago (1 child)

    If you're new to Android development, before you submit to main f-droid repo, try submitting it to izzydroid repo.

    Follow their requirements but even if you miss some things, Izzy is very friendly and will guide you through the process. And then once you're done, you'll have a proper setup to submit to the main repo.

    Good luck!

  • source
  • parent
  • hideshow 1 child comment
  • [–] 5 points 7 months ago (1 child)

    Look in to what license fits your project best.

  • source
  • hideshow 1 child comment
  • [+] 3 points 7 months ago (1 child)
  • [–] 2 points 7 months ago (1 child)

    commit AGENT.md so we'd know if it was AI assisted 👀

  • source
  • hideshow 1 child comment