• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics in ~tildes with the tag "open source". Back to normal view / Search all groups
    1. Introducing Backtick API: An open-source, unofficial Tildes API

      Hi everyone! Today I am releasing Backtick API, an unofficial Tildes API. I originally wrote it to power Backtick but quickly realized that it could be useful for other clients and projects that...

      Hi everyone! Today I am releasing Backtick API, an unofficial Tildes API. I originally wrote it to power Backtick but quickly realized that it could be useful for other clients and projects that require Tildes data. The project is open-sourced, both because I would love community contributions and because I want to make the project as transparent as possible.

      Q: Does it require or store any user credentials?

      No. All the endpoints that are implemented scrape publicly available data that do not require any user credentials.

      Q: Will this overload Tildes?

      To prevent Backtick API from being a nuisance to Tildes, the code caches calls to Tildes for a short period of time. Depending on usage, it should reduce the number of calls to Tildes (vs a client querying Tildes directly).

      Q: How can I use it?

      A hosted version of the code is available through RapidAPI here: https://rapidapi.com/asnewman/api/backtick-api

      Q: Are there any limitations?

      To prevent the project from being abused and becoming a financial burden on myself, I'm using RapidAPI to manage usage. There is a generous free tier and a reasonably priced paid tier which will be used to cover server costs. In addition, I will be donating a portion of the paid plan revenue (my goal is 50% but will depend on load and subscription count) directly to Tildes via Github Sponsors. It's really important to me to keep this project and Tildes as sustainable as possible. I really would love to provide everything for free, but unfortunately, there are countless examples where that doesn't work out down the road.

      Of course, if you do not want to use the hosted version, you are welcome to deploy the code yourself!

      Q: Isn't scraping prone to breaking?

      Yes! Users beware! Obviously, I will try my best to fix things if the Tildes code changes in a way that breaks Backtick API, but it's definitely a possibility.

      Q: Why not just work on and contribute to creating an official Tildes API?

      An official Tildes API will always be better than something like this and I look forward to when/if it gets implemented. That being said, I'm choosing the route that would be the quickest to continue the development of the Backtick mobile app. In addition, it's also the choice that is most fun for me. To work on a Tildes API, if the powers that be even want to have one, would require lots of coordination and codebase learning, something that will take a lot of time. I highly commend anyone who chooses to take on that task, but I do too much of that kind of work for my real job 😂


      Please report any issues or feature requests through Github, this post, or the Backtick Discord server. Finally, I just want to thank everyone in the community for all the great conversations I've had, for providing helpful feedback for Backtick, and for creating a place on the internet that I very much enjoy being a part of 😊

      59 votes
    2. Open-sourcing some Tildes-related code

      Hello! Some of you may know that I have been developing an iOS client for Tildes. I’ve seen other devs like @wababa and @talklittle also working on awesome apps, and have seen some discussion...

      Hello!

      Some of you may know that I have been developing an iOS client for Tildes.

      I’ve seen other devs like @wababa and @talklittle also working on awesome apps, and have seen some discussion there around collaborating on some of the core parts (scraping the website, etc.).

      I’ve also been in touch with @efraimbart, who is working on the awesome Everything protocol project.

      I’m sure there are other devs out there that I haven’t seen, and this post is a call-out for all of you.

      Until an API is available, any similar project will face the same initial blocker: needing to scrape the website for data.

      Is there any interest from the community on collaborating on that part? For example, developing a public library that encapsulates all of the interactions with Tildes and any client can talk to with a consistent API. Or, even better, collaborating on an official API for Tildes (which is, of course, itself an open-source project).

      To that end, I’ve released some of the code I use to accomplish this in Surfboard. Maybe it can help someone build an iOS client, or inspire some of us to build a more generic solution :D. It’s far from perfect or complete, and isn’t even an actual package you can just import and use at this time, but at the very least it documents many of the endpoints and interactions.

      Have a great weekend :)

      88 votes
    3. A small WebView wrapper for Tildes

      I know a lot of people have been asking for an app, if just for a home screen/app drawer icon, so I cobbled together a small WebView wrapper that installs on your phone as an app. It's for Android...

      I know a lot of people have been asking for an app, if just for a home screen/app drawer icon, so I cobbled together a small WebView wrapper that installs on your phone as an app.

      It's for Android only (sorry iOS users) and probably will receive very little support, since I'm not an Android developer! In fact, this is just a fork of the vastly more capable woheller69's gptAssist, ported over to support Tildes and with some limiting functionality removed. Absolutely check out some of their stuff! My app and the original gptAssist are both licensed under the GPLv3. If anyone would like to contribute, please do! In fact, if you're an Android dev, feel free to fork and make it much better.

      I absolutely appreciate the design philosophy of the Tildes devs and think that a WebView wrapper is a good compromise between having an app and using the thoughtfully-built website. If you're anything like me, you just like being able to tap on an icon to get to where you're going. I put this together with that in mind.

      19 votes
    4. A bunch of updates and fixes from open-source contributors

      Over the last week, a number of updates have been made by people other than me contributing code to Tildes through its open-source repository. I wanted to make a post to highlight some of these...

      Over the last week, a number of updates have been made by people other than me contributing code to Tildes through its open-source repository. I wanted to make a post to highlight some of these changes and let everyone know about them, since there are some great updates and fixes in here:

      @deing made it possible to create links that will pre-fill the subject and message for private messages. For example: https://tildes.net/user/Deimos/new_message?subject=Test+Message&message=Please+don't+actually+send+this+to+me

      @blitz saw me make an offhand comment about a rare bug when someone submits a link to an IP address, and got a development environment set up and fixed it right away.

      @Bauke has been on a tear, fixing a lot of long-outstanding issues and adding features. So far:

      • Added a way for users to view their two-factor authentication backup codes (previously you could only see them at the time you activated 2FA).
      • Added "View Markdown" for comments and text topics. This is inside a new "More" dropdown menu, and will show you the markdown that the poster used, so that you can check how they did some formatting or copy-paste if you want to use someone else's post as a template of sorts.
      • Added new settings (under "Site behavior settings" on the Settings page) to always open links to Tildes groups and users in new tabs.
      • Fixed a few issues with inconsistent interface elements and styling.

      There are multiple more merge requests still waiting for me to review, and I'll probably be making some other posts soon once some of those get merged in as well. Thanks, the contributions are greatly appreciated! If anyone else is interested in looking into contributing, the CONTRIBUTING file in the repo is probably the best place to start.

      And as usual, I've topped everyone back up to 10 invites, accessible on the invite page.

      53 votes
    5. Tildes and Deimos appreciation & how can we help?

      Designing, coding, moderating, promoting and doing all the business admin on Tildes must be fairly thankless. But without all this effort we'd not be able to enjoy discussions with each other &...

      Designing, coding, moderating, promoting and doing all the business admin on Tildes must be fairly thankless. But without all this effort we'd not be able to enjoy discussions with each other & share all this interesting content. I don't feel that much appreciation is really shown on here (except maybe miss-voting on all Deimos' comments).

      But it is a little awkward, spurious thanks all over the place would just be noise. I thought I'd make a topic especially for people to say thanks in. I'm really enjoying Tildes content and discussion. Plus I'm a big believer in the goals of Tildes as laid out in the docs.

      So I'd like to say a big thank you to Deimos and other useful contributors! Thanks for making the site we have to use today and dreaming of the hopefully better possible site we'll see in the future.

      I'm also hoping to start a discussion on what enthusiastic Tildes users can do to most usefully help make Tildes good now and better in the future.

      A list of stuff we can do:

      • Obviously posting lots of good content and interesting discussions. Voting honestly and using comment labels judiciously.

      • You can donate and currently we can see Tildes Patreon is at $375 a month. Deimos posted some more figures recently.

      • We all regularly get invite codes and bringing in more people who can get excited (and maybe also help) is obviously good.

      • The issue tracker and bug reports are all public so you can make suggestions, vote or comment on existing ones and perhaps more usefully see if you can work out how to reproduce reported bugs.

      • As of a bit over two months ago Tildes is open source. This means you can track down bugs from the issue tracker or even contribute code for new features.

      RFC:

      So are other people liking Tildes? What is it you like? Are you excited enough to want to help out?

      Also is there anything useful users can do I've missed? In these already mentioned areas what's actually most useful to do? Are some things of negative use? Could Deimos change his process to make more use of community help? Is there anything Deimos could delegate that people would be willing to volunteer on? Gitlab Walmart greeter would be cool but is anyone willing to do it?

      42 votes
    6. Feedback and future development of Tildes Extended

      It's been a while since I've managed to follow the development of the Tildes community so I don't know how many invite waves we've had since then. For the uninitiated, back in the first 30 days (I...

      It's been a while since I've managed to follow the development of the Tildes community so I don't know how many invite waves we've had since then.

      For the uninitiated, back in the first 30 days (I think?) I started a plugin project for Chrome and Firefox that is meant to be the "reddit enhancement suite" light but for tildes. A sort of Tildes Companion (that would have been another good name, damn).

      Anyway, after an initial 2-3 weeks of furious development, some of it with the help of the good @Bauke, I've had to slow down quite a bit due to a big workload coming in at my company. After that I've had several family issues to deal with... to cut it short I neglected my beloved little code monster and today I saw not one, but two PM on tildes, asking me if I basically was alive and well :P

      So I thought that maybe it was the moment to ask for a feedback and, eventually, help.

      For reference, this is the github page.


      If you'd like to take part in the project you should know that:

      • It's written using jquery
        I thought of using other libraries or pure js but in the end it was the better compromise between spreaded knowledge and ease of use. Even if it's not the faster or lighter, taking up jquery is relatively easy compared to other libraries.
      • You have to have a minimum understanding of how plugins works for both chrome and firefox
        I started it after a long hiatus (I think 8 years) between this and the previous plugin I wrote, so if I could do it, you can as well :)
      • If you want to have access to the publishing / code review / merge features, you have to show me a decent understanding of code design
        I'm not particularly picky but I'd like to be sure that the plugins doesn't go live with lots of spaghetti code. There are already a couple of points in which I wanted to review and rewrite some code and I'd like to know that whoever will take responsability for the code quality, is at least concerned with quality as much as I am.

      To discuss further technical details please, come on slack (you don't have to even install it, you can use the web client).


      What I'd like to discuss here with you, is if in your opinion, there is still interest in this project or not. From the end-user point of view.

      To have a structured data of the feedback, please use this form. The same form will have a section in case you can/want to help.

      Thank you, anyway, for any input.

      43 votes
    7. The Tildes code is now open-sourced

      Disclaimer: this post/information will probably only be interesting to more technical people It's long overdue, but Tildes is now open-sourced: https://gitlab.com/tildes/tildes There's still a ton...

      Disclaimer: this post/information will probably only be interesting to more technical people

      It's long overdue, but Tildes is now open-sourced: https://gitlab.com/tildes/tildes

      There's still a ton to do in terms of writing more documentation, filling out the issue tracker with known issues/plans and so on, but it should be ready enough to get started.

      I'm planning to make a post on the Tildes blog tomorrow or Thursday announcing this more formally, but I'd like to keep it a bit quiet until then, in case there are any issues or major gaps in the docs discovered when some of you start looking at it. I'd especially appreciate it if any of you would like to try setting up a local development version and let me know how it goes, and if the instructions all make sense.

      There are two new pages on the docs site as part of this as well:

      • Development Setup - describes how to do the initial setup necessary to get a local development version of the site running
      • Development - a general page with information and instructions related to a lot of aspects of site development. It's very scattered right now and I intend to split it into multiple pages eventually, but that will require some more work on the blog to support being able to organize it well. There are still some definite gaps in here, but it should describe most of the major pieces.

      I'd appreciate any feedback about the documents, code, etc. As mentioned, I'd be especially grateful if some of you want to try setting up a local development version by following my instructions, and give feedback about if any parts of the process are unclear, incomplete, or otherwise need more work. Please feel free to ask any questions you have as well.

      235 votes
    8. Looking to chat? I've created an (unofficial) Tildes community Matrix room!

      #tildes:matrix.org So there are many, many Matrix clients but the most popular one seems to be Riot which is available on iOS, Android (F-Droid, Play Store), and as a web app which you can join by...

      #tildes:matrix.org

      So there are many, many Matrix clients but the most popular one seems to be Riot which is available on iOS, Android (F-Droid, Play Store), and as a web app which you can join by clicking the link above.

      It's similar to Discord in the features it offers, but being open source I thought it might be more in the spirit of Tildes than some of the proprietary alternatives.

      That being said I'll be the first to admit Riot is a bit rough around the edges and Matrix seems to be under both heavy load and development. If there's demand for it I should be able to get a dedicated server up since it's an optionally federated service.

      Oh, and as a bonus the Matrix chat links with the Tildes IRC channels (#tildes and ##tildes) on freenode, so there's that. (Thanks @tyil)

      Don't forget to visit @Kat's wonderful ~tech wiki for links to other options such as Discord and Telegram if them's more your fancy.

      Happy wordsing!

      23 votes
    9. Tildes Extended

      I posted about it three days ago but in these last three days I really worked my ass off to include lots of functionalities and feel like the community is missing a lot of topics... So, sorry, I...

      I posted about it three days ago but in these last three days I really worked my ass off to include lots of functionalities and feel like the community is missing a lot of topics...
      So, sorry, I won't spam this for the next days every three days but I felt like it deserved to be "bumped" in the activity feed at least once now that the default is just 24h.

      As of today, the features are:

      • management to choose which links top open in a new tab
      • button to quickly jump to new comments in a topic
      • button to quickly get back to the top of the page in topics (no, there isn't one to go to the bottom)
      • live preview of the reply/topic box
      • load external CSS to customize the UI
      • add label to users

      I'll just link to the original topic so you can have some context if you want, otherwise these are just the links to download it:


      I need feedback to know what else you'd like to see implemented or what have bugs or could be done in a different/better way!

      37 votes