DEV Community

Discussion on: Simplicity to the Rescue (My New Personal Site)

Collapse
 
fultonbrowne profile image
Fulton Browne

love it! but what if you you could use the curl command and get that as an output?

Collapse
 
gypsydave5 profile image
David Wickes

That would be nice! You could use content negotiation to serve up plain text if Accept-Content is set to text/plain and html for text/html.

Would depend on the site not being static though, which rather defeats the point of the simplicity...

Collapse
 
fultonbrowne profile image
Fulton Browne

Fair. What system do you run your setup on?

Thread Thread
 
tttfifo profile image
Todor Todorov

This is an Ubuntu machine for my personal projects. I really like to work at the command line, sometimes I do not start the GUI at all. Part of the reasons - I do not have any distractions while working. The other part - you can work on whatever hardware you want (old, slow PC is enough).

Thread Thread
 
fultonbrowne profile image
Fulton Browne

i have to use intellij sooooo no command line for me :(

Thread Thread
 
tttfifo profile image
Todor Todorov

Poor FultonB :( You can use it at home sometimes...

Thread Thread
 
fultonbrowne profile image
Fulton Browne

I have a raspi at home that only does command line I will have to turn that on and learn

Thread Thread
 
tttfifo profile image
Todor Todorov

Yes, raspberry should be perfect for this vim setup. I have one forgotten in my locker at the office - I will try to set it up and see if OK for production use...

 
gypsydave5 profile image
David Wickes
  • Deployed to an S3 bucket which hosts the static site using a Makefile.
  • Built using a custom generator what I wrote in Go (but could easily be pandoc I guess)
  • Written with vanilla vim. Or Emacs. Or acme. Depends on my mood.
  • Running on ... well, it depends. If I'm at work it's the MacBook. If I'm at home it's a much older MacBook running either Fedora or Slackware.
Collapse
 
tttfifo profile image
Todor Todorov

Hi David,

Unfortunately the site is static, but there is a workaround, this command works flawlessly:

$ curl ttt-fifo.github.io/ 2>/dev/null | tail -124 | head -116

Thank you, this is real fun :)

Cheer

Collapse
 
tttfifo profile image
Todor Todorov

LoL, haha, I just tried it with curl, it comes out pretty decent :)
But it is best viewed with 'lynx' browser :)

Thank you, FultonB, really nice idea :)

Collapse
 
fultonbrowne profile image
Fulton Browne

thanks for the suggestion I have never seen that browser (I don't really use the command line as a frontend android developer) but i will try it.

Thread Thread
 
tttfifo profile image
Todor Todorov

lynx does not understand java script.
I think it is coming from the age of the dinosaurs :)
No frontend developer should know anything about lynx, do not worry...