TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

My blog is now generated by Google Docs

398 点作者 RupertWiser大约 5 年前

49 条评论

ForrestN大约 5 年前
This is a nice idea, especially for a case where a website is collaboratively edited. I don&#x27;t love Google Docs for solo projects, and I don&#x27;t enjoy using it, but its collaborative editing features are so good and reliable that I can&#x27;t escape it. Being able to suggest and accept changes with commenting among a group of people would be really nice for a website for a collective, say.<p>That said, a bit of small, hopefully constructive feedback. The impact of this would be a bit bigger if there were more blog posts, so that by the time you reveal you&#x27;re using google docs it feels more like a practical application and less like a very quick demo. Also, while I understand that there&#x27;s a sort of &quot;coder who doesn&#x27;t do design&quot; aesthetic, it might be good to at least change the colors a bit so that there&#x27;s a bit more magic of transformation. This looks a bit too much like, well, a Google doc, and you want to establish that something cool is going on that couldn&#x27;t be done with just an index of publicly visible google docs.
评论 #23137561 未加载
评论 #23135610 未加载
评论 #23135591 未加载
评论 #23135594 未加载
ipsum2大约 5 年前
Reminds me of generating webpages from Microsoft Word. The issue is that the HTML looks pretty awful. For example, on the webpage, there&#x27;s a bunch of tags that don&#x27;t do anything and the inline style makes it difficult if you wanted to change the font family or color.<p>&lt;&#x2F;span&gt;&lt;&#x2F;p&gt;&lt;p style=&quot;padding:0;margin:0;color:#000000;font-size:11pt;font-family:&amp;quot;Arial&amp;quot;;line-height:1.15;orphans:2;widows:2;height:11pt;text-align:left&quot;&gt;&lt;span style=&quot;color:#000000;font-weight:400;text-decoration:none;vertical-align:baseline;font-size:11pt;font-family:&amp;quot;Arial&amp;quot;;font-style:normal&quot;&gt;&lt;&#x2F;span&gt;&lt;&#x2F;p&gt;&lt;p style=&quot;padding:0;margin:0;color:#000000;font-size:11pt;font-family:&amp;quot;Arial&amp;quot;;line-height:1.15;orphans:2;widows:2;text-align:left&quot;&gt;&lt;span style=&quot;color:#000000;font-weight:400;text-decoration:none;vertical-align:baseline;font-size:11pt;font-family:&amp;quot;Arial&amp;quot;;font-style:normal&quot;&gt;
评论 #23136766 未加载
评论 #23136292 未加载
评论 #23139636 未加载
avivo大约 5 年前
This is great, albeit very clunky (for reasons described others, e.g. inline CSS issues).<p>What&#x27;s amazing to me here is that I&#x27;ve gone through every single link I can find in these comments and haven&#x27;t found anything close to a plug and play approach to creating static websites generated from Google Docs (say 1 hour at most for a fairly technical person to set up; just stringing together configuration options in e.g. Netlify, Gitlab, and perhaps Google Sheets for routing).<p>This is not just academic. In the early days of the US COVID pandemic response, I helped instigate the creation of n95reuse.com — a collection of the best public information available on reusing n95 masks, which was used by a number of hospitals (now thankfully the more authoritative n95decon.org exists).<p>This worked OK as Google Doc redirected from a memorable domain, but would have been much better as a dedicated site. But there was no good way to maintain that as we were rapidly gathering feedback and suggestions from folks on the front lines, and it would have been too much overhead for our small bandwidth constrained volunteer team. Our less professional site with a long redirected URL means that less people saw this, and more healthcare workers were likely using more unsafe protocols (or were spending crucial time replicating our research; we saw this everywhere). And people likely died.<p>And this is not the first urgent project I&#x27;ve needed this sort of tool for.<p>So if someone has done this plumbing and documents it, ideally with at least one good theme, please please, let me know (see profile for contact info, or respond to the thread on this here: <a href="https:&#x2F;&#x2F;twitter.com&#x2F;metaviv&#x2F;status&#x2F;1245147106697863168" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;metaviv&#x2F;status&#x2F;1245147106697863168</a>). At some point I might figure it out myself, but have not had a chance yet.
评论 #23139752 未加载
评论 #23140114 未加载
评论 #23142297 未加载
ignoramous大约 5 年前
My first encounter with a docs -&gt; website was the now-defunct joelewis&#x27; hexopress.com. The code; however, is opensource [0].<p>There&#x27;s a dated, unmaintained Google Docs to Markdown converter [1] which can be used as a source for a static site generator like Hugo [2]. This is particular interesting since folks can style content as they normally would from within Google Docs and have it show up with the same styling on a webpage, rather than write HTML themselves.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;joelewis&#x2F;hexopress" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;joelewis&#x2F;hexopress</a><p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;mangini&#x2F;gdocs2md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mangini&#x2F;gdocs2md</a><p>[2] <a href="https:&#x2F;&#x2F;gohugo.io&#x2F;content-management&#x2F;formats&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gohugo.io&#x2F;content-management&#x2F;formats&#x2F;</a>
评论 #23135281 未加载
mikeryan大约 5 年前
It’s a bit strange hitting the google redirect notice when linking from the site.<p>You also might want to put your .idea directory and secrets in a .gitignore
评论 #23134805 未加载
评论 #23134780 未加载
评论 #23134876 未加载
elondaits大约 5 年前
I recently used Google Sheets as a CMS for a couple of projects.<p>In my case I had a server-side script which read the sheets, converted the data to JSON and saved it on a file which was then fetched by the JS client. The conversion only had to run when there were updates (e.g once a day).<p>It was really convenient in my particular case because all users where familiar with Google Sheets, already had users and passwords, and I had good granular control over permissions.
评论 #23135076 未加载
评论 #23135377 未加载
评论 #23142425 未加载
1wheel大约 5 年前
The NYT uses docs to author interactive articles that don&#x27;t fit nicely in the CMS.<p>I&#x27;ve missed that workflow a lot (comments and edits are amazing!); I just open sourced a tiny library that saves a doc as a text file.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;1wheel&#x2F;doc2txt" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;1wheel&#x2F;doc2txt</a><p><pre><code> npx doc2txt 1StMiAtcY6bY6yEIQp5pVSGdIHSnZG-kFspdmsSzAJdE --outpath gettysburg.txt</code></pre>
评论 #23137315 未加载
lkc9大约 5 年前
This isn&#x27;t directly related to the post but the root of this website is hilarious: <a href="https:&#x2F;&#x2F;benwiser.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;benwiser.com&#x2F;</a>
评论 #23135669 未加载
评论 #23134699 未加载
评论 #23135153 未加载
krm01大约 5 年前
After building a number of [1] projects that are powered by Google Docs, I recently realised that it also means that countries (like China) where Google is blocked, won&#x27;t be able to access your content.<p><a href="https:&#x2F;&#x2F;upstart.me" rel="nofollow">https:&#x2F;&#x2F;upstart.me</a> (powered by Google Docs)
评论 #23134541 未加载
sequoia大约 5 年前
&gt; I could have set up a static site generator<p>Instead of generating HTML from markdown &amp; sticking it in a template, your posts are HTML and you stick them in a template. Instead of hand-writing the HTML, you&#x27;re using an HTML WYSIWYG editor (google docs).<p>Unless I&#x27;m missing something this <i>is</i> a static site generator. And if it suits your needs that&#x27;s fantastic, sometimes I feel like markdown &amp; git tracking is overkill as well (what I do). The primary thing holding me back from this is lack of code snippets.<p>Incidentally how does it handle images?<p>My take: <a href="https:&#x2F;&#x2F;sequoia.makes.software&#x2F;lets-code-it-static-site-generator&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sequoia.makes.software&#x2F;lets-code-it-static-site-gene...</a>
magicalhippo大约 5 年前
Way back I considered using Microsoft Word as my content editor for my blog, and wrote a PHP script that converted .docx files to static HTML. To publish all I had to do was upload a new .docx file to a given directory on my shared host and wait for the script to run.<p>It converted the Word &quot;Heading 1&quot; etc styles to some CSS class, and had support for extracting inline images etc. I relied on convention for certain things like post title, and it didn&#x27;t support too fancy things in the Word document.<p>At that time .docx was rather new, so I wasn&#x27;t sure if it would stick around. Also I wasn&#x27;t sure this was the best idea ever, so I ended up with something else. But it was a fun adventure.
评论 #23135582 未加载
评论 #23135544 未加载
评论 #23135572 未加载
marvinblum大约 5 年前
You can do this with Emvi [1] too. It works like a headless CMS. I wrote a wiki for a German gaming community [2]. The project is available on GitHub [3] if anyone is interested and can easily be adopted to your own project. The articles fit a blog very well as they don&#x27;t use pages and therefor are continuous. The API spits out clean HTML.<p>[1] <a href="https:&#x2F;&#x2F;emvi.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;emvi.com&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;wiki.sts.wtf&#x2F;" rel="nofollow">https:&#x2F;&#x2F;wiki.sts.wtf&#x2F;</a><p>[3] <a href="https:&#x2F;&#x2F;github.com&#x2F;Special-Tactical-Service&#x2F;wiki" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Special-Tactical-Service&#x2F;wiki</a>
WheelsAtLarge大约 5 年前
Hey all, keep in mind that this is an experiment and the OP is therefore looking for input from users. Don&#x27;t look at it from a finished product point of view but as a starting point and give your ideas. I think this is a great solution a quick in office CMS for in house projects.
patwalls大约 5 年前
I built an app that lets you create a blog from Google docs.<p><a href="https:&#x2F;&#x2F;youdontneedwp.com" rel="nofollow">https:&#x2F;&#x2F;youdontneedwp.com</a>
评论 #23139426 未加载
评论 #23136029 未加载
city41大约 5 年前
This website: <a href="https:&#x2F;&#x2F;www.fgbg.art&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.fgbg.art&#x2F;</a>, is powered by this spreadsheet: <a href="https:&#x2F;&#x2F;docs.google.com&#x2F;spreadsheets&#x2F;d&#x2F;1W8RE885PVF2z3L9KU9LSCS3y5mpAMldAuoEfcuCcLms" rel="nofollow">https:&#x2F;&#x2F;docs.google.com&#x2F;spreadsheets&#x2F;d&#x2F;1W8RE885PVF2z3L9KU9LS...</a><p>The spreadsheet not being normalized is a bit annoying, but I could fix that if I really wanted to. All in all, I actually find using Google as a data source like this works pretty well.
评论 #23136360 未加载
评论 #23135361 未加载
soared大约 5 年前
Blot.im does this but with dropbox and its amazing. Since you use word docs instead of g docs the formatting transfers over perfectly. Super easy setup and $20&#x2F;yr. I’ve been using it for 2 or 3 years and it’s great.<p>Npzero.com is my blog if you want to see an example. There are much prettier themes you can choose from as well. I have a chrome book so sometimes I write in g docs, export to word, and upload to Dropbox’s webapp and make final adjustments in their online editor. No affiliation, just a great product.
评论 #23138549 未加载
throwawaysea大约 5 年前
Cool idea, but I worry about over reliance on Google or other big tech players, especially after their recent steps to ramp up censorship. Another example is that Medium blocked many informative COVID-19 posts recently despite them being thoughtful and necessary discussions, especially given the repeated failings of the WHO. What’s a great blog platform that features a lack of censorship or protection against censorship as a feature?
Traster大约 5 年前
So there&#x27;s a few things I&#x27;d take issue with here. Firstly, writing a static site with a little bit of CSS is easier than ever. Not only are there lots of neat CSS files that will help you, but browsers <i>actually</i> are fairly good at functioining more or less the same. There was a time that writing corect CSS was a real art, but that&#x27;s not really true as much today. Secondly, I think this is one of many examples of creating an incredibly complex solution to a trivial problem - the initial problem isn&#x27;t a problem, and linking into an incredibly hefty cloud based system just seems nuts in my opinion. Finally, who exactly is looking to try and <i>increase</i> their dependence on google?<p>I think part of my opinion comes from that latex&#x2F;vim bent, where you&#x27;re using very programmatic, specific idioms to get what you wrote, and if you&#x27;re less comfortably with that then maybe you appreciate all the work of building some google docs based on monstrosity, but the more experience I&#x27;ve gained, the more I&#x27;ve learned to use the right tool for the job. Google docs isn&#x27;t a blogging tool, so don&#x27;t use it as one.
评论 #23139921 未加载
Tade0大约 5 年前
Good work - bonus points for having it work with JS disabled - a surprising number of blogs need JS to even render for some reason.<p>A while ago was facing a similar dilemma, so I went with this:<p><a href="https:&#x2F;&#x2F;sapper.svelte.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sapper.svelte.dev&#x2F;</a><p>Plus a one-step deploy process made in Ansible by a friend of mine.<p>My take is that while Sapper isn&#x27;t exactly production-ready, it&#x27;s a otherwise competent static-site generator.<p>I write my posts in markdown and the system adds styling and modifications like target=_blank for links in a consistent manner.<p>Best thing about it is that I managed to use the experience from building my blog to help a friend who&#x27;s an artist to set up his webcomic - also a static site.<p>The friend in question knows how to use FTP but that&#x27;s about the extent of his technical skills, so the process involves him modifying a JSON file by adding an object with the comic title, flavour text and of course image URL to an array, running the generator and uploading the result.<p>The landscape of systems for this use case is pretty horrible, so this approach proved to be more pragmatic.
评论 #23139056 未加载
el_programmador大约 5 年前
God forbid if Google lifted their hands some day, can you even imagine how many million people will be impacted due to how many services ranging from emails to map apps to cloud services to web services, etc? Is it wise to give one entity power over so many things or its better to encourage a decentralized structure where multiple organizations control only bits of the pie?
评论 #23134176 未加载
评论 #23134540 未加载
评论 #23134913 未加载
评论 #23134279 未加载
评论 #23134654 未加载
butz大约 5 年前
What about just using Google Sites? They have updated UI and improved functionality quite a bit. You can even link your own domain.
评论 #23138956 未加载
obeattie大约 5 年前
I’ve been thinking about going the other way a bit recently: having bots consume input from and add their output to a Google Doc.<p>There are so many processes in most businesses which involve many humans collaborating on templatised documents. Google Docs&#x2F;Sheets fits into these workflows very well, but there’s often scope for some partial automation in there too - pulling information from databases and outside sources and keeping it in sync, etc. Developing custom web apps for each case is too much effort for too little reward, takes users out of a familiar (and well-liked) interface which updates in real-time, makes you reimplement permission models, etc.<p>Not something I’ve explored properly yet so I don’t know if the APIs are rich enough to make this easy, but I would really like to give it a look.
评论 #23135427 未加载
hawski大约 5 年前
I&#x27;m finishing up with a simplistic template for Zim wiki. That will enable me to have a website with nice Wysywig interface divorced from web bloat and limitiations, but also some of its convenience.<p><a href="https:&#x2F;&#x2F;zim-wiki.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;zim-wiki.org&#x2F;</a>
iisthesloth大约 5 年前
Love using Docs as a source. A while back I wrote a service[1] which creates an API using Google Drive and Docs as a source. Docs are naturally pages, and the Drive folder structure builds the hierarchy&#x2F;tree of pages using a pretty simple naming convention (Mainly for ordering). The CMS&#x2F;collaborative aspect is great. Some things that aren&#x27;t ideal are:<p><pre><code> - Seeing print-style page breaks in docs - Formatting images. Although, having Google host them is nice - The html Google Drive generates is inlined, inconsistent, and pretty nasty. I resorted to using markdown in Docs. </code></pre> 1. <a href="https:&#x2F;&#x2F;github.com&#x2F;psaia&#x2F;allwrite-docs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;psaia&#x2F;allwrite-docs</a>
评论 #23136519 未加载
franciscop大约 5 年前
The first version of <a href="https:&#x2F;&#x2F;makersupv.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;makersupv.com&#x2F;</a> was made with Google Drive as well:<p>- There was a spreadsheet with the list of articles and some meta-information such as publication date, &quot;published&quot; flag, etc. This was then extracted with <a href="https:&#x2F;&#x2F;github.com&#x2F;franciscop&#x2F;drive-db" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;franciscop&#x2F;drive-db</a> on a Node.js backend.<p>- Then each article was written as a single google docs document, so we could edit them collaboratively.<p>Meta: The front-end was built with <a href="https:&#x2F;&#x2F;picnicss.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;picnicss.com&#x2F;</a>, which is a library I also created for this project.
janjanson大约 5 年前
I&#x27;ve run a little round robin&#x2F;bracketed tournament website through the Google sheets JSON API once. It was a really easy way to have an interface for the organizers to update scores and players.
uniqo大约 5 年前
Hah, interesting project. I built something similar a while ago (<a href="https:&#x2F;&#x2F;github.com&#x2F;nicolas-fricke&#x2F;google-doc-blog" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nicolas-fricke&#x2F;google-doc-blog</a>) using article_json: <a href="https:&#x2F;&#x2F;github.com&#x2F;Devex&#x2F;article_json" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Devex&#x2F;article_json</a><p>With that, you also get support for embedded objects like Youtube videos and the like :)<p>Feel free to reach out for more info!
xueyongg大约 5 年前
Omg, it is quite a good idea! Was wondering if that follows the same idea as using markdown as your post, and each post is actually just a markdown file? Here&#x27;s my blog and each post is basically just a markdown file! Just wanted to share with all of you.<p><a href="https:&#x2F;&#x2F;blog.phuaxueyong.com&#x2F;post&#x2F;2020-02-29-articles-in-second-half-of-feb" rel="nofollow">https:&#x2F;&#x2F;blog.phuaxueyong.com&#x2F;post&#x2F;2020-02-29-articles-in-sec...</a>
_Chief大约 5 年前
seeing secrets.txt in the repo gave me a fright for a second and it&#x27;s not even my project
tbstbstbs大约 5 年前
Great job, thanks for sharing!<p>Some might like this adoption of the idea: I work in consulting and have to prepare presentations all of the time.<p>Therefore, I created a Powerpoint generator that uses a Google Sheet as a source: <a href="http:&#x2F;&#x2F;demo.inf.university" rel="nofollow">http:&#x2F;&#x2F;demo.inf.university</a><p>&lt;-- It doesn&#x27;t look spectacular, but it saved me really a lot of time. “Can you prepare a briefing about X,Y,Z” – “Sure, it will take -cough- about 3 days” :-)
z3t4大约 5 年前
Would be interesting with more details on how this works. Like how the URL works and how the pages are styled. Is there any services needed beside google docs, etc.
xnxn大约 5 年前
I recently learned (via Rich Harris&#x27;s recent Svelte Society Day talk[1]) that the New York Times does something like this using a custom markup language called ArchieML[2].<p>[1]: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;luM5uobewhA?t=1301" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;luM5uobewhA?t=1301</a><p>[2]: <a href="http:&#x2F;&#x2F;archieml.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;archieml.org&#x2F;</a>
factorialboy大约 5 年前
The URL to your GitLab project goes via a Google redirect. I&#x27;m guessing this in an unintentional side-effect of using Google Docs as CMS?
binocarlos大约 5 年前
Shameless plug: We&#x27;ve been working hard on <a href="https:&#x2F;&#x2F;nocode.works" rel="nofollow">https:&#x2F;&#x2F;nocode.works</a> - which turns Google docs into nice looking websites.<p>We think it&#x27;s perfect for documentation for non-technical companies who don&#x27;t know what Markdown is.
评论 #23141849 未加载
volkandkaya大约 5 年前
Shameless plug<p>I built <a href="https:&#x2F;&#x2F;versoly.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;versoly.com&#x2F;</a> you can get a blog started is less than 5 minutes.<p>I have sees a lot of folks talk about gatsby and static site generators but most never blog.<p>They spend too much time playing with style sheets etc.
andy_ppp大约 5 年前
I saw someone I was working with using Google docs for seed data, I actually think this is quite cool as long as it&#x27;s performed in two steps (pull, insert) as you still want to be able to recreate offline or should Google docs explode (or price or cancellation).
K0SM0S大约 5 年前
I&#x27;m more of a Markdown, maybe LaTeX guy myself, but 100% down with the author&#x27;s approach.<p>The simplest &quot;CI&#x2F;CD&quot;, and closest to the material (plain text files), is usually the best in practice, especially for a one-man operation.<p>Iterate into complexity on a need-to-basis.
评论 #23137081 未加载
londons_explore大约 5 年前
It would be cool if it was 100% live... Ie. with every keystroke the website is updated. Does the Google Docs API have some kind of event based notification of new keystrokes you could hook into?
评论 #23135449 未加载
madsohm大约 5 年前
I run my wishlist from a Google Sheets document. It&#x27;s a bit annoying that you can&#x27;t have gaps in rows in the spreadsheet, since fetching as JSON will only return up until the first gap.
jacquesm大约 5 年前
Have you planned for what you will do if Google shuts down your account?
syntaxing大约 5 年前
This is awesome! I have a site made with Jekyll and it took a good amount of massaging to make it look somewhat presentable. I wish there was a way to integrate with Jekyll.
donohoe大约 5 年前
Check out ArchieML which the NYTimes built for when they use Google Docs for publishing<p><a href="http:&#x2F;&#x2F;archieml.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;archieml.org&#x2F;</a>
nicexe大约 5 年前
I don&#x27;t really understand the argument against something like jekyll. There is no special styling as of now anyway so why would jekyll need any?
ErikAugust大约 5 年前
I would only worry that the Google API access changes or gets pulled altogether. Otherwise it has some benefits, including collaboration.
xadz大约 5 年前
Based on Google&#x27;s reputation of maintaining both products and API&#x27;s I think I will give this a pass.
bawana大约 5 年前
What&#x27;s wrong with blogger? You know <a href="https:&#x2F;&#x2F;www.blogger.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.blogger.com&#x2F;</a><p>Also run by Google. Also subject to all their rules. But also robust with a simple clean interface.<p>I wish there were a simple free way for me to enjoy free speech. I already pay for dropbox. Why can&#x27;t dropbox let me assign a folder in my account become a blog.
JSavageOne大约 5 年前
And this is your only blog post?
richardARPANET大约 5 年前
Shameless plug incoming... I made the equivalent but for APIs using Google Sheets :) <a href="https:&#x2F;&#x2F;sheet2api.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sheet2api.com&#x2F;</a>
评论 #23135794 未加载
评论 #23136888 未加载
评论 #23135752 未加载
评论 #23136057 未加载
lihaciudaniel大约 5 年前
&gt;wordpress (I really don’t like wordpress).<p>I really don&#x27;t like your blog