topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 9:09 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Windows command-line app for Telegra.ph  (Read 6072 times)

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Windows command-line app for Telegra.ph
« on: May 17, 2021, 03:01 PM »
I have been trying to make one myself w/o any luck. I can use the API ok, but parsing json is kicking my butt. What I would like is a command-line app to access all of the telegra.ph functions available in the API here https://telegra.ph/api

Thank you!

[EDIT]

To make even more simple would be a way to create an account, post and edit pages. All the other things would be nice, but not needed.

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,612
    • View Profile
    • Donate to Member
Re: Windows command-line app for Telegra.ph
« Reply #1 on: May 17, 2021, 03:22 PM »
What programming language have you tried?
You should use the best tool for the job:
Most suitable to process would be JS (Javascript), as that's what the first 2 letters of the word JSON come from... Node.js should be the way to go for a command-line tool.
Next choice up (assuming a Windows OS) should be C#/.NET as that makes it very easy using one of the JSON libraries (NewtonSoft comes to mind)
And the runner up would probably be Java, but there are some that don't like that (for probably the wrong reasons), where also plenty of libraries are available, org.json and Google GSON are popular choices.

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: Windows command-line app for Telegra.ph
« Reply #2 on: May 17, 2021, 03:31 PM »
The only language I really know is Visual Dialogscript, not a well known language. I'm afraid my brain is not as young as it used to be and learning another language is not really an option. I did try learning and using Autohotkey, but again not luck.

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: Windows command-line app for Telegra.ph
« Reply #3 on: May 17, 2021, 09:55 PM »
@C.

Ath is right. I can do it cross-platform in either Node/Javascript or .NET/C# (your call).

Do bear in mind I’m doing “regular” work this week along with finishing several Public Domain proggies. If you aren’t in a rush, I’m totally in to assist! :)
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,612
    • View Profile
    • Donate to Member
Re: Windows command-line app for Telegra.ph
« Reply #4 on: May 18, 2021, 12:29 AM »
I did try learning and using Autohotkey, but again not luck.
-c.gingerich (May 17, 2021, 03:31 PM)
That is not the easiest one to start with because of its somewhat cryptic syntax; I've dabbled in AutoIt3, but AHK has been a real challenge and I've never really picked that one up (even though I've done quite a few programming languages).

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: Windows command-line app for Telegra.ph
« Reply #5 on: May 18, 2021, 06:57 AM »
Thank you @publicdomain, that would be great! And no rush, .NET/C# will work nicely  :up:

@C.

Ath is right. I can do it cross-platform in either Node/Javascript or .NET/C# (your call).

Do bear in mind I’m doing “regular” work this week along with finishing several Public Domain proggies. If you aren’t in a rush, I’m totally in to assist! :)
-publicdomain (May 17, 2021, 09:55 PM)

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: Windows command-line app for Telegra.ph
« Reply #6 on: May 18, 2021, 10:02 AM »
Thank you @publicdomain Vic
-c.gingerich (May 18, 2021, 06:57 AM)

Feel free to call me Vic! :) We're all fellows here.

.NET/C# will work nicely
-c.gingerich (May 18, 2021, 06:57 AM)

Traditional .exe it is :up: Got any name in mind for the repo/program?

Cheers!
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: Windows command-line app for Telegra.ph
« Reply #7 on: May 18, 2021, 10:49 AM »
Thanks Vic!  :)

As for a name, Something random and off the wall I was thinking is: Cherry Turtle. But since you are coding it, it's up to you.  :D

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: Windows command-line app for Telegra.ph
« Reply #8 on: May 26, 2021, 03:09 PM »
My pleasure! :)

As for a name, Something random and off the wall I was thinking is: Cherry Turtle. But since you are coding it, it's up to you.  :D
-c.gingerich (May 18, 2021, 10:49 AM)

GingerTG it is!  :up:

Code repo: https://github.com/publicdomain/gingertg
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: Windows command-line app for Telegra.ph
« Reply #9 on: May 26, 2021, 04:11 PM »
My pleasure! :)

As for a name, Something random and off the wall I was thinking is: Cherry Turtle. But since you are coding it, it's up to you.  :D
-c.gingerich (May 18, 2021, 10:49 AM)

GingerTG it is!  :up:

Code repo: https://github.com/publicdomain/gingertg
-publicdomain (May 26, 2021, 03:09 PM)

Sweet, Looking forward to it! :-)

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: Windows command-line app for Telegra.ph
« Reply #10 on: June 20, 2021, 10:52 AM »
Hey Vic. Just wanted to check in on the progress :)

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: Windows command-line app for Telegra.ph
« Reply #11 on: June 21, 2021, 05:19 AM »
Hey Vic. Just wanted to check in on the progress :)

Hi C.! A humble first version should be seeing the light to close the month :up:
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: Windows command-line app for Telegra.ph
« Reply #12 on: June 21, 2021, 07:31 AM »
Hey Vic. Just wanted to check in on the progress :)

Hi C.! A humble first version should be seeing the light to close the month :up:
-publicdomain (June 21, 2021, 05:19 AM)

OK, thanks for the update!