Code Monkey home page Code Monkey logo

Comments (11)

shreyasg-git avatar shreyasg-git commented on August 16, 2024

markdown मध्ये का रुपांतर करायचे आहे? जर csvला embed करायचा पर्याय नाहीये का?

from marathi-shabd.

sanketgarade avatar sanketgarade commented on August 16, 2024

@shreyasg-git markdown केलं तर website चे formatting चांगलं करता येईल. नुसती csv तशी चा तशी टाकली तर चांगली नाही दिसणार असं मला वाटतं. वरून csv मध्ये खूप कच्चा डेटा असेल. तुझा कडे काही चांगली कल्पना असेल तर सुचवं .

from marathi-shabd.

sanketgarade avatar sanketgarade commented on August 16, 2024

prerequisites -

  • have a csv file with content in en and mr columns
  • have a template markdown file for the output

steps -

  1. read the csv file
  2. create a new markdown file from the template
  3. extract the en and mr words from a row of the csv
  4. fill the extracted words in the markdown file
  5. repeat 3-4 till all rows of csv are done

from marathi-shabd.

shreyasg-git avatar shreyasg-git commented on August 16, 2024

why markdown then? we can directly make HTML from csv, It will be easier to do because markdowns are messy

from marathi-shabd.

sanketgarade avatar sanketgarade commented on August 16, 2024

is it? i don't have much idea tbh. I personally find working with md easy. but if you think html is better and you can contribute for developing it then we decide for it. also converting from md to html (and vice versa) is possible and easy with pandoc i think (in case we have to try out both options).

from marathi-shabd.

shreyasg-git avatar shreyasg-git commented on August 16, 2024

If we figure out some way to convert csv to html directly using JS then that will be the best...but I think we dont have to stick to HTML tables...we can make our own components which will give us more flexibility in case of colors, styles etc

from marathi-shabd.

sanketgarade avatar sanketgarade commented on August 16, 2024

I was actually considering to do this using python since I have some exp with it. Also the target is to keep it extremely lightweight, basic and simple like this website.

from marathi-shabd.

shreyasg-git avatar shreyasg-git commented on August 16, 2024

How are you planning to do this with Python? I am not sure if we can run python in browser so we will have setup backend for running python ?

from marathi-shabd.

sanketgarade avatar sanketgarade commented on August 16, 2024
  • Python will simply be used to create the markdown files from the csv raw data. (This is the crux of the coding part.)
  • the static web pages (HTML pages) will then be created using a static site builder (GitHub pages uses Jekyll I think) and the previously created MD files.
  • The website will then be hosted on GitHub pages.

There will be no dynamic components or any code/script that will run in the browser when the website is visited. It will be completely static like the site I showed in the previous comment.

from marathi-shabd.

shreyasg-git avatar shreyasg-git commented on August 16, 2024

sounds good 👍

from marathi-shabd.

sanketgarade avatar sanketgarade commented on August 16, 2024

Closing this issue as this turned into a generic discussion. Also same points mentioned in a new issue. See #14

from marathi-shabd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.